diff options
author | unknown <mats@mysql.com> | 2006-03-17 18:11:07 +0100 |
---|---|---|
committer | unknown <mats@mysql.com> | 2006-03-17 18:11:07 +0100 |
commit | 604e0535d770d5608a492d04d3b0255bfb929287 (patch) | |
tree | 10f2655ceef6f6a77c1daf4ef95e28fc10c39efe /sql/table.h | |
parent | 2d360cd035849ad678253be7f0d0f559ebe1898d (diff) | |
download | mariadb-git-604e0535d770d5608a492d04d3b0255bfb929287.tar.gz |
Bug#18280 (RBR: Extreneous maps when writing to general_log and slow_log):
Filter out replication general_log and slow_log entirely from binary
log. Caching result of table share-specific tests.
mysql-test/r/binlog_row_drop_tmp_tbl.result:
Result change
mysql-test/r/rpl_row_log.result:
Result change
mysql-test/r/rpl_row_log_innodb.result:
Result change
mysql-test/r/rpl_row_max_relay_size.result:
Result change
sql/handler.cc:
Refactoring code to support filtering many tables.
Filtering out mysql.general_log and mysql.slow_log from binary log.
Caching result from table share-specific tests.
sql/sql_class.cc:
Correcting comment
sql/sql_parse.cc:
Using binlog_query() instead of constructing Query_log_events
sql/table.cc:
Adding variable to cache table check parts for row-based logging.
sql/table.h:
Adding variable to cache table check parts for row-based logging.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 688154dd8fc..736e4509cd8 100644 --- a/sql/table.h +++ b/sql/table.h @@ -191,6 +191,15 @@ typedef struct st_table_share bool waiting_on_cond; /* Protection against free */ ulong table_map_id; /* for row-based replication */ ulonglong table_map_version; + + /* + Cache for row-based replication table share checks that does not + need to be repeated. Possible values are: -1 when cache value is + not calculated yet, 0 when table *shall not* be replicated, 1 when + table *may* be replicated. + */ + int cached_row_logging_check; + /* TRUE if this is a system table like 'mysql.proc', which we want to be able to open and lock even when we already have some tables open and |