#At file:///misc/mysql/forest/42027/51-42027/ based on revid:alexey.kopytov@stripped
2801 Tatiana A. Nurnberg 2009-02-24 [merge]
automerge
modified:
scripts/mysqldumpslow.sh
1810.3826.14 Tatiana A. Nurnberg 2009-02-16
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.
@ scripts/mysqldumpslow.sh
Normalise --verbose/-v and --debug/-d to short
options, not long options.
modified:
scripts/mysqldumpslow.sh
=== modified file 'scripts/mysqldumpslow.sh'
--- a/scripts/mysqldumpslow.sh 2008-10-14 19:52:52 +0000
+++ b/scripts/mysqldumpslow.sh 2009-02-24 07:58:13 +0000
@@ -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
Attachment: [text/bzr-bundle] bzr/azundris@mysql.com-20090224075813-ga49cja41nfuhaz4.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-bugteam branch (azundris:2801) | Tatiana A. Nurnberg | 24 Feb |