1
1
/* -*- C++ -*- */
2
2
/*
3
3
Copyright (c) 2002, 2011, Oracle and/or its affiliates.
4
- Copyright (c) 2020, MariaDB
4
+ Copyright (c) 2020, 2022, MariaDB
5
5
6
6
This program is free software; you can redistribute it and/or modify
7
7
it under the terms of the GNU General Public License as published by
@@ -1060,7 +1060,7 @@ class sp_lex_cursor: public sp_lex_local, public Query_arena
1060
1060
~sp_lex_cursor () { free_items (); }
1061
1061
virtual bool cleanup_stmt (bool /* restore_set_statement_vars*/ ) override
1062
1062
{ return false ; }
1063
- Query_arena *query_arena () { return this ; }
1063
+ Query_arena *query_arena () override { return this ; }
1064
1064
bool validate ()
1065
1065
{
1066
1066
DBUG_ASSERT (sql_command == SQLCOM_SELECT);
@@ -1840,9 +1840,9 @@ class sp_instr_cpush : public sp_instr, public sp_cursor
1840
1840
virtual ~sp_instr_cpush ()
1841
1841
{}
1842
1842
1843
- virtual int execute (THD *thd, uint *nextp);
1843
+ int execute (THD *thd, uint *nextp) override ;
1844
1844
1845
- virtual void print (String *str);
1845
+ void print (String *str) override ;
1846
1846
1847
1847
/* *
1848
1848
This call is used to cleanup the instruction when a sensitive
@@ -1857,7 +1857,7 @@ class sp_instr_cpush : public sp_instr, public sp_cursor
1857
1857
uint m_cursor; /* *< Frame offset (for debugging) */
1858
1858
1859
1859
public:
1860
- virtual PSI_statement_info* get_psi_info () { return & psi_info; }
1860
+ PSI_statement_info* get_psi_info () override { return & psi_info; }
1861
1861
static PSI_statement_info psi_info;
1862
1862
}; // class sp_instr_cpush : public sp_instr
1863
1863
0 commit comments