From e8e3f6324bc16ae9bd95b75c01833c47f99b3666 Mon Sep 17 00:00:00 2001 From: siddontang Date: Sun, 20 Jul 2014 16:16:12 +0800 Subject: [PATCH] ledis-load update --- cmd/ledis-load/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ledis-load/main.go b/cmd/ledis-load/main.go index 6d7ef6e..0995b29 100644 --- a/cmd/ledis-load/main.go +++ b/cmd/ledis-load/main.go @@ -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) }