summaryrefslogtreecommitdiff
path: root/scripts/mysqldumpslow.sh
diff options
context:
space:
mode:
authorJim Winstead <jimw@mysql.com>2009-04-28 11:19:58 -0700
committerJim Winstead <jimw@mysql.com>2009-04-28 11:19:58 -0700
commit46b6246dee8dcb8e1c9ecd97746776d026ac44c6 (patch)
tree841ddc7c9a3db81f4452129e30c3e0d7fbd627ee /scripts/mysqldumpslow.sh
parenteb3c7791e5dab1970e65366251505009a731e2bb (diff)
downloadmariadb-git-46b6246dee8dcb8e1c9ecd97746776d026ac44c6.tar.gz
Update list of sorting options in mysqldumpslow (Bug #20454)
Diffstat (limited to 'scripts/mysqldumpslow.sh')
-rw-r--r--scripts/mysqldumpslow.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysqldumpslow.sh b/scripts/mysqldumpslow.sh
index ce2670b2abd..1e942b035cb 100644
--- a/scripts/mysqldumpslow.sh
+++ b/scripts/mysqldumpslow.sh
@@ -20,7 +20,7 @@ GetOptions(\%opt,
'v|verbose+',# verbose
'help+', # write usage info
'd|debug+', # debug
- 's=s', # what to sort by (t, at, l, al, r, ar etc)
+ 's=s', # what to sort by (al, at, ar, c, t, l, r)
'r!', # reverse the sort order (largest last instead of first)
't=i', # just show the top n queries
'a!', # don't abstract all numbers to N and strings to 'S'
@@ -163,7 +163,7 @@ Parse and summarize the MySQL slow query log. Options are
-v verbose
-d debug
- -s ORDER what to sort by (t, at, l, al, r, ar etc), 'at' is default
+ -s ORDER what to sort by (al, at, ar, c, t, l, r), 'at' is default
-r reverse the sort order (largest last instead of first)
-t NUM just show the top n queries
-a don't abstract all numbers to N and strings to 'S'