Skip to content

Commit 816b198

Browse files
committed
CDAP-21037 : support GTID OFF_PERMISSIVE
1 parent d8b4206 commit 816b198

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)