List:Commits« Previous MessageNext Message »
From:Jorgen Loland Date:September 22 2010 6:53am
Subject:bzr push into mysql-next-mr-bugfixing branch (jorgen.loland:3245 to 3246)
View as plain text  
 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
 3245 Jorgen Loland	2010-09-21
      BUG#49129 - followup patch. Fix warning about comparing signed 
      and unsigned int.

    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 push into mysql-next-mr-bugfixing branch (jorgen.loland:3245 to 3246) Jorgen Loland22 Sep