1
0
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:
Dave Gosselin
2024-06-12 09:46:26 -04:00
committed by Dave Gosselin
parent ab448d4b34
commit db0c28eff8
306 changed files with 8808 additions and 8781 deletions

View File

@@ -95,16 +95,16 @@ public:
static PFS_engine_table* create();
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;
virtual int update_row_values(TABLE *table,
const unsigned char *old_buf,
const unsigned char *new_buf,
Field **fields);
int update_row_values(TABLE *table,
const unsigned char *old_buf,
const unsigned char *new_buf,
Field **fields) override;
protected:
table_threads();
@@ -113,7 +113,7 @@ public:
~table_threads() = default;
private:
virtual void make_row(PFS_thread *pfs);
void make_row(PFS_thread *pfs) override;
/** Table share lock. */
static THR_LOCK m_table_lock;