[Commits] Rev 2864: Fix trivial error in file:///home/psergey/dev2/maria-5.3-mwl128-dsmrr-cpk/

Sergey Petrunya psergey at askmonty.org
Fri Nov 26 14:45:48 EET 2010


At file:///home/psergey/dev2/maria-5.3-mwl128-dsmrr-cpk/

------------------------------------------------------------
revno: 2864
revision-id: psergey at askmonty.org-20101126124546-s4wc5luysfgbcj12
parent: psergey at askmonty.org-20101125213039-fpd6bbk08yayjck2
committer: Sergey Petrunya <psergey at askmonty.org>
branch nick: maria-5.3-mwl128-dsmrr-cpk
timestamp: Fri 2010-11-26 15:45:46 +0300
message:
  Fix trivial error 
=== modified file 'sql/multi_range_read.cc'
--- a/sql/multi_range_read.cc	2010-11-25 21:30:39 +0000
+++ b/sql/multi_range_read.cc	2010-11-26 12:45:46 +0000
@@ -760,6 +760,8 @@
   h= h_arg;
   is_mrr_assoc=    !test(mode & HA_MRR_NO_ASSOCIATION);
 
+  strategy_exhausted= FALSE;
+
   if (mode & (HA_MRR_USE_DEFAULT_IMPL | HA_MRR_SORTED))
   {
     DBUG_ASSERT(h->inited == handler::INDEX);
@@ -834,7 +836,6 @@
       goto error;
     }
   }
-  strategy_exhausted= FALSE;
 
   res= strategy->refill_buffer(TRUE);
   if (res)



More information about the commits mailing list