Commit e8bbf995 authored by unknown's avatar unknown

Fixed Valgrind warning about uninitialized variable

parent 2f12caa6
...@@ -1731,7 +1731,7 @@ Item_in_subselect::inject_single_in_to_exists_cond(JOIN * join, ...@@ -1731,7 +1731,7 @@ Item_in_subselect::inject_single_in_to_exists_cond(JOIN * join,
this->having= 0; this->having= 0;
*/ */
Item* join_having= join->having ? join->having : join->tmp_having; Item* join_having= join->having ? join->having : join->tmp_having;
bool fix_res; bool fix_res= 0;
DBUG_ENTER("Item_in_subselect::inject_single_in_to_exists_cond"); DBUG_ENTER("Item_in_subselect::inject_single_in_to_exists_cond");
if (join_having || select_lex->with_sum_func || if (join_having || select_lex->with_sum_func ||
......
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