mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 14:45:31 +02:00
Fixed Bug#6593, "Inconsistency in handling option prefixes (--skip, --disable, etc.)"
This commit is contained in:
parent
d0eecb394d
commit
e084746626
1 changed files with 2 additions and 1 deletions
|
|
@ -205,7 +205,8 @@ int handle_options(int *argc, char ***argv,
|
|||
{
|
||||
if (!getopt_compare_strings(special_opt_prefix[i], opt_str,
|
||||
special_opt_prefix_lengths[i]) &&
|
||||
opt_str[special_opt_prefix_lengths[i]] == '-')
|
||||
(opt_str[special_opt_prefix_lengths[i]] == '-' ||
|
||||
opt_str[special_opt_prefix_lengths[i]] == '_'))
|
||||
{
|
||||
/*
|
||||
We were called with a special prefix, we can reuse opt_found
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue