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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user