diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-07-27 12:43:03 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-07-27 12:43:03 +0200 |
commit | c784277590bad3a0d869ca51c03cbce897125924 (patch) | |
tree | 899d75eb11e74fc45e7892c02ce4a930d74a5311 /sql/slave.cc | |
parent | 496cea45e2fa56f7a4e28bf0e550362c4fc071e5 (diff) | |
download | mariadb-git-c784277590bad3a0d869ca51c03cbce897125924.tar.gz |
move the error message where it belongs
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index b00bee5acee..45af5fcd337 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -385,6 +385,7 @@ int init_slave() { delete active_mi; active_mi= 0; + sql_print_error("Failed to allocate memory for the Master Info structure"); goto err; } @@ -446,7 +447,6 @@ end: DBUG_RETURN(error); err: - sql_print_error("Failed to allocate memory for the Master Info structure"); error= 1; goto end; } |