Commit 7c2507f5 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix "uninitialized variable used" runtime errors, Windows debug compilation

parent 1a892b12
...@@ -1315,7 +1315,7 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, ...@@ -1315,7 +1315,7 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables,
TABLE_LIST *table; TABLE_LIST *table;
char path[FN_REFLEN + 1]; char path[FN_REFLEN + 1];
LEX_CSTRING alias= null_clex_str; LEX_CSTRING alias= null_clex_str;
LEX_CUSTRING version; LEX_CUSTRING version{};
LEX_CSTRING partition_engine_name= null_clex_str; LEX_CSTRING partition_engine_name= null_clex_str;
StringBuffer<160> unknown_tables(system_charset_info); StringBuffer<160> unknown_tables(system_charset_info);
DDL_LOG_STATE local_ddl_log_state; DDL_LOG_STATE local_ddl_log_state;
...@@ -1405,7 +1405,7 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, ...@@ -1405,7 +1405,7 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables,
Table_type table_type; Table_type table_type;
size_t path_length= 0; size_t path_length= 0;
char *path_end= 0; char *path_end= 0;
uint drop_index_from, drop_index_to=0; uint drop_index_from=0, drop_index_to=0;
error= 0; error= 0;
......
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