diff options
author | Tatiana A. Nurnberg <azundris@mysql.com> | 2009-02-16 15:38:18 +0100 |
---|---|---|
committer | Tatiana A. Nurnberg <azundris@mysql.com> | 2009-02-16 15:38:18 +0100 |
commit | a3ad5089cb62c6c4d4f1866a87a0ae333d8c638e (patch) | |
tree | fc95bd6088893d12dc3f153b3745fa48781123b6 /scripts/mysqldumpslow.sh | |
parent | b615d8bcb436a97e8474aa219b25ae9a2c21a78b (diff) | |
download | mariadb-git-a3ad5089cb62c6c4d4f1866a87a0ae333d8c638e.tar.gz |
Bug#42027: Incorrect parsing of debug and verbose options for mysqldumpslow
Options got normalised to long rather than short options
since we gave primary name and alias in wrong order.
Consequently querying for the option using the short
options (the correct primary name) didn't work, rendering
the options in question inaccessible.
We restore the right order of the universe, or at least
the alii for --debug and --verbose.
Diffstat (limited to 'scripts/mysqldumpslow.sh')
-rw-r--r-- | scripts/mysqldumpslow.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysqldumpslow.sh b/scripts/mysqldumpslow.sh index f05761bb837..009745fd896 100644 --- a/scripts/mysqldumpslow.sh +++ b/scripts/mysqldumpslow.sh @@ -17,9 +17,9 @@ my %opt = ( ); GetOptions(\%opt, - 'verbose|v+',# verbose + 'v|verbose+',# verbose 'help+', # write usage info - 'debug|d+', # debug + 'd|debug+', # debug 's=s', # what to sort by (t, at, l, al, r, ar etc) 'r!', # reverse the sort order (largest last instead of first) 't=i', # just show the top n queries |