summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc6
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);