List:Commits« Previous MessageNext Message »
From:Jorgen Loland Date:September 22 2010 6:52am
Subject:bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3246)
View as plain text  
#At file:///export/home/jl208045/mysql/mysql-next-mr-opt-backporting-review1/ based on revid:jorgen.loland@stripped

 3246 Jorgen Loland	2010-09-22
      49129. Postfix - join_tab type might be JT_CONST in 
      might_do_join_buffering

    modified:
      sql/sql_select.cc
=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc	2010-09-21 12:38:49 +0000
+++ b/sql/sql_select.cc	2010-09-22 06:51:45 +0000
@@ -1282,7 +1282,8 @@ bool might_do_join_buffering(uint join_c
           ((join_cache_level != 0 && sj_tab->type == JT_ALL) ||
            (join_cache_level > 4 && 
             (sj_tab->type == JT_REF || 
-             sj_tab->type == JT_EQ_REF))));
+             sj_tab->type == JT_EQ_REF ||
+             sj_tab->type == JT_CONST))));
 }
 
 /**


Attachment: [text/bzr-bundle] bzr/jorgen.loland@oracle.com-20100922065145-4fe3hk8ejj6vml78.bundle
Thread
bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3246) Jorgen Loland22 Sep