summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fil0fil.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-11-30 10:41:11 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-11-30 10:41:11 +0200
commitfc1403d3a9ef3230324396f621f72f02097c8a6a (patch)
tree752bfc20e40a6bcb88f780823bf11215dc4477f9 /storage/innobase/include/fil0fil.h
parent1188ef4ade88dd42eb9cd05daa9a627aca1a4935 (diff)
downloadmariadb-git-fc1403d3a9ef3230324396f621f72f02097c8a6a.tar.gz
Cleanup: Remove fil_space_t::is_deferred()
The public data member can be checked directly by the only caller.
Diffstat (limited to 'storage/innobase/include/fil0fil.h')
-rw-r--r--storage/innobase/include/fil0fil.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h
index 551768c3a22..7837020fec4 100644
--- a/storage/innobase/include/fil0fil.h
+++ b/storage/innobase/include/fil0fil.h
@@ -510,10 +510,6 @@ public:
/** @return whether the storage device is rotational (HDD, not SSD) */
inline bool is_rotational() const;
- /** whether the tablespace discovery is being deferred during crash
- recovery due to incompletely written page 0 */
- inline bool is_deferred() const;
-
/** Open each file. Never invoked on .ibd files.
@param create_new_db whether to skip the call to fil_node_t::read_page0()
@return whether all files were opened */
@@ -1191,11 +1187,6 @@ inline bool fil_space_t::is_rotational() const
return false;
}
-inline bool fil_space_t::is_deferred() const
-{
- return UT_LIST_GET_FIRST(chain)->deferred;
-}
-
/** Common InnoDB file extensions */
enum ib_extention {
NO_EXT = 0,