Skip to content

Commit 4b1d9f2

Browse files
committed
WL#9167 Index merge hints.
Post-push fix: Fix Clang build warnings about inconsistent usage of 'override'.
1 parent f7cfe99 commit 4b1d9f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sql/opt_hints.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ class Opt_hints_table : public Opt_hints
550550
@param thd pointer to THD object
551551
@param str pointer to String object
552552
*/
553-
virtual void append_name(THD *thd, String *str)
553+
virtual void append_name(THD *thd, String *str) override
554554
{
555555
append_identifier(thd, str, get_name()->str, get_name()->length);
556556
get_parent()->append_name(thd, str);
@@ -562,7 +562,7 @@ class Opt_hints_table : public Opt_hints
562562
@param table Pointer to TABLE_LIST object
563563
*/
564564
void adjust_key_hints(TABLE_LIST *table);
565-
virtual PT_hint *get_complex_hints(opt_hints_enum type);
565+
virtual PT_hint *get_complex_hints(opt_hints_enum type) override;
566566

567567
void set_resolved() override
568568
{

sql/parse_tree_hints.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ class PT_key_level_hint : public PT_hint
231231
@return true in case of error,
232232
false otherwise
233233
*/
234-
virtual bool contextualize(Parse_context *pc);
234+
virtual bool contextualize(Parse_context *pc) override;
235235
void append_args(THD *thd, String *str) const override;
236236
};
237237

0 commit comments

Comments
 (0)