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:
unknown 2012-09-07 09:17:31 +03:00
parent a0efc4bd77
commit 22de18ddcb

View File

@ -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();
}
};