1
0
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:
Sergei Golubchik
2017-12-14 20:18:53 +01:00
parent 18405e5fd9
commit 84e14bff4a
6 changed files with 13 additions and 13 deletions

View File

@ -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));
}