Commit 018a9b70 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

crash fix

parent 852b1b3d
...@@ -1500,7 +1500,7 @@ int main(int argc, char **argv) ...@@ -1500,7 +1500,7 @@ int main(int argc, char **argv)
else else
{ {
row = mysql_fetch_row(master); row = mysql_fetch_row(master);
if(row[0] && row[1]) { if(row && row[0] && row[1]) {
fprintf(md_result_file, fprintf(md_result_file,
"\n--\n-- Position to start replication from\n--\n\n"); "\n--\n-- Position to start replication from\n--\n\n");
fprintf(md_result_file, fprintf(md_result_file,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment