List:Commits« Previous MessageNext Message »
From:holyfoot Date:November 25 2007 4:03pm
Subject:bk commit into 5.1 tree (holyfoot:1.2641) BUG#31753
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of hf. When hf does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-11-25 20:03:17+04:00, holyfoot@stripped +1 -0
  Bug #31753 Buffer/area functions only return first row of set
  
  gcalc_result_receiver didn't clean itself properly with the
  ::reset call, so consequent calls of Buffer or Union functions
  can return garbage.

  sql/gcalc_tools.cc@stripped, 2007-11-25 20:03:14+04:00, holyfoot@stripped +1 -1
    Bug #31753 Buffer/area functions only return first row of set
    
    gcalc_result_receiver::reset() should be empty after
    the 'reset()' call

diff -Nrup a/sql/gcalc_tools.cc b/sql/gcalc_tools.cc
--- a/sql/gcalc_tools.cc	2007-05-30 13:35:16 +05:00
+++ b/sql/gcalc_tools.cc	2007-11-25 20:03:14 +04:00
@@ -210,7 +210,7 @@ int gcalc_result_receiver::done()
 
 void gcalc_result_receiver::reset()
 {
-  buffer.length(4);
+  buffer.length(0);
   collection_result= FALSE;
   n_shapes= 0;
 }
Thread
bk commit into 5.1 tree (holyfoot:1.2641) BUG#31753holyfoot25 Nov