mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +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
@ -38,9 +38,9 @@ public:
|
||||
|
||||
~Sql_cmd_analyze_table() = default;
|
||||
|
||||
bool execute(THD *thd);
|
||||
bool execute(THD *thd) override;
|
||||
|
||||
virtual enum_sql_command sql_command_code() const
|
||||
enum_sql_command sql_command_code() const override
|
||||
{
|
||||
return SQLCOM_ANALYZE;
|
||||
}
|
||||
@ -61,9 +61,9 @@ public:
|
||||
|
||||
~Sql_cmd_check_table() = default;
|
||||
|
||||
bool execute(THD *thd);
|
||||
bool execute(THD *thd) override;
|
||||
|
||||
virtual enum_sql_command sql_command_code() const
|
||||
enum_sql_command sql_command_code() const override
|
||||
{
|
||||
return SQLCOM_CHECK;
|
||||
}
|
||||
@ -83,9 +83,9 @@ public:
|
||||
|
||||
~Sql_cmd_optimize_table() = default;
|
||||
|
||||
bool execute(THD *thd);
|
||||
bool execute(THD *thd) override;
|
||||
|
||||
virtual enum_sql_command sql_command_code() const
|
||||
enum_sql_command sql_command_code() const override
|
||||
{
|
||||
return SQLCOM_OPTIMIZE;
|
||||
}
|
||||
@ -106,9 +106,9 @@ public:
|
||||
|
||||
~Sql_cmd_repair_table() = default;
|
||||
|
||||
bool execute(THD *thd);
|
||||
bool execute(THD *thd) override;
|
||||
|
||||
virtual enum_sql_command sql_command_code() const
|
||||
enum_sql_command sql_command_code() const override
|
||||
{
|
||||
return SQLCOM_REPAIR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user