mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge april.(none):/home/svoj/devel/mysql/BUG14945/mysql-5.0
into april.(none):/home/svoj/devel/mysql/BUG14945/mysql-5.1-new
This commit is contained in:
@ -916,8 +916,7 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok)
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
if (!ha_check_storage_engine_flag(ha_resolve_by_legacy_type(thd, table_type),
|
||||
HTON_CAN_RECREATE)
|
||||
|| thd->lex->sphead)
|
||||
HTON_CAN_RECREATE))
|
||||
goto trunc_by_del;
|
||||
|
||||
if (lock_and_wait_for_table_name(thd, table_list))
|
||||
|
Reference in New Issue
Block a user