summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2006-03-10 08:54:12 -0800
committerunknown <brian@zim.(none)>2006-03-10 08:54:12 -0800
commitb89bbaac9d78255d74c392abe2717a705a206482 (patch)
tree7ce3357999246753158ba3679ec4e122bc9c8f5c /client
parent8a7c1e731f22654693ccfc58f06457de76e56bf3 (diff)
downloadmariadb-git-b89bbaac9d78255d74c392abe2717a705a206482.tar.gz
This is a patch to test the default schema location.
client/mysqlslap.c: Formating mysql-test/t/mysqlslap.test: Adding test to test for using non-default database.
Diffstat (limited to 'client')
-rw-r--r--client/mysqlslap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c
index 23eba64c332..e1136bd3a69 100644
--- a/client/mysqlslap.c
+++ b/client/mysqlslap.c
@@ -295,9 +295,9 @@ int main(int argc, char **argv)
client_flag|= CLIENT_MULTI_RESULTS;
if (!opt_only_print)
{
- if (!(mysql_real_connect(&mysql,host,user,opt_password,
- argv[0],opt_mysql_port,opt_mysql_unix_port,
- client_flag)))
+ if (!(mysql_real_connect(&mysql, host, user, opt_password,
+ NULL, opt_mysql_port,
+ opt_mysql_unix_port, client_flag)))
{
fprintf(stderr,"%s: %s\n",my_progname,mysql_error(&mysql));
free_defaults(defaults_argv);