Commit 8a23ae08 authored by unknown's avatar unknown

MDEV-4647: Valgrind warnings (Conditional jump or move depends on...

MDEV-4647: Valgrind warnings (Conditional jump or move depends on uninitialised value) in Item_equal::fix_fields
Fix to calm down valgrind.
parent 18cb29d4
...@@ -5953,8 +5953,8 @@ bool Item_equal::fix_fields(THD *thd, Item **ref) ...@@ -5953,8 +5953,8 @@ bool Item_equal::fix_fields(THD *thd, Item **ref)
DBUG_ASSERT(fixed == 0); DBUG_ASSERT(fixed == 0);
Item_equal_fields_iterator it(*this); Item_equal_fields_iterator it(*this);
Item *item; Item *item;
Field *first_equal_field; Field *first_equal_field= NULL;
Field *last_equal_field; Field *last_equal_field= NULL;
Field *prev_equal_field= NULL; Field *prev_equal_field= NULL;
not_null_tables_cache= used_tables_cache= 0; not_null_tables_cache= used_tables_cache= 0;
const_item_cache= 0; const_item_cache= 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