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

Sergey Petrunya psergey at askmonty.org
Mon Nov 29 16:27:26 EET 2010


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

------------------------------------------------------------
revno: 2866
revision-id: psergey at askmonty.org-20101129142723-5rmeh33ho7p0v1l5
parent: psergey at askmonty.org-20101128205508-mylmctvyuqchpfe3
committer: Sergey Petrunya <psergey at askmonty.org>
branch nick: maria-5.3-mwl128-dsmrr-cpk-r2
timestamp: Mon 2010-11-29 17:27:23 +0300
message:
  Fix trivial error in previous push
=== modified file 'sql/multi_range_read.cc'
--- a/sql/multi_range_read.cc	2010-11-28 20:55:08 +0000
+++ b/sql/multi_range_read.cc	2010-11-29 14:27:23 +0000
@@ -1054,11 +1054,9 @@
   */
   uint parts= my_count_bits(key_tuple_map);
   ulong rpc;
-  ulonglong rowids_size;
+  ulonglong rowids_size= rowid_buf_elem_size;
   if ((rpc= key_info->rec_per_key[parts - 1]))
-  {
     rowids_size= rowid_buf_elem_size * rpc;
-  }
 
   double fraction_for_rowids=
     (ulonglong2double(rowids_size) / 



More information about the commits mailing list