Skip to content

Commit

Permalink
[Hotfix][Connector][Jdbc] Fix the problem of JdbcOutputFormat databas…
Browse files Browse the repository at this point in the history
…e connection leak
  • Loading branch information
EchoLee5 committed May 22, 2023
1 parent 7d61ae9 commit 31de52a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public synchronized void close() {
flush();
} catch (Exception e) {
LOG.warn("Writing records to JDBC failed.", e);
throw new JdbcConnectorException(
flushException = new JdbcConnectorException(
CommonErrorCode.FLUSH_DATA_FAILED,
"Writing records to JDBC failed.",
e);
Expand Down

0 comments on commit 31de52a

Please sign in to comment.