Skip to content

Commit 4730dd1

Browse files
author
Nirbhay Choubey
committed
Bug#12688860 - SECURITY RECOMMENDATION: PASSWORDS ON CLI
Additional fix : Added a comment to explain variable my_getopt_use_args_separator.
1 parent 7014aad commit 4730dd1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mysys/default.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ inline static void set_args_separator(char** arg)
7373
DBUG_ASSERT(my_getopt_use_args_separator);
7474
*arg= (char*)args_separator;
7575
}
76+
77+
/*
78+
This flag indicates that the argument separator string
79+
(args_separator) should be added to the list of arguments,
80+
in order to separate arguments received from config file
81+
and command line.
82+
*/
7683
my_bool my_getopt_use_args_separator= FALSE;
7784
my_bool my_getopt_is_args_separator(const char* arg)
7885
{

0 commit comments

Comments
 (0)