mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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
@ -49,15 +49,15 @@ public:
|
||||
Materialized_cursor(select_result *result, TABLE *table);
|
||||
|
||||
int send_result_set_metadata(THD *thd, List<Item> &send_result_set_metadata);
|
||||
virtual bool is_open() const { return table != 0; }
|
||||
virtual int open(JOIN *join __attribute__((unused)));
|
||||
virtual void fetch(ulong num_rows);
|
||||
virtual void close();
|
||||
bool export_structure(THD *thd, Row_definition_list *defs)
|
||||
bool is_open() const override { return table != 0; }
|
||||
int open(JOIN *join __attribute__((unused))) override;
|
||||
void fetch(ulong num_rows) override;
|
||||
void close() override;
|
||||
bool export_structure(THD *thd, Row_definition_list *defs) override
|
||||
{
|
||||
return table->export_structure(thd, defs);
|
||||
}
|
||||
virtual ~Materialized_cursor();
|
||||
~Materialized_cursor() override;
|
||||
|
||||
void on_table_fill_finished();
|
||||
};
|
||||
@ -79,9 +79,9 @@ public:
|
||||
Materialized_cursor *materialized_cursor;
|
||||
Select_materialize(THD *thd_arg, select_result *result_arg):
|
||||
select_unit(thd_arg), result(result_arg), materialized_cursor(0) {}
|
||||
virtual bool send_result_set_metadata(List<Item> &list, uint flags);
|
||||
bool send_eof() { return false; }
|
||||
bool view_structure_only() const
|
||||
bool send_result_set_metadata(List<Item> &list, uint flags) override;
|
||||
bool send_eof() override { return false; }
|
||||
bool view_structure_only() const override
|
||||
{
|
||||
return result->view_structure_only();
|
||||
}
|
||||
|
Reference in New Issue
Block a user