mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
privilege: s/delete versioning rows/delete history/
This commit is contained in:
@ -498,7 +498,7 @@ bool Sql_cmd_truncate_table::execute(THD *thd)
|
||||
|
||||
if (table->vers_conditions)
|
||||
{
|
||||
if (check_one_table_access(thd, DELETE_VERSIONING_ROWS_ACL, table))
|
||||
if (check_one_table_access(thd, DELETE_HISTORY_ACL, table))
|
||||
DBUG_RETURN(res);
|
||||
DBUG_RETURN(mysql_delete(thd, table, NULL, NULL, -1, 0, NULL));
|
||||
}
|
||||
|
Reference in New Issue
Block a user