mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-33746 Supply missing override markings
Find and fix missing virtual override markings. Updates cmake maintainer flags to include -Wsuggest-override and -Winconsistent-missing-override.
This commit is contained in:
committed by
Dave Gosselin
parent
ab448d4b34
commit
db0c28eff8
@ -362,7 +362,7 @@ protected:
|
||||
|
||||
virtual ~Sql_cmd_common_alter_table() = default;
|
||||
|
||||
virtual enum_sql_command sql_command_code() const
|
||||
enum_sql_command sql_command_code() const override
|
||||
{
|
||||
return SQLCOM_ALTER_TABLE;
|
||||
}
|
||||
@ -383,9 +383,9 @@ public:
|
||||
|
||||
~Sql_cmd_alter_table() = default;
|
||||
|
||||
Storage_engine_name *option_storage_engine_name() { return this; }
|
||||
Storage_engine_name *option_storage_engine_name() override { return this; }
|
||||
|
||||
bool execute(THD *thd);
|
||||
bool execute(THD *thd) override;
|
||||
};
|
||||
|
||||
|
||||
@ -405,11 +405,11 @@ public:
|
||||
|
||||
~Sql_cmd_alter_sequence() = default;
|
||||
|
||||
enum_sql_command sql_command_code() const
|
||||
enum_sql_command sql_command_code() const override
|
||||
{
|
||||
return SQLCOM_ALTER_SEQUENCE;
|
||||
}
|
||||
bool execute(THD *thd);
|
||||
bool execute(THD *thd) override;
|
||||
};
|
||||
|
||||
|
||||
@ -429,7 +429,7 @@ public:
|
||||
: m_tablespace_op(tablespace_op_arg)
|
||||
{}
|
||||
|
||||
bool execute(THD *thd);
|
||||
bool execute(THD *thd) override;
|
||||
|
||||
private:
|
||||
const enum_tablespace_op_type m_tablespace_op;
|
||||
|
Reference in New Issue
Block a user