summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fsp0file.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-07-04 12:06:48 +0300
committerEugene Kosov <claprix@yandex.ru>2019-07-04 16:28:27 +0300
commit23c12ed5cb2a86516f4d4502779d2be312fa6e17 (patch)
tree1d094f9249103a87af27f958cfe93d04fa71a439 /storage/innobase/include/fsp0file.h
parente8392e58b2a5a69f9c0bd5b5aed90348b4a0ccb3 (diff)
downloadmariadb-git-23c12ed5cb2a86516f4d4502779d2be312fa6e17.tar.gz
MDEV-19951 use override keyword across the InnoDB
Use on every virtual function override. ha_innobase: mark a final ha_innobase::bas_ext(): remove as unused ha_innobase::get_cascade_foreign_key_table_list: remove as unused ha_innobase::end_stmt(): merge into ha_innobase::reset()
Diffstat (limited to 'storage/innobase/include/fsp0file.h')
-rw-r--r--storage/innobase/include/fsp0file.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/innobase/include/fsp0file.h b/storage/innobase/include/fsp0file.h
index 8c5b24fbadb..15485769429 100644
--- a/storage/innobase/include/fsp0file.h
+++ b/storage/innobase/include/fsp0file.h
@@ -504,13 +504,13 @@ public:
/* No op - base constructor is called. */
}
- ~RemoteDatafile()
+ ~RemoteDatafile() override
{
shutdown();
}
/** Release the resources. */
- void shutdown();
+ void shutdown() override;
/** Get the link filepath.
@return m_link_filepath */
@@ -532,7 +532,7 @@ public:
in read-only mode so that it can be validated.
@param[in] strict whether to issue error messages
@return DB_SUCCESS or error code */
- dberr_t open_read_only(bool strict);
+ dberr_t open_read_only(bool strict) override;
/** Opens a handle to the file linked to in an InnoDB Symbolic Link
file in read-write mode so that it can be restored from doublewrite
@@ -540,7 +540,7 @@ public:
@param[in] read_only_mode If true, then readonly mode checks
are enforced.
@return DB_SUCCESS or error code */
- dberr_t open_read_write(bool read_only_mode)
+ dberr_t open_read_write(bool read_only_mode) override
MY_ATTRIBUTE((warn_unused_result));
/******************************************************************