diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-16 16:31:23 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-20 14:48:56 +0300 |
commit | 98e2c17e9e20898bc8c1e58c57e0666502ec447e (patch) | |
tree | 522bb70db641783ad5a6b4d0a6a1390275468c5e /storage/xtradb/fil/fil0fil.cc | |
parent | 14543afd59d7d42a639b6933c404f971c2cc76a6 (diff) | |
download | mariadb-git-98e2c17e9e20898bc8c1e58c57e0666502ec447e.tar.gz |
Cleanup: Remove fil_check_adress_in_tablespace()
Diffstat (limited to 'storage/xtradb/fil/fil0fil.cc')
-rw-r--r-- | storage/xtradb/fil/fil0fil.cc | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/storage/xtradb/fil/fil0fil.cc b/storage/xtradb/fil/fil0fil.cc index 766e9d91cfb..3c00c857a6d 100644 --- a/storage/xtradb/fil/fil0fil.cc +++ b/storage/xtradb/fil/fil0fil.cc @@ -1,7 +1,7 @@ /***************************************************************************** Copyright (c) 1995, 2017, Oracle and/or its affiliates. All Rights Reserved. -Copyright (c) 2014, 2019, MariaDB Corporation. +Copyright (c) 2014, 2020, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -1815,25 +1815,6 @@ fil_space_get_zip_size( return(flags); } -/*******************************************************************//** -Checks if the pair space, page_no refers to an existing page in a tablespace -file space. The tablespace must be cached in the memory cache. -@return TRUE if the address is meaningful */ -UNIV_INTERN -ibool -fil_check_adress_in_tablespace( -/*===========================*/ - ulint id, /*!< in: space id */ - ulint page_no)/*!< in: page number */ -{ - if (fil_space_get_size(id) > page_no) { - - return(TRUE); - } - - return(FALSE); -} - /****************************************************************//** Initializes the tablespace memory cache. */ UNIV_INTERN |