mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#ifndef HANDLER_INCLUDED
|
||||
#define HANDLER_INCLUDED
|
||||
/*
|
||||
Copyright (c) 2000, 2016, Oracle and/or its affiliates.
|
||||
Copyright (c) 2000, 2019, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2019, MariaDB
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
|
||||
*/
|
||||
|
||||
/* Definitions for parameters to do with handler-routines */
|
||||
@ -2008,13 +2008,11 @@ struct Vers_parse_info: public Table_period_info
|
||||
{
|
||||
Vers_parse_info() :
|
||||
Table_period_info(STRING_WITH_LEN("SYSTEM_TIME")),
|
||||
check_unit(VERS_UNDEFINED),
|
||||
versioned_fields(false),
|
||||
unversioned_fields(false)
|
||||
{}
|
||||
|
||||
Table_period_info::start_end_t as_row;
|
||||
vers_sys_type_t check_unit;
|
||||
|
||||
protected:
|
||||
friend struct Table_scope_and_contents_source_st;
|
||||
@ -2049,8 +2047,8 @@ public:
|
||||
bool fix_create_like(Alter_info &alter_info, HA_CREATE_INFO &create_info,
|
||||
TABLE_LIST &src_table, TABLE_LIST &table);
|
||||
bool check_sys_fields(const Lex_table_name &table_name,
|
||||
const Lex_table_name &db,
|
||||
Alter_info *alter_info);
|
||||
const Lex_table_name &db, Alter_info *alter_info,
|
||||
bool can_native) const;
|
||||
|
||||
/**
|
||||
At least one field was specified 'WITH/WITHOUT SYSTEM VERSIONING'.
|
||||
@ -2284,6 +2282,7 @@ public:
|
||||
inplace_alter_handler_ctx() {}
|
||||
|
||||
virtual ~inplace_alter_handler_ctx() {}
|
||||
virtual void set_shared_data(const inplace_alter_handler_ctx& ctx) {}
|
||||
};
|
||||
|
||||
|
||||
@ -2881,6 +2880,7 @@ public:
|
||||
time_t check_time;
|
||||
time_t update_time;
|
||||
uint block_size; /* index block size */
|
||||
ha_checksum checksum;
|
||||
|
||||
/*
|
||||
number of buffer bytes that native mrr implementation needs,
|
||||
@ -3925,7 +3925,7 @@ public:
|
||||
virtual uint max_supported_key_part_length() const { return 255; }
|
||||
virtual uint min_record_length(uint options) const { return 1; }
|
||||
|
||||
virtual uint checksum() const { return 0; }
|
||||
virtual int calculate_checksum();
|
||||
virtual bool is_crashed() const { return 0; }
|
||||
virtual bool auto_repair(int error) const { return 0; }
|
||||
|
||||
@ -4499,6 +4499,12 @@ protected:
|
||||
public:
|
||||
bool check_table_binlog_row_based(bool binlog_row);
|
||||
|
||||
inline void clear_cached_table_binlog_row_based_flag()
|
||||
{
|
||||
check_table_binlog_row_based_done= 0;
|
||||
check_table_binlog_row_based_result= 0;
|
||||
}
|
||||
private:
|
||||
/* Cache result to avoid extra calls */
|
||||
inline void mark_trx_read_write()
|
||||
{
|
||||
|
Reference in New Issue
Block a user