summaryrefslogtreecommitdiff
path: root/client/mysqlslap.c
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2009-11-17 15:27:40 +0400
committerAlexey Botchkov <holyfoot@mysql.com>2009-11-17 15:27:40 +0400
commit12043816fa127d4e80801bc4743f4c6bdc5b6364 (patch)
tree6b7a74d4ca5d8a84274ea7033d217f86ce4737a8 /client/mysqlslap.c
parentf4000a67e92ea4f2501f51aa3d51afed0a7d9bfa (diff)
parentde7619823d3846fa514d7f540a7e5af898b142a8 (diff)
downloadmariadb-git-12043816fa127d4e80801bc4743f4c6bdc5b6364.tar.gz
merging.
Diffstat (limited to 'client/mysqlslap.c')
-rw-r--r--client/mysqlslap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c
index f13b5099766..fcfd525bba7 100644
--- a/client/mysqlslap.c
+++ b/client/mysqlslap.c
@@ -299,7 +299,11 @@ int main(int argc, char **argv)
MY_INIT(argv[0]);
- load_defaults("my",load_default_groups,&argc,&argv);
+ if (load_defaults("my",load_default_groups,&argc,&argv))
+ {
+ my_end(0);
+ exit(1);
+ }
defaults_argv=argv;
if (get_options(&argc,&argv))
{