summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Solodko <dan@mariadb.org>2020-08-11 18:02:39 +0300
committerAnel Husakovic <anel@mariadb.org>2020-12-07 10:21:38 +0100
commit47c4caf1bfe1a2edc475aad6bba945a60e9cc754 (patch)
tree3dcee94e94dea07ead70ea18b2956e9dc1802454
parentb6ce493d53fe2a825fb5fe548ff128cdb11e0fab (diff)
downloadmariadb-git-47c4caf1bfe1a2edc475aad6bba945a60e9cc754.tar.gz
mdev-22485 mysqlslap does not use current user as default
-rw-r--r--client/mysqlslap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c
index 8c53cbb421e..19544384670 100644
--- a/client/mysqlslap.c
+++ b/client/mysqlslap.c
@@ -1193,9 +1193,6 @@ get_options(int *argc,char ***argv)
if (debug_check_flag)
my_end_arg= MY_CHECK_ERROR;
- if (!user)
- user= (char *)"root";
-
/*
If something is created and --no-drop is not specified, we drop the
schema.