MDEV-5979 Server crashes on truncating a temporary InnoDB table on Windows

fix uninit variable
This commit is contained in:
Sergei Golubchik 2014-03-28 21:46:58 +01:00
parent d5a185a552
commit a5196354f6

View file

@ -189,7 +189,7 @@ int Sql_cmd_truncate_table::handler_truncate(THD *thd, TABLE_LIST *table_ref,
bool is_tmp_table)
{
int error= 0;
uint flags;
uint flags= 0;
DBUG_ENTER("Sql_cmd_truncate_table::handler_truncate");
/*