Commit c7842775 authored by Sergei Golubchik's avatar Sergei Golubchik

move the error message where it belongs

parent 496cea45
...@@ -385,6 +385,7 @@ int init_slave() ...@@ -385,6 +385,7 @@ int init_slave()
{ {
delete active_mi; delete active_mi;
active_mi= 0; active_mi= 0;
sql_print_error("Failed to allocate memory for the Master Info structure");
goto err; goto err;
} }
...@@ -446,7 +447,6 @@ int init_slave() ...@@ -446,7 +447,6 @@ int init_slave()
DBUG_RETURN(error); DBUG_RETURN(error);
err: err:
sql_print_error("Failed to allocate memory for the Master Info structure");
error= 1; error= 1;
goto end; goto end;
} }
......
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