summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorjimw@rama.(none) <>2006-08-31 20:53:34 -0700
committerjimw@rama.(none) <>2006-08-31 20:53:34 -0700
commitbd2825f5bb7ab06a2f0b73afc8e58f1367687d51 (patch)
treeb2821b90d3d2d59fc35d892d93fd249c5ba7af8e /client/mysqldump.c
parent5884eea9a32a4cb44e6e4251d2deeeab39906d52 (diff)
downloadmariadb-git-bd2825f5bb7ab06a2f0b73afc8e58f1367687d51.tar.gz
Restore bug fix lost in merge of client/mysqldump.c, and clean up mysqldump.test
so that 4.1 and 5.0 tests are all in the right place and no tests are duplicated.
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 990253aa48c..d6f89022e32 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -882,6 +882,7 @@ static int mysql_query_with_error_report(MYSQL *mysql_con, MYSQL_RES **res,
fprintf(stderr, "%s: Couldn't execute '%s': %s (%d)\n",
my_progname, query,
mysql_error(mysql_con), mysql_errno(mysql_con));
+ safe_exit(EX_MYSQLERR);
return 1;
}
return 0;