Commit a5196354 authored by Sergei Golubchik's avatar Sergei Golubchik

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

fix uninit variable
parent d5a185a5
...@@ -189,7 +189,7 @@ int Sql_cmd_truncate_table::handler_truncate(THD *thd, TABLE_LIST *table_ref, ...@@ -189,7 +189,7 @@ int Sql_cmd_truncate_table::handler_truncate(THD *thd, TABLE_LIST *table_ref,
bool is_tmp_table) bool is_tmp_table)
{ {
int error= 0; int error= 0;
uint flags; uint flags= 0;
DBUG_ENTER("Sql_cmd_truncate_table::handler_truncate"); DBUG_ENTER("Sql_cmd_truncate_table::handler_truncate");
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment