Merge branch '2.3' into 2.4

This commit is contained in:
Markus Mäkelä
2020-12-11 16:38:43 +02:00
2 changed files with 8 additions and 3 deletions

View File

@ -200,7 +200,11 @@ void GaleraMonitor::update_server_status(MonitorServer* monitored_server)
/* Check if the the Galera FSM shows this node is joined to the cluster */
const char* cluster_member =
"SHOW STATUS WHERE Variable_name IN"
" SELECT * FROM ("
" SELECT * FROM information_schema.SESSION_STATUS"
" UNION"
" SELECT * FROM information_schema.SESSION_VARIABLES) AS t"
" WHERE Variable_name IN"
" ('wsrep_cluster_state_uuid',"
" 'wsrep_cluster_size',"
" 'wsrep_local_index',"