[Commits] Rev 3575: Fix of MDEV-511. in file:///home/bell/maria/bzr/work-maria-5.3-MDEV-511/

sanja at montyprogram.com sanja at montyprogram.com
Fri Sep 7 09:39:53 EEST 2012


At file:///home/bell/maria/bzr/work-maria-5.3-MDEV-511/

------------------------------------------------------------
revno: 3575
revision-id: sanja at montyprogram.com-20120907063951-ew161j15ds0aljz6
parent: sanja at montyprogram.com-20120905202358-r2qds8sj178cbjkn
committer: sanja at montyprogram.com
branch nick: work-maria-5.3-MDEV-511
timestamp: Fri 2012-09-07 09:39:51 +0300
message:
  Fix of MDEV-511.
  
  As far as we reopen tables so TABLE become invalid we should remove the pointer on cleanup().
-------------- next part --------------
=== modified file 'sql/item.h'
--- a/sql/item.h	2012-09-05 20:23:58 +0000
+++ b/sql/item.h	2012-09-07 06:39:51 +0000
@@ -3056,6 +3056,12 @@ public:
     else
       Item_direct_ref::save_in_result_field(no_conversions);
   }
+
+  void cleanup()
+  {
+    null_ref_table= NULL;
+    Item_direct_ref::cleanup();
+  }
 };
 
 



More information about the commits mailing list