List:Commits« Previous MessageNext Message »
From:holyfoot Date:February 28 2006 8:22am
Subject:bk commit into 5.1 tree (holyfoot:1.2190)
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
  1.2190 06/02/28 12:21:56 holyfoot@deer.(none) +1 -0
  Fixed crashes in embedded-server tests

  sql/sql_class.cc
    1.248 06/02/28 12:20:31 holyfoot@stripped +1 -3
    fixed code caused superfluous protocol->remove_last_row() call

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	holyfoot
# Host:	deer.(none)
# Root:	/home/hf/work/mysql-5.1.clean

--- 1.247/sql/sql_class.cc	Sun Feb 26 17:12:51 2006
+++ 1.248/sql/sql_class.cc	Tue Feb 28 12:20:31 2006
@@ -989,9 +989,7 @@
   thd->sent_row_count++;
   if (!thd->vio_ok())
     DBUG_RETURN(0);
-  if (thd->net.report_error)
-    protocol->remove_last_row();
-  else
+  if (!thd->net.report_error)
     DBUG_RETURN(protocol->write());
   protocol->remove_last_row();
   DBUG_RETURN(1);
Thread
bk commit into 5.1 tree (holyfoot:1.2190)holyfoot28 Feb