Skip to content

Commit c784277

Browse files
committed
move the error message where it belongs
1 parent 496cea4 commit c784277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/slave.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ int init_slave()
385385
{
386386
delete active_mi;
387387
active_mi= 0;
388+
sql_print_error("Failed to allocate memory for the Master Info structure");
388389
goto err;
389390
}
390391

@@ -446,7 +447,6 @@ int init_slave()
446447
DBUG_RETURN(error);
447448

448449
err:
449-
sql_print_error("Failed to allocate memory for the Master Info structure");
450450
error= 1;
451451
goto end;
452452
}

0 commit comments

Comments
 (0)