summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <joerg@trift2.>2008-03-14 14:32:01 +0100
committerunknown <joerg@trift2.>2008-03-14 14:32:01 +0100
commited86d34b6d4f518807b6deacf03d6992abee5099 (patch)
tree61578e5a77309a730b90cace8e461e0a3223bb26 /client
parent51f198447beb8e656b542f3a356e0093591f5b72 (diff)
parentf20fe94b55727fbc69b1cb86af5dc96f216bdd87 (diff)
downloadmariadb-git-ed86d34b6d4f518807b6deacf03d6992abee5099.tar.gz
Merge trift2.:/MySQL/M50/mysql-5.0
into trift2.:/MySQL/M50/push-5.0 client/mysqldump.c: Auto merged
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc1
-rw-r--r--client/mysqldump.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 0a1c1954ea2..483b1829ec0 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1125,6 +1125,7 @@ int main(int argc,char *argv[])
}
if (mysql_server_init(emb_argc, emb_argv, (char**) server_default_groups))
{
+ put_error(NULL);
free_defaults(defaults_argv);
my_end(0);
exit(1);
diff --git a/client/mysqldump.c b/client/mysqldump.c
index fdaf8a9727b..364e80ee56b 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -3306,6 +3306,7 @@ static int do_show_master_status(MYSQL *mysql_con)
my_printf_error(0, "Error: Binlogging on server not active",
MYF(0));
mysql_free_result(master);
+ maybe_exit(EX_MYSQLERR);
return 1;
}
mysql_free_result(master);