mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.11 into 11.0
This commit is contained in:
@@ -891,7 +891,7 @@ struct xid_t {
|
||||
long bqual_length;
|
||||
char data[XIDDATASIZE]; // not \0-terminated !
|
||||
|
||||
xid_t() {} /* Remove gcc warning */
|
||||
xid_t() = default; /* Remove gcc warning */
|
||||
bool eq(struct xid_t *xid) const
|
||||
{ return !xid->is_null() && eq(xid->gtrid_length, xid->bqual_length, xid->data); }
|
||||
bool eq(long g, long b, const char *d) const
|
||||
@@ -1588,7 +1588,7 @@ struct handlerton
|
||||
public:
|
||||
virtual bool add_table(const char *tname, size_t tlen) = 0;
|
||||
virtual bool add_file(const char *fname) = 0;
|
||||
protected: virtual ~discovered_list() {}
|
||||
protected: virtual ~discovered_list() = default;
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -1831,7 +1831,7 @@ struct THD_TRANS
|
||||
m_unsafe_rollback_flags= 0;
|
||||
}
|
||||
bool is_empty() const { return ha_list == NULL; }
|
||||
THD_TRANS() {} /* Remove gcc warning */
|
||||
THD_TRANS() = default; /* Remove gcc warning */
|
||||
|
||||
unsigned int m_unsafe_rollback_flags;
|
||||
/*
|
||||
@@ -2072,7 +2072,7 @@ struct Table_period_info: Sql_alloc
|
||||
|
||||
struct start_end_t
|
||||
{
|
||||
start_end_t() {};
|
||||
start_end_t() = default;
|
||||
start_end_t(const LEX_CSTRING& _start, const LEX_CSTRING& _end) :
|
||||
start(_start),
|
||||
end(_end) {}
|
||||
@@ -2432,9 +2432,9 @@ struct KEY_PAIR
|
||||
class inplace_alter_handler_ctx : public Sql_alloc
|
||||
{
|
||||
public:
|
||||
inplace_alter_handler_ctx() {}
|
||||
inplace_alter_handler_ctx() = default;
|
||||
|
||||
virtual ~inplace_alter_handler_ctx() {}
|
||||
virtual ~inplace_alter_handler_ctx() = default;
|
||||
virtual void set_shared_data(const inplace_alter_handler_ctx& ctx) {}
|
||||
};
|
||||
|
||||
@@ -2681,7 +2681,7 @@ typedef class Item COND;
|
||||
|
||||
typedef struct st_ha_check_opt
|
||||
{
|
||||
st_ha_check_opt() {} /* Remove gcc warning */
|
||||
st_ha_check_opt() = default; /* Remove gcc warning */
|
||||
uint flags; /* isam layer flags (e.g. for myisamchk) */
|
||||
uint sql_flags; /* sql layer flags - for something myisamchk cannot do */
|
||||
time_t start_time; /* When check/repair starts */
|
||||
@@ -3065,8 +3065,8 @@ uint calculate_key_len(TABLE *, uint, const uchar *, key_part_map);
|
||||
class Handler_share
|
||||
{
|
||||
public:
|
||||
Handler_share() {}
|
||||
virtual ~Handler_share() {}
|
||||
Handler_share() = default;
|
||||
virtual ~Handler_share() = default;
|
||||
};
|
||||
|
||||
enum class Compare_keys : uint32_t
|
||||
@@ -3497,6 +3497,7 @@ public:
|
||||
}
|
||||
|
||||
int check_collation_compatibility();
|
||||
int check_long_hash_compatibility() const;
|
||||
int ha_check_for_upgrade(HA_CHECK_OPT *check_opt);
|
||||
/** to be actually called to get 'check()' functionality*/
|
||||
int ha_check(THD *thd, HA_CHECK_OPT *check_opt);
|
||||
@@ -5460,7 +5461,7 @@ public:
|
||||
const LEX_CSTRING *wild_arg);
|
||||
Discovered_table_list(THD *thd_arg, Dynamic_array<LEX_CSTRING*> *tables_arg)
|
||||
: thd(thd_arg), wild(NULL), with_temps(true), tables(tables_arg) {}
|
||||
~Discovered_table_list() {}
|
||||
~Discovered_table_list() = default;
|
||||
|
||||
bool add_table(const char *tname, size_t tlen);
|
||||
bool add_file(const char *fname);
|
||||
|
Reference in New Issue
Block a user