[Commits] Rev 3677: Added comment for mainteiners. in file:///home/bell/maria/bzr/work-maria-10.0-base-merge-5.5/

sanja at montyprogram.com sanja at montyprogram.com
Tue Aug 13 13:32:54 EEST 2013


At file:///home/bell/maria/bzr/work-maria-10.0-base-merge-5.5/

------------------------------------------------------------
revno: 3677
revision-id: sanja at montyprogram.com-20130813103252-ny379kz8a6gkvkja
parent: monty at askmonty.org-20130813100822-lm78szu8ffjol16z
committer: sanja at montyprogram.com
branch nick: work-maria-10.0-base-merge-5.5
timestamp: Tue 2013-08-13 13:32:52 +0300
message:
  Added comment for mainteiners.
-------------- next part --------------
=== modified file 'sql/item_func.h'
--- a/sql/item_func.h	2013-08-13 10:08:22 +0000
+++ b/sql/item_func.h	2013-08-13 10:32:52 +0000
@@ -43,7 +43,13 @@ protected:
   bool persistent_maybe_null;
 public:
   uint arg_count;
-  table_map used_tables_cache, not_null_tables_cache;
+  /*
+    In some cases used_tables_cache is not what used_tables() return
+    so the method should be used where one need used tables bit map 
+    (even internally in Item_func_* code).
+  */
+  table_map used_tables_cache;
+  table_map not_null_tables_cache;
   bool const_item_cache;
   enum Functype { UNKNOWN_FUNC,EQ_FUNC,EQUAL_FUNC,NE_FUNC,LT_FUNC,LE_FUNC,
 		  GE_FUNC,GT_FUNC,FT_FUNC,



More information about the commits mailing list