RecordTxn config from boolean to int

This commit is contained in:
yanhuqing666
2016-12-15 10:31:24 +08:00
parent e33a07a13d
commit c27d78ea44
5 changed files with 7 additions and 7 deletions

View File

@@ -430,7 +430,7 @@ public class MycatServer {
}
// start transaction SQL log
if (config.getSystem().isRecordTxn()) {
if (config.getSystem().getRecordTxn() == 1) {
txnLogProcessor = new TxnLogProcessor(bufferPool);
txnLogProcessor.setName("TxnLogProcessor");
txnLogProcessor.start();