summaryrefslogtreecommitdiff
path: root/client/mysqltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqltest.c')
-rw-r--r--client/mysqltest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 26e72560eff..a3b5facae9c 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -1014,7 +1014,8 @@ int do_sync_with_master2(const char* p)
if (!(row = mysql_fetch_row(res)))
die("line %u: empty result in %s", start_lineno, query_buf);
if (!row[0])
- die("Error on slave while syncing with master");
+ die("line %u: could not sync with master ('%s' returned NULL)",
+ start_lineno, query_buf);
mysql_free_result(res);
last_result=0;
if (rpl_parse)