1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00
This commit is contained in:
monty@hundin.mysql.fi
2002-08-08 12:05:18 +03:00
9 changed files with 45 additions and 22 deletions

View File

@ -1493,7 +1493,7 @@ mysql_execute_command(void)
/* Check that the first table has CREATE privilege */
TABLE_LIST *tmp_table_list=tables->next;
tables->next=0;
bool error=check_grant(thd,CREATE_ACL,tables);
bool error=check_grant(thd, want_priv, tables);
tables->next=tmp_table_list;
if (error)
goto error;