MDEV-9969 mysql_install_db error processing ignore_db_dirs.

Changes to the mysql_install_db scripts so they don't repeat
        arguments twice.
This commit is contained in:
Alexey Botchkov 2016-06-16 13:41:45 +04:00
parent 0e50b92482
commit b21e7af20e
2 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ sub quote_options {
##############################################################################
my $opt = {};
parse_arguments($opt, 'PICK-ARGS-FROM-ARGV', @ARGV);
parse_arguments($opt, @ARGV);
# ----------------------------------------------------------------------
# We can now find my_print_defaults. This script supports:

View File

@ -216,7 +216,7 @@ cannot_find_file()
# Ok, let's go. We first need to parse arguments which are required by
# my_print_defaults so that we can execute it first, then later re-parse
# the command line to add any extra bits that we need.
parse_arguments PICK-ARGS-FROM-ARGV "$@"
parse_arguments "$@"
#
# We can now find my_print_defaults. This script supports: