Commit 22de18dd 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 a0efc4bd
......@@ -3287,6 +3287,12 @@ public:
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