summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorgluh@gluh.mysql.r18.ru <>2004-03-29 18:10:59 +0500
committergluh@gluh.mysql.r18.ru <>2004-03-29 18:10:59 +0500
commit9832571c1efaf060ed0e33e55ef93f34cebe931f (patch)
tree0bc32ec52ad1721943e71ed0ab029bc5a3bdae93 /client
parentc81bf339c2d9738e4b28cb8a319f50d31671c590 (diff)
downloadmariadb-git-9832571c1efaf060ed0e33e55ef93f34cebe931f.tar.gz
Fix bug #3181: insert_test client test missing mysql_init
Diffstat (limited to 'client')
-rw-r--r--client/insert_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/insert_test.c b/client/insert_test.c
index 42691df6875..052c12bfdf0 100644
--- a/client/insert_test.c
+++ b/client/insert_test.c
@@ -33,6 +33,7 @@ int main(int argc, char **argv)
exit(1);
}
+ mysql_init(&mysql);
if (!(sock = mysql_real_connect(&mysql,NULL,NULL,NULL,argv[1],0,NULL,0)))
{
fprintf(stderr,"Couldn't connect to engine!\n%s\n",mysql_error(&mysql));