14 lines
661 B
Diff
14 lines
661 B
Diff
Index: percona-xtrabackup-7686bfc6e5a5163f73e2adea38eac0da06c9898e/sql/sql_acl.cc
|
|
===================================================================
|
|
--- percona-xtrabackup-7686bfc6e5a5163f73e2adea38eac0da06c9898e.orig/sql/sql_acl.cc
|
|
+++ percona-xtrabackup-7686bfc6e5a5163f73e2adea38eac0da06c9898e/sql/sql_acl.cc
|
|
@@ -3014,7 +3014,7 @@ static int replace_user_table(THD *thd,
|
|
* An empty password is considered to be of mysql_native type.
|
|
*/
|
|
|
|
- if (combo->plugin.str == NULL || combo->plugin.str == '\0')
|
|
+ if (combo->plugin.str == NULL || *(combo->plugin.str) == '\0')
|
|
{
|
|
if (combo->uses_identified_by_password_clause)
|
|
{
|