mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
MDEV-4816: rpl.rpl_trunc_temp fails in 10.0-serg
Undo the previous band-aid fix in psergey@askmonty.org-20130802141209-4dqfvx2db8acxwbl. Kristian has made a proper fix, which uses a different approach.
This commit is contained in:
parent
0a20d762af
commit
0e593c123f
3 changed files with 1 additions and 5 deletions
|
@ -5054,7 +5054,7 @@ int THD::decide_logging_format(TABLE_LIST *tables)
|
|||
DBUG_PRINT("info", ("table: %s; ha_table_flags: 0x%llx",
|
||||
table->table_name, flags));
|
||||
|
||||
if (table->table->no_replicate && !table->table->s->is_gtid_slave_pos)
|
||||
if (table->table->no_replicate)
|
||||
{
|
||||
/*
|
||||
The statement uses a table that is not replicated.
|
||||
|
|
|
@ -315,8 +315,6 @@ TABLE_SHARE *alloc_table_share(const char *db, const char *table_name,
|
|||
strmov(share->path.str, path);
|
||||
share->normalized_path.str= share->path.str;
|
||||
share->normalized_path.length= path_length;
|
||||
/* TEMPORARY FIX: if true, this means this is mysql.gtid_slave_pos table */
|
||||
share->is_gtid_slave_pos= FALSE;
|
||||
share->table_category= get_table_category(& share->db, & share->table_name);
|
||||
share->open_errno= ENOENT;
|
||||
share->cached_row_logging_check= -1;
|
||||
|
|
|
@ -660,8 +660,6 @@ struct TABLE_SHARE
|
|||
LEX_STRING normalized_path; /* unpack_filename(path) */
|
||||
LEX_STRING connect_string;
|
||||
|
||||
bool is_gtid_slave_pos;
|
||||
|
||||
/*
|
||||
Set of keys in use, implemented as a Bitmap.
|
||||
Excludes keys disabled by ALTER TABLE ... DISABLE KEYS.
|
||||
|
|
Loading…
Reference in a new issue