diff --git a/lib/MySQL_Thread.cpp b/lib/MySQL_Thread.cpp index 66b8e9641..5b39ac6ee 100644 --- a/lib/MySQL_Thread.cpp +++ b/lib/MySQL_Thread.cpp @@ -3420,7 +3420,10 @@ SQLite3_result * MySQL_Threads_Handler::SQL3_Processlist() { pta[5] = NULL; break; } - } + } else { + pta[4] = strdup("mirror_internal"); + pta[5] = NULL; + } sprintf(buf,"%d", sess->current_hostgroup); pta[6]=strdup(buf); if (sess->mybe && sess->mybe->server_myds && sess->mybe->server_myds->myconn) {