List:Internals« Previous MessageNext Message »
From:Heikki Tuuri Date:April 13 2005 2:22pm
Subject:bk commit into 4.1 tree (heikki:1.2179)
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.2179 05/04/13 17:22:04 heikki@stripped +1 -0
  fil0fil.c:
    At the shutdown, write the latest lsn only to the first pages of the ibdata files of the system tablespace, NOT to the .ibd files; writing to tens of thousands .ibd files can take minutes

  innobase/fil/fil0fil.c
    1.50 05/04/13 17:21:49 heikki@stripped +2 -1
    At the shutdown, write the latest lsn only to the first pages of the ibdata files of the system tablespace, NOT to the .ibd files; writing to tens of thousands .ibd files can take minutes

# 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.49/innobase/fil/fil0fil.c	Fri Feb 25 22:15:59 2005
+++ 1.50/innobase/fil/fil0fil.c	Wed Apr 13 17:21:49 2005
@@ -1447,7 +1447,8 @@
 		cache. Note that all data files in the system tablespace 0 are
 		always open. */
 
-		if (space->purpose == FIL_TABLESPACE) {
+		if (space->purpose == FIL_TABLESPACE
+		    && space->id == 0) {
 			sum_of_sizes = 0;
 
 			node = UT_LIST_GET_FIRST(space->chain);
Thread
bk commit into 4.1 tree (heikki:1.2179)Heikki Tuuri13 Apr