summaryrefslogtreecommitdiff
path: root/client/mysqladmin.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-04-27 17:16:08 +0300
committermonty@mysql.com <>2005-04-27 17:16:08 +0300
commit69b813a901f2031fdd7fd6dfb7661c432e91934e (patch)
tree1659e377a1ee83ee3fe2a8d2ccbd1ec06f8643ee /client/mysqladmin.cc
parent211638f539c72b89f7e4972c500ac29fdf4a7e65 (diff)
downloadmariadb-git-69b813a901f2031fdd7fd6dfb7661c432e91934e.tar.gz
mysqladmin extended-status now displays global status
Fixed problem with NULL in VARCHAR/BLOB keys for multi-part keys where VARCHAR/BLOB is first part
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r--client/mysqladmin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc
index 24fe14b6675..c6274e499ab 100644
--- a/client/mysqladmin.cc
+++ b/client/mysqladmin.cc
@@ -727,7 +727,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
void (*func) (MYSQL_RES*, MYSQL_ROW, uint);
new_line = 1;
- if (mysql_query(mysql, "show status") ||
+ if (mysql_query(mysql, "show /*!50002 GLOBAL */ status") ||
!(res = mysql_store_result(mysql)))
{
my_printf_error(0, "unable to show status; error: '%s'", MYF(ME_BELL),