diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-08-02 18:12:09 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-08-02 18:12:09 +0400 |
commit | 5c49041b170f6d7785008c30513c38df37d60e3b (patch) | |
tree | ebe70d65b297cd17b562389ecc1456c229af1db4 /sql/table.h | |
parent | 0f985c6407f331d7be9fd98af2104ca14ec6adf8 (diff) | |
download | mariadb-git-5c49041b170f6d7785008c30513c38df37d60e3b.tar.gz |
MDEV-4816: rpl.rpl_trunc_temp fails in 10.0-serg
Temorary fix for a number of replication tests (rpl.rpl_temp_table_mix_row
rpl.rpl_trunc_temp rpl.rpl_current_user rpl.rpl_gtid_master_promote):
- THD::decide_logging_format() should not assume that mysql.gtid_slave_pos is
a non-replicated table. This used to cause unintended behavior for COMMIT
statement: replication would switch to row-based, etc.
The question of what should be done when a user issues a statement that
explicitly modifies mysql.gtid_slave_pos table remains open.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 9079d6fa847..85beb808e3c 100644 --- a/sql/table.h +++ b/sql/table.h @@ -644,6 +644,8 @@ 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. |