Commit 7a440f77 authored by unknown's avatar unknown

crash fix

parent 11fdb2d3
...@@ -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