MXS-1367: Take mxs_mysql_query into use
The use of a wrapper function allows automated retrying of the queries without requiring any changes to the code that uses it.
This commit is contained in:
@ -700,7 +700,7 @@ bool check_monitor_permissions(MXS_MONITOR* monitor, const char* query)
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (mysql_query(mondb->con, query) != 0)
|
||||
else if (mxs_mysql_query(mondb->con, query) != 0)
|
||||
{
|
||||
switch (mysql_errno(mondb->con))
|
||||
{
|
||||
|
Reference in New Issue
Block a user