diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-04-13 17:22:04 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-04-13 17:22:04 +0300 |
commit | 3fbb9c39a704fe355f112be0605fd7590467e859 (patch) | |
tree | 3e12946cec015dd2e39fe0e578008a38f0e4c4c5 /innobase | |
parent | ad5ec8a46c916c22c2755a3fe9f5c653ace467e8 (diff) | |
download | mariadb-git-3fbb9c39a704fe355f112be0605fd7590467e859.tar.gz |
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:
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
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/fil/fil0fil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/fil/fil0fil.c b/innobase/fil/fil0fil.c index 16ae8e6e228..0f5941ca0d9 100644 --- a/innobase/fil/fil0fil.c +++ b/innobase/fil/fil0fil.c @@ -1447,7 +1447,8 @@ fil_write_flushed_lsn_to_data_files( 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); |