MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:Heikki Tuuri Date:August 31 2005 11:27am
Subject:bk commit into 4.1 tree (heikki:1.2400) BUG#12410
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of heikki. When heikki 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.2400 05/08/31 14:27:44 heikki@stripped +1 -0
  ha_innodb.cc:
    Fix bug #12410 : InnoDB was too permissive with LOCK TABLE ... READ LOCAL, and alowed new inserts to the table; we now make READ LOCAL equivalent to READ for InnoDB; note that this will cause slightly more locking in mysqldump, but makes the InnoDB table dumps consistent with MyISAM table dumps; note that the real code change patch was accidentally pushed with my another patch 5 minutes ago

  sql/ha_innodb.cc
    1.207 05/08/31 14:27:26 heikki@stripped +3 -1
    Fix bug #12410 : InnoDB was too permissive with LOCK TABLE ... READ LOCAL, and alowed new inserts to the table; we now make READ LOCAL equivalent to READ for InnoDB; note that this will cause slightly more locking in mysqldump, but makes the InnoDB table dumps consistent with MyISAM table dumps; note that the real code change patch was accidentally pushed with my another patch 5 minutes ago

# 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:	heikki
# Host:	hundin.mysql.fi
# Root:	/home/heikki/mysql-4.1

--- 1.206/sql/ha_innodb.cc	2005-08-31 14:16:46 +03:00
+++ 1.207/sql/ha_innodb.cc	2005-08-31 14:27:26 +03:00
@@ -5449,7 +5449,9 @@
 			reader). To get a similar effect on an InnoDB table,
 			we must use LOCK TABLES ... READ. We convert the lock
 			type here, so that for InnoDB, READ LOCAL is
-			equivalent to READ. */
+			equivalent to READ. This will change the InnoDB
+			behavior in mysqldump, so that dumps of InnoDB tables
+			are consistent with dumps of MyISAM tables. */
 
 			lock_type = TL_READ_NO_INSERT;
 		}
Thread
bk commit into 4.1 tree (heikki:1.2400) BUG#12410Heikki Tuuri31 Aug