Fix of MDEV-511.
As far as we reopen tables so TABLE become invalid we should remove the pointer on cleanup().
This commit is contained in:
parent
a0efc4bd77
commit
22de18ddcb
@ -3287,6 +3287,12 @@ public:
|
|||||||
else
|
else
|
||||||
Item_direct_ref::save_in_result_field(no_conversions);
|
Item_direct_ref::save_in_result_field(no_conversions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cleanup()
|
||||||
|
{
|
||||||
|
null_ref_table= NULL;
|
||||||
|
Item_direct_ref::cleanup();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user