summaryrefslogtreecommitdiff
path: root/innobase/include/fsp0fsp.h
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2002-07-31 00:47:20 +0300
committerheikki@hundin.mysql.fi <>2002-07-31 00:47:20 +0300
commitbbb8125a2cad4845a61efe0f63906bd0cb64ec20 (patch)
treec292c07f8ce5669e3036ef6b705c347df3e64c0c /innobase/include/fsp0fsp.h
parentc5bdaee9ad98c363d16c97292d14eb0ce2a890b9 (diff)
downloadmariadb-git-bbb8125a2cad4845a61efe0f63906bd0cb64ec20.tar.gz
Many files:
Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
Diffstat (limited to 'innobase/include/fsp0fsp.h')
-rw-r--r--innobase/include/fsp0fsp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/innobase/include/fsp0fsp.h b/innobase/include/fsp0fsp.h
index a0197ec2d97..3494f336b1e 100644
--- a/innobase/include/fsp0fsp.h
+++ b/innobase/include/fsp0fsp.h
@@ -57,6 +57,16 @@ fsp_header_get_free_limit(
/* out: free limit in megabytes */
ulint space); /* in: space id */
/**************************************************************************
+Gets the size of the tablespace from the tablespace header. If we do not
+have an auto-extending data file, this should be equal to the size of the
+data files. If there is an auto-extending data file, this can be smaller. */
+
+ulint
+fsp_header_get_tablespace_size(
+/*===========================*/
+ /* out: size in pages */
+ ulint space); /* in: space id */
+/**************************************************************************
Initializes the space header of a new created space. */
void