summaryrefslogtreecommitdiff
path: root/client/insert_test.c
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2001-07-10 15:53:08 +0300
committermonty@tik.mysql.fi <>2001-07-10 15:53:08 +0300
commitfc81fdb4ba76c25bb387ede8fd879a4392ea783e (patch)
tree6c8e56d350fb233a41c963d85544d41c0151c8ec /client/insert_test.c
parentca771c46bbe5e9ea7742902f9116f3e210e92fea (diff)
downloadmariadb-git-fc81fdb4ba76c25bb387ede8fd879a4392ea783e.tar.gz
Redefinition of myisam_bulk_insert_tree_size
Removed new error message Fixed test case for varbinary Threads are again killable in "merge_buffers" Cleanup of sql_repl.cc SHOW OPEN TABLES now works when no tables are opened
Diffstat (limited to 'client/insert_test.c')
-rw-r--r--client/insert_test.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/client/insert_test.c b/client/insert_test.c
index 640935d63b2..82609f68e4e 100644
--- a/client/insert_test.c
+++ b/client/insert_test.c
@@ -34,19 +34,13 @@ int main(int argc, char **argv)
exit(1);
}
- if (!(sock = mysql_connect(&mysql,NULL,0,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));
perror("");
exit(1);
}
- if (mysql_select_db(sock,argv[1]))
- {
- fprintf(stderr,"Couldn't select database %s!\n%s\n",argv[1],
- mysql_error(sock));
- }
-
num = atoi(argv[2]);
count = 0;
while (count < num)