summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fil0fil.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-03-27 11:49:57 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-03-29 20:47:42 +0300
commit330ecb906d0aa416a67a93332ef3ef446cfd0f32 (patch)
tree72664af728535021beee6afd5bd38ef5dabeebf2 /storage/innobase/include/fil0fil.h
parent05863142ad0db0cb49f675b2a527a953d187a565 (diff)
downloadmariadb-git-330ecb906d0aa416a67a93332ef3ef446cfd0f32.tar.gz
MDEV-12266: fsp_flags_try_adjust(): Remove lookup
Diffstat (limited to 'storage/innobase/include/fil0fil.h')
-rw-r--r--storage/innobase/include/fil0fil.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h
index ae4a06d343d..c111a0ef647 100644
--- a/storage/innobase/include/fil0fil.h
+++ b/storage/innobase/include/fil0fil.h
@@ -1037,11 +1037,9 @@ fil_ibd_create(
/** Try to adjust FSP_SPACE_FLAGS if they differ from the expectations.
(Typically when upgrading from MariaDB 10.1.0..10.1.20.)
-@param[in] space_id tablespace ID
+@param[in,out] space tablespace
@param[in] flags desired tablespace flags */
-UNIV_INTERN
-void
-fsp_flags_try_adjust(ulint space_id, ulint flags);
+void fsp_flags_try_adjust(fil_space_t* space, ulint flags);
/********************************************************************//**
Tries to open a single-table tablespace and optionally checks the space id is