mirror of
https://github.com/MariaDB/server.git
synced 2025-04-01 21:05:34 +02:00
Fix compile warning:
ha_rocksdb.h:459:15: warning: 'table_type' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
This commit is contained in:
parent
2ed148c8d7
commit
3a9967d757
1 changed files with 7 additions and 9 deletions
|
@ -448,15 +448,13 @@ class ha_rocksdb : public my_core::handler {
|
|||
}
|
||||
}
|
||||
|
||||
/** @brief
|
||||
The name that will be used for display purposes.
|
||||
*/
|
||||
const char *table_type() const /*override*/ {
|
||||
DBUG_ENTER_FUNC();
|
||||
// MariaDB: this function is not virtual, however ha_innodb
|
||||
// declares it (and then never uses!) psergey-merge-todo:.
|
||||
DBUG_RETURN(rocksdb_hton_name);
|
||||
}
|
||||
/*
|
||||
MariaDB: this function:
|
||||
|
||||
const char *table_type() const
|
||||
|
||||
is non-virtual in class handler, so there's no point to override it.
|
||||
*/
|
||||
|
||||
/* The following is only used by SHOW KEYS: */
|
||||
const char *index_type(uint inx) override {
|
||||
|
|
Loading…
Add table
Reference in a new issue