Skip to content

Commit

Permalink
Merge pull request #1500 from sysown/v149_1496
Browse files Browse the repository at this point in the history
Added all session status values v1.4.9
  • Loading branch information
renecannao authored May 15, 2018
2 parents 4f0a434 + f4cd36c commit 9c1a794
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions lib/MySQL_Thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4115,6 +4115,9 @@ SQLite3_result * MySQL_Threads_Handler::SQL3_Processlist() {
case CHANGING_USER_SERVER:
pta[11]=strdup("Change user");
break;
case CHANGING_USER_CLIENT:
pta[11]=strdup("Change user client");
break;
case CHANGING_SCHEMA:
pta[11]=strdup("InitDB");
break;
Expand All @@ -4124,6 +4127,39 @@ SQLite3_result * MySQL_Threads_Handler::SQL3_Processlist() {
case PROCESSING_STMT_PREPARE:
pta[11]=strdup("Prepare");
break;
case CONNECTING_CLIENT:
pta[11]=strdup("Connecting client");
break;
case PINGING_SERVER:
pta[11]=strdup("Pinging server");
break;
case WAITING_SERVER_DATA:
pta[11]=strdup("Waiting server data");
break;
case CHANGING_CHARSET:
pta[11]=strdup("Changing charset");
break;
case CHANGING_AUTOCOMMIT:
pta[11]=strdup("Changing autocommit");
break;
case SETTING_INIT_CONNECT:
pta[11]=strdup("Setting init connect");
break;
case SETTING_SQL_LOG_BIN:
pta[11]=strdup("Set log bin");
break;
case SETTING_SQL_MODE:
pta[11]=strdup("Set SQL mode");
break;
case SETTING_TIME_ZONE:
pta[11]=strdup("Set TZ");
break;
case FAST_FORWARD:
pta[11]=strdup("Fast forward");
break;
case NONE:
pta[11]=strdup("None");
break;
default:
sprintf(buf,"%d", sess->status);
pta[11]=strdup(buf);
Expand Down

0 comments on commit 9c1a794

Please sign in to comment.