提交 bba800eb 编写于 作者: W winger

修复开启gtid时,同时开启tsdb后gtid 属性丢失的问题

上级 7c63e81e
......@@ -813,7 +813,9 @@ public class MysqlEventParser extends AbstractMysqlEventParser implements CanalE
}
if (logPosition.getPostion() != null) {
return logPosition.getPostion();
EntryPosition position = logPosition.getPostion();
position.setGtid(endPosition.getGtid());
return position;
} else {
return null;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册