fixed issue #440, enableTsdb

This commit is contained in:
agapple
2017-12-08 23:21:40 +08:00
parent 912f5db2c7
commit 5aed505429

View File

@@ -159,11 +159,12 @@ public abstract class AbstractMysqlEventParser extends AbstractEventParser {
public void setTsdbSpringXml(String tsdbSpringXml) {
this.tsdbSpringXml = tsdbSpringXml;
if (this.enableTsdb) {
if (tableMetaTSDB == null) {
// 初始化
tableMetaTSDB = TableMetaTSDBBuilder.build(destination, tsdbSpringXml);
}
}
}
}