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

 3243 Jorgen Loland	2010-09-15
      BUG#49129 - Followup patch to remove compile 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-10 05:14:00 +0000
+++ b/sql/sql_select.cc	2010-09-15 08:53:08 +0000
@@ -1278,8 +1278,8 @@ bool might_do_join_buffering(uint join_c
   */
   return (sj_tab-sj_tab->join->join_tab != sj_tab->join->const_tables && // (1)
           sj_tab->use_quick != QS_DYNAMIC_RANGE && 
-          ((join_cache_level != 0 && sj_tab->type == JT_ALL) ||
-           (join_cache_level > 4 && 
+          ((join_cache_level != 0U && sj_tab->type == JT_ALL) ||
+           (join_cache_level > 4U && 
             (sj_tab->type == JT_REF || 
              sj_tab->type == JT_EQ_REF || 
              sj_tab->type == JT_CONST))));


Attachment: [text/bzr-bundle] bzr/jorgen.loland@oracle.com-20100915085308-lygr5tud7qmeut4u.bundle
Thread
bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3243) Bug#49129Jorgen Loland15 Sep