mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
604e0535d7
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.
18 lines
592 B
Text
18 lines
592 B
Text
drop database if exists `drop-temp+table-test`;
|
|
reset master;
|
|
create database `drop-temp+table-test`;
|
|
use `drop-temp+table-test`;
|
|
create temporary table shortn1 (a int);
|
|
create temporary table `table:name` (a int);
|
|
create temporary table shortn2 (a int);
|
|
select get_lock("a",10);
|
|
get_lock("a",10)
|
|
1
|
|
select get_lock("a",10);
|
|
get_lock("a",10)
|
|
1
|
|
show binlog events;
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
|
master-bin.000001 # Format_desc 1 # Server ver: VERSION, Binlog ver: 4
|
|
master-bin.000001 # Query 1 # create database `drop-temp+table-test`
|
|
drop database `drop-temp+table-test`;
|