List:Commits« Previous MessageNext Message »
From:Jorgen Loland Date:April 7 2011 1:29pm
Subject:bzr commit into mysql-trunk branch (jorgen.loland:3289)
View as plain text  
#At file:///export/home/jl208045/mysql/wl4800/mysql-next-mr-opt-backporting-wl4800/ based on revid:jorgen.loland@stripped

 3289 Jorgen Loland	2011-04-07
      Very small fix: make SEL_ARG *keypart_range const in 
      trace_range_all_keyparts()
     @ sql/opt_range.cc
        Make SEL_ARG *keypart_range const in trace_range_all_keyparts()

    modified:
      sql/opt_range.cc
=== modified file 'sql/opt_range.cc'
--- a/sql/opt_range.cc	2011-04-06 09:19:23 +0000
+++ b/sql/opt_range.cc	2011-04-07 13:29:04 +0000
@@ -12429,7 +12429,7 @@ static void trace_range_all_keyparts(Opt
 
   // Navigate to first interval in red-black tree
   const KEY_PART_INFO *cur_key_part= key_parts + keypart_root->part;
-  SEL_ARG *keypart_range= keypart_root->first();
+  const SEL_ARG *keypart_range= keypart_root->first();
 
   while (keypart_range)
   {


Attachment: [text/bzr-bundle] bzr/jorgen.loland@oracle.com-20110407132904-wbcjap4ihlz82rue.bundle
Thread
bzr commit into mysql-trunk branch (jorgen.loland:3289) Jorgen Loland7 Apr