Commit fdc1ee2c authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}
};