summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-10-13 00:19:54 +0200
committerSergei Golubchik <serg@mariadb.org>2019-10-14 10:29:30 +0200
commitf7b8d1449046a9f36618435c972d7ca8b961b540 (patch)
tree44c9a44de1fd031e039f7a80783eb262198812d8 /sql-common
parent3e56972712395d371f82cda564b039dcbda3100a (diff)
downloadmariadb-git-f7b8d1449046a9f36618435c972d7ca8b961b540.tar.gz
cleanup: don't use my_getopt_is_args_separator()
only my_getopt should use it, because it changes my_getopt's behavior. If one simply wants to skip the separator - don't ask it to be added in the first place
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 0546188f4d5..e0734b7dc18 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -854,8 +854,6 @@ void mysql_read_default_options(struct st_mysql_options *options,
char **option=argv;
while (*++option)
{
- if (my_getopt_is_args_separator(option[0])) /* skip arguments separator */
- continue;
/* DBUG_PRINT("info",("option: %s",option[0])); */
if (option[0][0] == '-' && option[0][1] == '-')
{