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.cc | |
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.cc')
-rw-r--r-- | sql/table.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc index b7b235dc180..3cba2c163ea 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -146,6 +146,8 @@ TABLE_SHARE *alloc_table_share(TABLE_LIST *table_list, char *key, under the protection of the LOCK_open mutex. */ share->table_map_id= ~0UL; + share->cached_row_logging_check= -1; + #endif memcpy((char*) &share->mem_root, (char*) &mem_root, sizeof(mem_root)); @@ -205,6 +207,7 @@ void init_tmp_table_share(TABLE_SHARE *share, const char *key, */ share->table_map_version= ~(ulonglong)0; share->table_map_id= ~0UL; + share->cached_row_logging_check= -1; #endif DBUG_VOID_RETURN; |