mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Merge 10.8 into 10.9
This commit is contained in:
@@ -476,7 +476,7 @@ public:
|
||||
invisible(false), without_overlaps(false)
|
||||
{}
|
||||
Key(const Key &rhs, MEM_ROOT *mem_root);
|
||||
virtual ~Key() {}
|
||||
virtual ~Key() = default;
|
||||
/* Equality comparison of keys (ignoring name) */
|
||||
friend bool foreign_key_prefix(Key *a, Key *b);
|
||||
/**
|
||||
@@ -1227,7 +1227,7 @@ public:
|
||||
Query_arena() { INIT_ARENA_DBUG_INFO; }
|
||||
|
||||
virtual Type type() const;
|
||||
virtual ~Query_arena() {};
|
||||
virtual ~Query_arena() = default;
|
||||
|
||||
inline bool is_stmt_prepare() const { return state == STMT_INITIALIZED; }
|
||||
inline bool is_stmt_prepare_or_first_sp_execute() const
|
||||
@@ -1278,7 +1278,7 @@ public:
|
||||
Query_arena_memroot() : Query_arena()
|
||||
{}
|
||||
|
||||
virtual ~Query_arena_memroot() {}
|
||||
virtual ~Query_arena_memroot() = default;
|
||||
};
|
||||
|
||||
|
||||
@@ -1428,7 +1428,7 @@ public:
|
||||
my_bool query_cache_is_applicable;
|
||||
|
||||
/* This constructor is called for backup statements */
|
||||
Statement() {}
|
||||
Statement() = default;
|
||||
|
||||
Statement(LEX *lex_arg, MEM_ROOT *mem_root_arg,
|
||||
enum enum_state state_arg, ulong id_arg);
|
||||
@@ -1940,7 +1940,7 @@ protected:
|
||||
m_prev_internal_handler(NULL)
|
||||
{}
|
||||
|
||||
virtual ~Internal_error_handler() {}
|
||||
virtual ~Internal_error_handler() = default;
|
||||
|
||||
public:
|
||||
/**
|
||||
@@ -1998,7 +1998,7 @@ public:
|
||||
/* Ignore error */
|
||||
return TRUE;
|
||||
}
|
||||
Dummy_error_handler() {} /* Remove gcc warning */
|
||||
Dummy_error_handler() = default; /* Remove gcc warning */
|
||||
};
|
||||
|
||||
|
||||
@@ -2035,7 +2035,7 @@ public:
|
||||
class Drop_table_error_handler : public Internal_error_handler
|
||||
{
|
||||
public:
|
||||
Drop_table_error_handler() {}
|
||||
Drop_table_error_handler() = default;
|
||||
|
||||
public:
|
||||
bool handle_condition(THD *thd,
|
||||
@@ -2076,7 +2076,7 @@ private:
|
||||
class Turn_errors_to_warnings_handler : public Internal_error_handler
|
||||
{
|
||||
public:
|
||||
Turn_errors_to_warnings_handler() {}
|
||||
Turn_errors_to_warnings_handler() = default;
|
||||
bool handle_condition(THD *thd,
|
||||
uint sql_errno,
|
||||
const char* sqlstate,
|
||||
@@ -5747,7 +5747,7 @@ public:
|
||||
example for a duplicate row entry written to a temp table.
|
||||
*/
|
||||
virtual int send_data(List<Item> &items)=0;
|
||||
virtual ~select_result_sink() {};
|
||||
virtual ~select_result_sink() = default;
|
||||
void reset(THD *thd_arg) { thd= thd_arg; }
|
||||
};
|
||||
|
||||
@@ -5779,7 +5779,7 @@ public:
|
||||
ha_rows est_records; /* estimated number of records in the result */
|
||||
select_result(THD *thd_arg): select_result_sink(thd_arg), est_records(0) {}
|
||||
void set_unit(SELECT_LEX_UNIT *unit_arg) { unit= unit_arg; }
|
||||
virtual ~select_result() {};
|
||||
virtual ~select_result() = default;
|
||||
/**
|
||||
Change wrapped select_result.
|
||||
|
||||
@@ -7027,7 +7027,7 @@ class user_var_entry
|
||||
{
|
||||
CHARSET_INFO *m_charset;
|
||||
public:
|
||||
user_var_entry() {} /* Remove gcc warning */
|
||||
user_var_entry() = default; /* Remove gcc warning */
|
||||
LEX_CSTRING name;
|
||||
char *value;
|
||||
size_t length;
|
||||
@@ -7148,7 +7148,7 @@ public:
|
||||
enum type { SESSION_VAR, LOCAL_VAR, PARAM_VAR };
|
||||
type scope;
|
||||
my_var(const LEX_CSTRING *j, enum type s) : name(*j), scope(s) { }
|
||||
virtual ~my_var() {}
|
||||
virtual ~my_var() = default;
|
||||
virtual bool set(THD *thd, Item *val) = 0;
|
||||
virtual my_var_sp *get_my_var_sp() { return NULL; }
|
||||
};
|
||||
@@ -7169,7 +7169,7 @@ public:
|
||||
: my_var(j, LOCAL_VAR),
|
||||
m_rcontext_handler(rcontext_handler),
|
||||
m_type_handler(type_handler), offset(o), sp(s) { }
|
||||
~my_var_sp() { }
|
||||
~my_var_sp() = default;
|
||||
bool set(THD *thd, Item *val);
|
||||
my_var_sp *get_my_var_sp() { return this; }
|
||||
const Type_handler *type_handler() const
|
||||
@@ -7199,7 +7199,7 @@ class my_var_user: public my_var {
|
||||
public:
|
||||
my_var_user(const LEX_CSTRING *j)
|
||||
: my_var(j, SESSION_VAR) { }
|
||||
~my_var_user() { }
|
||||
~my_var_user() = default;
|
||||
bool set(THD *thd, Item *val);
|
||||
};
|
||||
|
||||
@@ -7212,7 +7212,7 @@ public:
|
||||
select_dumpvar(THD *thd_arg)
|
||||
:select_result_interceptor(thd_arg), row_count(0), m_var_sp_row(NULL)
|
||||
{ var_list.empty(); }
|
||||
~select_dumpvar() {}
|
||||
~select_dumpvar() = default;
|
||||
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
|
||||
int send_data(List<Item> &items);
|
||||
bool send_eof();
|
||||
|
Reference in New Issue
Block a user