mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-5979 Server crashes on truncating a temporary InnoDB table on Windows
fix uninit variable
This commit is contained in:
@ -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");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user