adapter rdb无法同步ddl更新问题修正

adapter/support/MessageUtil.java
This commit is contained in:
jiucheng
2019-02-20 09:49:15 +08:00
parent 62338a945e
commit 8cadd585c6

View File

@@ -37,6 +37,7 @@ public class MessageUtil {
CanalEntry.EventType eventType = rowChange.getEventType();
final Dml dml = new Dml();
dml.setIsDdl(rowChange.getIsDdl());
dml.setDestination(destination);
dml.setGroupId(groupId);
dml.setDatabase(entry.getHeader().getSchemaName());