diff options
author | Satya B <satya.bn@sun.com> | 2009-12-02 19:30:50 +0530 |
---|---|---|
committer | Satya B <satya.bn@sun.com> | 2009-12-02 19:30:50 +0530 |
commit | c6c12db965ec17f5bf7db20eaf668eede32e4e43 (patch) | |
tree | 20b44164d11355963bfee1938eef05d8f545cfcf /storage/innobase/include/fil0fil.h | |
parent | 37360afb219a6864eb28e4beaf538c0838b6d8fe (diff) | |
parent | 3606e59cfefbc3f0ed64c45e55bd1289abb9bf64 (diff) | |
download | mariadb-git-c6c12db965ec17f5bf7db20eaf668eede32e4e43.tar.gz |
Merge Innodb Plugin 1.0.6 from mysql-5.1-bugteam storage/innodb_plugin to mysql-trunk-merge.
Merging revisions 3221 to 3230 from mysql-5.1-bugteam
Diffstat (limited to 'storage/innobase/include/fil0fil.h')
-rw-r--r-- | storage/innobase/include/fil0fil.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h index a36deaf16ce..74d0fbcdacd 100644 --- a/storage/innobase/include/fil0fil.h +++ b/storage/innobase/include/fil0fil.h @@ -224,15 +224,6 @@ fil_space_create( 0 for uncompressed tablespaces */ ulint purpose);/*!< in: FIL_TABLESPACE, or FIL_LOG if log */ /*******************************************************************//** -Frees a space object from a the tablespace memory cache. Closes the files in -the chain but does not delete them. -@return TRUE if success */ -UNIV_INTERN -ibool -fil_space_free( -/*===========*/ - ulint id); /*!< in: space id */ -/*******************************************************************//** Returns the size of the space in pages. The tablespace must be cached in the memory cache. @return space size, 0 if space not found */ @@ -278,6 +269,12 @@ fil_init( ulint hash_size, /*!< in: hash table size */ ulint max_n_open); /*!< in: max number of open files */ /*******************************************************************//** +Initializes the tablespace memory cache. */ +UNIV_INTERN +void +fil_close(void); +/*===========*/ +/*******************************************************************//** Opens all log files and system tablespace data files. They stay open until the database server shutdown. This should be called at a server startup after the space objects for the log and the system tablespace have been created. The |