Skip to content

Commit

Permalink
[fix](jdbc catalog) Ensure Thread Safety by Refactoring isDoris&conve…
Browse files Browse the repository at this point in the history
…rtDateToNull Static Variable in JdbcMySQLClient (#24253)
  • Loading branch information
zy-kkk authored and xiaokang committed Sep 13, 2023
1 parent ecc635d commit 4741648
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

public class JdbcMySQLClient extends JdbcClient {

private static boolean convertDateToNull = false;
private static boolean isDoris = false;
private boolean convertDateToNull = false;
private boolean isDoris = false;

protected JdbcMySQLClient(JdbcClientConfig jdbcClientConfig) {
super(jdbcClientConfig);
Expand Down

0 comments on commit 4741648

Please sign in to comment.