Commit 615c3808 authored by unknown's avatar unknown

Fix of MDEV-511.

As far as we reopen tables so TABLE become invalid we should remove the pointer on cleanup().
parent 59475339
......@@ -3287,6 +3287,12 @@ class Item_direct_view_ref :public Item_direct_ref
else
Item_direct_ref::save_in_result_field(no_conversions);
}
void cleanup()
{
null_ref_table= NULL;
Item_direct_ref::cleanup();
}
};
......
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