1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

typo fixed, followup for 3fe55fa8be

This commit is contained in:
Sergei Golubchik
2022-10-07 15:14:50 +02:00
parent 3fe55fa8be
commit 5f26f50020
3 changed files with 19 additions and 1 deletions

View File

@ -9869,7 +9869,7 @@ bool create_table_precheck(THD *thd, TABLE_LIST *tables,
if (lex->tmp_table())
want_priv= CREATE_TMP_ACL;
else if (select_lex->item_list.elements || select_lex->tvc)
want_priv= INSERT_ACL;
want_priv|= INSERT_ACL;
/* CREATE OR REPLACE on not temporary tables require DROP_ACL */
if (lex->create_info.or_replace() && !lex->tmp_table())