mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 14:15:33 +02:00
Auto-merge from mysql-trunk-merge.
This commit is contained in:
commit
32f3ab7933
68 changed files with 617 additions and 564 deletions
|
|
@ -5826,7 +5826,6 @@ bool mysql_create_user(THD *thd, List <LEX_USER> &list)
|
|||
{
|
||||
int result;
|
||||
String wrong_users;
|
||||
ulong sql_mode;
|
||||
LEX_USER *user_name, *tmp_user_name;
|
||||
List_iterator <LEX_USER> user_list(list);
|
||||
TABLE_LIST tables[GRANT_TABLES];
|
||||
|
|
@ -5875,7 +5874,6 @@ bool mysql_create_user(THD *thd, List <LEX_USER> &list)
|
|||
}
|
||||
|
||||
some_users_created= TRUE;
|
||||
sql_mode= thd->variables.sql_mode;
|
||||
if (replace_user_table(thd, tables[0].table, *user_name, 0, 0, 1, 0))
|
||||
{
|
||||
append_user(&wrong_users, user_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue