mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
ac2b587029
into mysql.com:/home/bk/w3023-mysql-5.1-new configure.in: Auto merged mysql-test/extra/binlog_tests/insert_select-binlog.test: Auto merged mysql-test/r/binlog_row_insert_select.result: Auto merged mysql-test/r/rpl_row_basic_11bugs.result: Auto merged scripts/mysql_fix_privilege_tables.sql: Auto merged sql/ha_ndbcluster_binlog.cc: Auto merged sql/handler.h: Auto merged sql/log_event.cc: Auto merged sql/log_event.h: Auto merged sql/mysql_priv.h: Auto merged sql/sql_acl.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_table.cc: Auto merged client/Makefile.am: Merging with mysql-5.1-new mysql-test/r/binlog_row_ctype_cp932.result: Merging with mysql-5.1-new mysql-test/r/rpl_ndb_blob.result: Merging with mysql-5.1-new mysql-test/r/rpl_ndb_dd_basic.result: Merging with mysql-5.1-new
46 lines
1,003 B
Text
46 lines
1,003 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
CREATE DATABASE test_ignore;
|
|
**** On Master ****
|
|
SHOW DATABASES;
|
|
Database
|
|
information_schema
|
|
cluster
|
|
mysql
|
|
test
|
|
test_ignore
|
|
USE test;
|
|
CREATE TABLE t1 (a INT, b INT);
|
|
SHOW TABLES;
|
|
Tables_in_test
|
|
t1
|
|
INSERT INTO t1 VALUES (1,1), (2,2);
|
|
USE test_ignore;
|
|
CREATE TABLE t2 (a INT, b INT);
|
|
SHOW TABLES;
|
|
Tables_in_test_ignore
|
|
t2
|
|
INSERT INTO t2 VALUES (3,3), (4,4);
|
|
SHOW BINLOG EVENTS FROM 102;
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
|
master-bin.000001 102 Query 1 195 use `test`; CREATE TABLE t1 (a INT, b INT)
|
|
master-bin.000001 195 Table_map 1 235 table_id: # (test.t1)
|
|
master-bin.000001 235 Write_rows 1 282 table_id: # flags: STMT_END_F
|
|
**** On Slave ****
|
|
SHOW DATABASES;
|
|
Database
|
|
information_schema
|
|
cluster
|
|
mysql
|
|
test
|
|
USE test;
|
|
SHOW TABLES;
|
|
Tables_in_test
|
|
t1
|
|
USE test_ignore;
|
|
ERROR 42000: Unknown database 'test_ignore'
|
|
DROP DATABASE test_ignore;
|