Skip to content

Commit 8ec3218

Browse files
authored
Merge pull request #263 from data-integrations/CDAP-21037_gtidfix
CDAP-21037 : support GTID OFF_PERMISSIVE
2 parents 3e9beb2 + 7ed2296 commit 8ec3218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-delta-plugins/src/main/java/io/debezium/connector/mysql/legacy/MySqlJdbcContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public boolean isGtidModeEnabled() {
221221
throw new ConnectException("Unexpected error while connecting to MySQL and looking at GTID mode: ", e);
222222
}
223223

224-
return !"OFF".equalsIgnoreCase(mode.get());
224+
return "ON".equalsIgnoreCase(mode.get());
225225
}
226226

227227
/**

0 commit comments

Comments
 (0)