mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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
@ -1528,14 +1528,14 @@ class Silence_all_errors : public Internal_error_handler
|
||||
int error;
|
||||
public:
|
||||
Silence_all_errors():error(0) {}
|
||||
virtual ~Silence_all_errors() {}
|
||||
~Silence_all_errors() override {}
|
||||
|
||||
virtual bool handle_condition(THD *thd,
|
||||
bool handle_condition(THD *thd,
|
||||
uint sql_errno,
|
||||
const char* sql_state,
|
||||
Sql_condition::enum_warning_level *level,
|
||||
const char* msg,
|
||||
Sql_condition ** cond_hdl)
|
||||
Sql_condition ** cond_hdl) override
|
||||
{
|
||||
error= sql_errno;
|
||||
*cond_hdl= NULL;
|
||||
|
Reference in New Issue
Block a user