Commit 5c5d51c2 authored by ram@gw.mysql.r18.ru's avatar ram@gw.mysql.r18.ru

A quick fix for bug #7257: Crash in default tests: 'subselect'

parent 9399fe33
......@@ -983,9 +983,9 @@ class Item_null_helper :public Item_ref_null_helper
public:
Item_null_helper(Item_in_subselect* master, Item *item,
const char *table_name_par, const char *field_name_par)
:Item_ref_null_helper(master, &store, table_name_par, field_name_par),
:Item_ref_null_helper(master, &item, table_name_par, field_name_par),
store(item)
{}
{ ref= &store; }
void print(String *str);
};
......
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