diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-08-31 23:40:05 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-08-31 23:40:05 -0400 |
commit | a735ca0120e746f09be072662cad7edb2f0c59b4 (patch) | |
tree | 245d180ab4315508cbd9b3780caa783f964806de | |
parent | a02642b66e06f95b80fa9ee592ba50eb61dc2f17 (diff) | |
download | mariadb-git-hf-10.1-mdev-10545.tar.gz |
MDEV-10545: Exclude wsrep threads from I_S.PROCESSLIST.hf-10.1-mdev-10545
-rw-r--r-- | sql/sql_show.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index ae3874506dd..10e4b8f179f 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -2883,6 +2883,12 @@ int fill_schema_processlist(THD* thd, TABLE_LIST* tables, COND* cond) strcmp(tmp_sctx->user, user)))) continue; +#ifdef WITH_WSREP + /* Skip wsrep threads. */ + if (tmp->wsrep_applier) + continue; +#endif + restore_record(table, s->default_values); /* ID */ table->field[0]->store((longlong) tmp->thread_id, TRUE); |