Commit fdc1ee2c authored by unknown's avatar unknown

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.
parent e884c5ba
...@@ -5545,7 +5545,7 @@ ST_FIELD_INFO processlist_fields_info[]= ...@@ -5545,7 +5545,7 @@ ST_FIELD_INFO processlist_fields_info[]=
{"DB", NAME_LEN, MYSQL_TYPE_STRING, 0, 1, "Db"}, {"DB", NAME_LEN, MYSQL_TYPE_STRING, 0, 1, "Db"},
{"COMMAND", 16, MYSQL_TYPE_STRING, 0, 0, "Command"}, {"COMMAND", 16, MYSQL_TYPE_STRING, 0, 0, "Command"},
{"TIME", 7, MYSQL_TYPE_LONG, 0, 0, "Time"}, {"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"}, {"INFO", PROCESS_LIST_INFO_WIDTH, MYSQL_TYPE_STRING, 0, 1, "Info"},
{0, 0, MYSQL_TYPE_STRING, 0, 0, 0} {0, 0, MYSQL_TYPE_STRING, 0, 0, 0}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment