summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorunknown <stewart@willster.(none)>2006-08-15 19:18:57 +0800
committerunknown <stewart@willster.(none)>2006-08-15 19:18:57 +0800
commitfdc1ee2ce7f832773947e6dc41540eaa4aa85c50 (patch)
tree9451c9529d617013e5e303e6c2085e9daa656c05 /sql/sql_show.cc
parente884c5babc31968a4176315c393eb09914ee3653 (diff)
downloadmariadb-git-fdc1ee2ce7f832773947e6dc41540eaa4aa85c50.tar.gz
BUG#21652 I_S.PROCESSLIST truncates STATE field compared to SHOW FULL PROCESSLIST
increase maximum length to 64 (max length that ndb injector creates is currently 62) sql/sql_show.cc: Increase max length of I_S.PROCESSLIST.STATE to accomodate NDB injector strings.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index edbec84e37b..8ae2d5977d8 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -5545,7 +5545,7 @@ ST_FIELD_INFO processlist_fields_info[]=
{"DB", NAME_LEN, MYSQL_TYPE_STRING, 0, 1, "Db"},
{"COMMAND", 16, MYSQL_TYPE_STRING, 0, 0, "Command"},
{"TIME", 7, MYSQL_TYPE_LONG, 0, 0, "Time"},
- {"STATE", 30, MYSQL_TYPE_STRING, 0, 1, "State"},
+ {"STATE", 64, MYSQL_TYPE_STRING, 0, 1, "State"},
{"INFO", PROCESS_LIST_INFO_WIDTH, MYSQL_TYPE_STRING, 0, 1, "Info"},
{0, 0, MYSQL_TYPE_STRING, 0, 0, 0}
};