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
@ -39,12 +39,12 @@ public:
|
||||
: m_info(info)
|
||||
{}
|
||||
|
||||
virtual enum_sql_command sql_command_code() const
|
||||
enum_sql_command sql_command_code() const override
|
||||
{
|
||||
return SQLCOM_GET_DIAGNOSTICS;
|
||||
}
|
||||
|
||||
virtual bool execute(THD *thd);
|
||||
bool execute(THD *thd) override;
|
||||
|
||||
private:
|
||||
/** The information to be obtained. */
|
||||
@ -223,7 +223,7 @@ public:
|
||||
{}
|
||||
|
||||
/** Obtain statement information in the context of a diagnostics area. */
|
||||
bool aggregate(THD *thd, const Diagnostics_area *da);
|
||||
bool aggregate(THD *thd, const Diagnostics_area *da) override;
|
||||
|
||||
private:
|
||||
/* List of statement information items. */
|
||||
@ -301,7 +301,7 @@ public:
|
||||
{}
|
||||
|
||||
/** Obtain condition information in the context of a diagnostics area. */
|
||||
bool aggregate(THD *thd, const Diagnostics_area *da);
|
||||
bool aggregate(THD *thd, const Diagnostics_area *da) override;
|
||||
|
||||
private:
|
||||
/**
|
||||
|
Reference in New Issue
Block a user