添加dml过滤判断

修复parseRowsEvent方法中没有dml过滤的判断而导致dml操作的数据总是会输出到store中的bug
This commit is contained in:
zhangyukun
2016-02-24 21:18:01 +08:00
parent 4f504aab31
commit 6b9c1305ff

View File

@@ -305,6 +305,9 @@ public class LogEventConvert extends AbstractCanalLifeCycle implements BinlogPar
}
private Entry parseRowsEvent(RowsLogEvent event) {
if (filterQueryDml) {
return null;
}
try {
TableMapLogEvent table = event.getTable();
if (table == null) {