MXS-681: MySQL 5.7 user retrieval fails
The authentication query was truncated which caused errors on MySQL 5.7 when the root user was not used in the usercount query.
This commit is contained in:
parent
d5d0547a57
commit
7bc7f2561b
@ -99,7 +99,7 @@
|
||||
/** The maximum possible length of the query */
|
||||
#define MAX_QUERY_STR_LEN strlen(MYSQL_USERS_COUNT_TEMPLATE_START \
|
||||
MYSQL_USERS_COUNT_TEMPLATE_END MYSQL_USERS_DB_QUERY_TEMPLATE \
|
||||
MYSQL_USERS_ORDER_BY) + strlen(MYSQL57_PASSWORD) * 2 + 1
|
||||
MYSQL_USERS_ORDER_BY USERS_QUERY_NO_ROOT) + strlen(MYSQL57_PASSWORD) * 2 + 1
|
||||
|
||||
#define LOAD_MYSQL_DATABASE_NAMES "SELECT * \
|
||||
FROM ( (SELECT COUNT(1) AS ndbs \
|
||||
|
Loading…
x
Reference in New Issue
Block a user