List:Commits« Previous MessageNext Message »
From:Elliot Murphy Date:March 17 2006 10:50am
Subject:bk commit into 5.0 tree (elliot:1.2092)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of emurphy. When emurphy 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.2092 06/03/17 10:50:01 elliot@stripped +1 -0
  Merge mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-4.1
  into  mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-5.0

  sql/ha_innodb.cc
    1.287 06/03/17 10:49:55 elliot@stripped +0 -0
    Auto merged

# 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:	elliot
# Host:	xan.(none)
# Root:	/home/emurphy/src/mysql/bk-clean/mysql-5.0/RESYNC

--- 1.286/sql/ha_innodb.cc	2006-01-31 19:41:42 +01:00
+++ 1.287/sql/ha_innodb.cc	2006-03-17 10:49:55 +01:00
@@ -513,6 +513,13 @@
 
     		return(HA_ERR_NO_SAVEPOINT);
   	} else if (error == (int) DB_LOCK_TABLE_FULL) {
+          /* Since we rolled back the whole transaction, we must
+          tell it also to MySQL so that MySQL knows to empty the
+          cached binlog for this transaction */
+
+          if (thd) {
+                  ha_rollback(thd);
+          }
 
     		return(HA_ERR_LOCK_TABLE_FULL);
     	} else {
Thread
bk commit into 5.0 tree (elliot:1.2092)Elliot Murphy17 Mar