mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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
@@ -127,10 +127,10 @@ struct pos_events_transactions_history : public PFS_double_index
|
||||
class table_events_transactions_common : public PFS_engine_table
|
||||
{
|
||||
protected:
|
||||
virtual int read_row_values(TABLE *table,
|
||||
unsigned char *buf,
|
||||
Field **fields,
|
||||
bool read_all);
|
||||
int read_row_values(TABLE *table,
|
||||
unsigned char *buf,
|
||||
Field **fields,
|
||||
bool read_all) override;
|
||||
|
||||
table_events_transactions_common(const PFS_engine_table_share *share, void *pos);
|
||||
|
||||
@@ -156,10 +156,10 @@ public:
|
||||
static int delete_all_rows();
|
||||
static ha_rows get_row_count();
|
||||
|
||||
virtual int rnd_init(bool scan);
|
||||
virtual int rnd_next();
|
||||
virtual int rnd_pos(const void *pos);
|
||||
virtual void reset_position(void);
|
||||
int rnd_init(bool scan) override;
|
||||
int rnd_next() override;
|
||||
int rnd_pos(const void *pos) override;
|
||||
void reset_position(void) override;
|
||||
|
||||
protected:
|
||||
table_events_transactions_current();
|
||||
@@ -198,10 +198,10 @@ public:
|
||||
static int delete_all_rows();
|
||||
static ha_rows get_row_count();
|
||||
|
||||
virtual int rnd_init(bool scan);
|
||||
virtual int rnd_next();
|
||||
virtual int rnd_pos(const void *pos);
|
||||
virtual void reset_position(void);
|
||||
int rnd_init(bool scan) override;
|
||||
int rnd_next() override;
|
||||
int rnd_pos(const void *pos) override;
|
||||
void reset_position(void) override;
|
||||
|
||||
protected:
|
||||
table_events_transactions_history();
|
||||
@@ -231,10 +231,10 @@ public:
|
||||
static int delete_all_rows();
|
||||
static ha_rows get_row_count();
|
||||
|
||||
virtual int rnd_init(bool scan);
|
||||
virtual int rnd_next();
|
||||
virtual int rnd_pos(const void *pos);
|
||||
virtual void reset_position(void);
|
||||
int rnd_init(bool scan) override;
|
||||
int rnd_next() override;
|
||||
int rnd_pos(const void *pos) override;
|
||||
void reset_position(void) override;
|
||||
|
||||
protected:
|
||||
table_events_transactions_history_long();
|
||||
|
Reference in New Issue
Block a user