diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-03-28 21:46:58 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-03-28 21:46:58 +0100 |
commit | a5196354f663a1f5a27b0be6da817cff4d560ace (patch) | |
tree | 6d47f012a6b4918eb74a16f95c970d81566694a4 /sql/sql_truncate.cc | |
parent | d5a185a552fe0775d591d49cf21227a82cf50f5b (diff) | |
download | mariadb-git-a5196354f663a1f5a27b0be6da817cff4d560ace.tar.gz |
MDEV-5979 Server crashes on truncating a temporary InnoDB table on Windows
fix uninit variable
Diffstat (limited to 'sql/sql_truncate.cc')
-rw-r--r-- | sql/sql_truncate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_truncate.cc b/sql/sql_truncate.cc index 0ed276cbd23..1e6485432a2 100644 --- a/sql/sql_truncate.cc +++ b/sql/sql_truncate.cc @@ -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"); /* |