1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

generalize the error message

This commit is contained in:
Sergei Golubchik
2019-05-11 16:25:01 +02:00
parent ececc50252
commit d199591cf2
15 changed files with 31 additions and 33 deletions

View File

@ -340,7 +340,7 @@ bool Sql_cmd_truncate_table::lock_table(THD *thd, TABLE_LIST *table_ref,
if (versioned)
{
my_error(ER_TRUNCATE_ILLEGAL_VERS, MYF(0));
my_error(ER_VERS_NOT_SUPPORTED, MYF(0), "TRUNCATE TABLE");
DBUG_RETURN(TRUE);
}