Explorar el Código

Merge remote-tracking branch 'origin/xy_data'

Roc hace 1 año
padre
commit
122386b4e2
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      services/binlog/binlog.go

+ 2 - 0
services/binlog/binlog.go

@@ -154,6 +154,8 @@ func ListenMysql() {
 		return
 	}
 
+	global.FILE_LOG.Debug("记录上一次启动时的fileName:", fileName, ";position:", position)
+
 	binlogHandler := &MyEventHandler{}
 	binlogHandler.SetBinlogFileName(fileName, position)
 	c.SetEventHandler(binlogHandler)