diff options
author | Monty <monty@mariadb.org> | 2016-08-29 13:10:17 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-08-29 13:10:17 +0300 |
commit | 96e95b5465e2e3e629d532f24ebe166f979dd220 (patch) | |
tree | b3e12c58a8c722a1b97ac0ce3575b539258a76b4 /sql/sql_parse.cc | |
parent | eac7e57529756a2a7f6c269775323323f7b2c706 (diff) | |
download | mariadb-git-96e95b5465e2e3e629d532f24ebe166f979dd220.tar.gz |
Better SHOW PROCESSLIST for replication
- When waiting for events, start time is now counted from start of wait
- Instead of having "Connect" as "Command" for all replication threads we
now have:
- Slave_IO for Slave thread reading relay log
- Slave_SQL for slave executing SQL commands or distribution queries to
Slave workers
- Slave_worker for slave threads executin SQL commands in parallel replication
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 5d698486737..c152984876e 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -392,9 +392,9 @@ const LEX_STRING command_name[257]={ { 0, 0 }, //248 { 0, 0 }, //249 { 0, 0 }, //250 - { 0, 0 }, //251 - { 0, 0 }, //252 - { 0, 0 }, //253 + { C_STRING_WITH_LEN("Slave_worker") }, //251 + { C_STRING_WITH_LEN("Slave_IO") }, //252 + { C_STRING_WITH_LEN("Slave_SQL") }, //253 { C_STRING_WITH_LEN("Com_multi") }, //254 { C_STRING_WITH_LEN("Error") } // Last command number 255 }; |