forked from mirror/ledisdb
ledis-load update
This commit is contained in:
parent
39e28b7f17
commit
e8e3f6324b
|
@ -73,7 +73,7 @@ func loadDump(cfg *ledis.Config, ldb *ledis.Ledis) error {
|
|||
|
||||
//master enable binlog, here output this like mysql
|
||||
if head.LogFileIndex != 0 && head.LogPos != 0 {
|
||||
format := "-- CHANGE MASTER TO MASTER_LOG_FILE='binlog.%07d', MASTER_LOG_POS=%d;\n"
|
||||
format := "MASTER_LOG_FILE='binlog.%07d', MASTER_LOG_POS=%d;\n"
|
||||
fmt.Printf(format, head.LogFileIndex, head.LogPos)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue