[Commits] Rev 2824: Fix a typo bug in SimpleBuffer.read() in file:///home/psergey/dev2/maria-5.3-dsmrr-cpk-r5/

Sergey Petrunya psergey at askmonty.org
Sat Sep 11 20:56:46 EEST 2010


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

------------------------------------------------------------
revno: 2824
revision-id: psergey at askmonty.org-20100911175643-9eeda6siohonp8cr
parent: psergey at askmonty.org-20100910164811-2k3n1j8ntep35rbt
committer: Sergey Petrunya <psergey at askmonty.org>
branch nick: maria-5.3-dsmrr-cpk-r5
timestamp: Sat 2010-09-11 21:56:43 +0400
message:
  Fix a typo bug in SimpleBuffer.read()
=== modified file 'sql/multi_range_read.cc'
--- a/sql/multi_range_read.cc	2010-09-10 16:48:11 +0000
+++ b/sql/multi_range_read.cc	2010-09-11 17:56:43 +0000
@@ -356,7 +356,7 @@
 
 bool SimpleBuffer::read()
 {
-  if (!have_data(read_size1 + read_ptr2? read_size2 : 0))
+  if (!have_data(read_size1 + (read_ptr2? read_size2 : 0)))
     return TRUE;
   *read_ptr1 =read(read_size1);
   if (read_ptr2)



More information about the commits mailing list