[Commits] Rev 3381: Fix the comment. in file:///home/bell/maria/bzr/work-maria-5.3-comment/

sanja at montyprogram.com sanja at montyprogram.com
Wed Jan 11 10:35:17 EET 2012


At file:///home/bell/maria/bzr/work-maria-5.3-comment/

------------------------------------------------------------
revno: 3381
revision-id: sanja at montyprogram.com-20120111083516-fei2c3fzara3n152
parent: sanja at montyprogram.com-20120110212600-7reo4b844qsyx0pi
committer: sanja at montyprogram.com
branch nick: work-maria-5.3-comment
timestamp: Wed 2012-01-11 10:35:16 +0200
message:
  Fix the comment.
-------------- next part --------------
=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc	2012-01-10 21:26:00 +0000
+++ b/sql/sql_select.cc	2012-01-11 08:35:16 +0000
@@ -14948,10 +14948,8 @@ do_select(JOIN *join,List<Item> *fields,
       But WHERE should checked here (we alredy have read tables).
       Notice that make_join_select() splits all conditions in this case
       into two groups exec_const_cond and outer_ref_cond.
-      Within this other conditions are not exists. At the same time
-      exec_const_cond is already checked either by make_join_select or in the
-      beginning of JOIN::exec. Therefore here it is sufficient to check only
-      pseudo_bits_cond.
+      If join->table_count == join->const_tables then it is
+      sufficient to check only the condition pseudo_bits_cond.
     */
     DBUG_ASSERT(join->outer_ref_cond == NULL);
     if (!join->pseudo_bits_cond || join->pseudo_bits_cond->val_int())



More information about the commits mailing list