This commit is contained in:
agapple
2016-02-04 11:22:36 +08:00
parent 37478f3409
commit bf10b16138
3 changed files with 5 additions and 22 deletions

View File

@@ -700,23 +700,6 @@ public class MysqlEventParser extends AbstractMysqlEventParser implements CanalE
}
}
// protected Entry parseAndProfilingIfNecessary(LogEvent bod) throws Exception {
// long startTs = -1;
// boolean enabled = getProfilingEnabled();
// if (enabled) {
// startTs = System.currentTimeMillis();
// }
// CanalEntry.Entry event = binlogParser.parse(bod);
// if (enabled) {
// this.parsingInterval = System.currentTimeMillis() - startTs;
// }
//
// if (parsedEventCount.incrementAndGet() < 0) {
// parsedEventCount.set(0);
// }
// return event;
// }
public void setSupportBinlogFormats(String formatStrs) {
String[] formats = StringUtils.split(formatStrs, ',');
if (formats != null) {