Commit 1489ab7d authored by unknown's avatar unknown

Fix bug #3181: insert_test client test missing mysql_init

parent 04e879e7
...@@ -33,6 +33,7 @@ int main(int argc, char **argv) ...@@ -33,6 +33,7 @@ int main(int argc, char **argv)
exit(1); exit(1);
} }
mysql_init(&mysql);
if (!(sock = mysql_real_connect(&mysql,NULL,NULL,NULL,argv[1],0,NULL,0))) 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)); fprintf(stderr,"Couldn't connect to engine!\n%s\n",mysql_error(&mysql));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment