MXS-3337: Select lowercase variable names
The current code assumes that the variable names are in lowercase. This fixes the galera monitoring that was broken by commit 43068d20b43a34d5f3b4b4db0fcce701b3cd7cad. In addition, lowercase names also helps when comparisons are done with std::string.
This commit is contained in:
parent
43068d20b4
commit
d869dd358e
@ -137,7 +137,7 @@ void GaleraMonitor::update_server_status(MXS_MONITORED_SERVER* monitored_server)
|
||||
|
||||
/* Check if the the Galera FSM shows this node is joined to the cluster */
|
||||
const char* cluster_member =
|
||||
" SELECT * FROM ("
|
||||
" SELECT LOWER(VARIABLE_NAME), VARIABLE_VALUE FROM ("
|
||||
" SELECT * FROM information_schema.SESSION_STATUS"
|
||||
" UNION"
|
||||
" SELECT * FROM information_schema.SESSION_VARIABLES) AS t"
|
||||
|
Loading…
x
Reference in New Issue
Block a user