Skip to content

Commit 8af8e98

Browse files
authored
Merge pull request #267 from data-integrations/cherry_CDAP-21037_gtid_fix
[cherry-pick][CDAP-21037][cdap-6.10] : support GTID OFF_PERMISSIVE
2 parents d8b4206 + 816b198 commit 8af8e98

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)