Skip to content

Commit

Permalink
Merge pull request #263 from data-integrations/CDAP-21037_gtidfix
Browse files Browse the repository at this point in the history
CDAP-21037 : support GTID OFF_PERMISSIVE
  • Loading branch information
sahusanket authored May 27, 2024
2 parents 3e9beb2 + 7ed2296 commit 8ec3218
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public boolean isGtidModeEnabled() {
throw new ConnectException("Unexpected error while connecting to MySQL and looking at GTID mode: ", e);
}

return !"OFF".equalsIgnoreCase(mode.get());
return "ON".equalsIgnoreCase(mode.get());
}

/**
Expand Down

0 comments on commit 8ec3218

Please sign in to comment.