mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
A quick fix for bug #7257: Crash in default tests: 'subselect'
sql/item.h: A quick fix for bug #7257: Crash in default tests: 'subselect' We have to pass &item instead of &store to the Item_ref_null_helper() then set ref.
This commit is contained in:
parent
8eea17107c
commit
54745a18a1
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue