diff options
author | unknown <brian@piggy.tangent.org> | 2007-08-20 13:25:53 -0700 |
---|---|---|
committer | unknown <brian@piggy.tangent.org> | 2007-08-20 13:25:53 -0700 |
commit | ffc7ef56a3f75cb60fb5c276862b6214354c464b (patch) | |
tree | 11d99899e13c4e310d5944dff64bc1caf880a1c6 /client/mysqlslap.c | |
parent | 73c60e9db017150c2c42b7b3c9fa7cb57f0b503f (diff) | |
parent | a56ade56ab9695a465ae5c9d08b36fd3056f85ce (diff) | |
download | mariadb-git-ffc7ef56a3f75cb60fb5c276862b6214354c464b.tar.gz |
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch
into piggy.tangent.org:/home/mysql/trees/mysql-5.1-arch
Diffstat (limited to 'client/mysqlslap.c')
-rw-r--r-- | client/mysqlslap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c index 4578e0e4e0c..0eb3bcfd41f 100644 --- a/client/mysqlslap.c +++ b/client/mysqlslap.c @@ -1813,6 +1813,13 @@ limit_not_met: { mysql_close(mysql); + if (!(mysql= mysql_init(NULL))) + { + fprintf(stderr,"%s: mysql_init() failed ERROR : %s\n", + my_progname, mysql_error(mysql)); + exit(0); + } + if (slap_connect(mysql)) goto end; } |