mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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 mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/sp.result: Auto merged mysql-test/t/sp.test: Auto merged sql/sql_parse.cc: Auto merged sql/sql_delete.cc: Manual merge
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