mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
584888abf7
mysql-test/include/default_mysqld.cnf: Turn on log-bin by default for all mysqlds mysql-test/suite/ndb/r/ndb_binlog_ddl_multi.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_discover.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_format.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_ignore_db.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_log_bin.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_multi.result: Update name of binlog file mysql-test/suite/ndb/t/ndb_binlog_discover.test: Update name of binlog file
80 lines
3.6 KiB
Text
80 lines
3.6 KiB
Text
drop table if exists t1,t2,t3;
|
|
reset master;
|
|
drop table if exists t1,t2,t3;
|
|
reset master;
|
|
set SQL_LOG_BIN=0;
|
|
create database mysqltest;
|
|
use mysqltest;
|
|
create table t1 (a int key, b int) engine=ndb;
|
|
create table t2 (a int key, b int) engine=ndb;
|
|
insert into t1 values (1,1);
|
|
alter table t1 add c int;
|
|
show binlog events from <binlog_start>;
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
|
mysqld-bin.000001 # Query 1 # BEGIN
|
|
mysqld-bin.000001 # Table_map 1 # table_id: # (mysqltest.t1)
|
|
mysqld-bin.000001 # Table_map 1 # table_id: # (mysql.ndb_apply_status)
|
|
mysqld-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
|
|
mysqld-bin.000001 # Query 1 # COMMIT
|
|
reset master;
|
|
use mysqltest;
|
|
insert into t2 values (1,1);
|
|
show binlog events from <binlog_start>;
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
|
mysqld-bin.000001 # Query 2 # BEGIN
|
|
mysqld-bin.000001 # Table_map 2 # table_id: # (mysqltest.t1)
|
|
mysqld-bin.000001 # Table_map 2 # table_id: # (mysql.ndb_apply_status)
|
|
mysqld-bin.000001 # Write_rows 2 # table_id: # flags: STMT_END_F
|
|
mysqld-bin.000001 # Query 2 # COMMIT
|
|
mysqld-bin.000001 # Query 2 # BEGIN
|
|
mysqld-bin.000001 # Table_map 2 # table_id: # (mysqltest.t2)
|
|
mysqld-bin.000001 # Table_map 2 # table_id: # (mysql.ndb_apply_status)
|
|
mysqld-bin.000001 # Write_rows 2 # table_id: #
|
|
mysqld-bin.000001 # Write_rows 2 # table_id: # flags: STMT_END_F
|
|
mysqld-bin.000001 # Query 2 # COMMIT
|
|
reset master;
|
|
use mysqltest;
|
|
drop table t1;
|
|
drop table t2;
|
|
create table t1 (d int key, e int) engine=ndb;
|
|
create table t2 (d int key, e int) engine=ndb;
|
|
insert into t1 values (1,1);
|
|
show binlog events from <binlog_start>;
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
|
mysqld-bin.000001 # Query 1 # BEGIN
|
|
mysqld-bin.000001 # Table_map 1 # table_id: # (mysqltest.t2)
|
|
mysqld-bin.000001 # Table_map 1 # table_id: # (mysql.ndb_apply_status)
|
|
mysqld-bin.000001 # Write_rows 1 # table_id: #
|
|
mysqld-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
|
|
mysqld-bin.000001 # Query 1 # COMMIT
|
|
mysqld-bin.000001 # Query 1 # use `mysqltest`; drop table t1
|
|
mysqld-bin.000001 # Query 1 # use `mysqltest`; drop table t2
|
|
mysqld-bin.000001 # Query 1 # use `mysqltest`; create table t1 (d int key, e int) engine=ndb
|
|
mysqld-bin.000001 # Query 1 # use `mysqltest`; create table t2 (d int key, e int) engine=ndb
|
|
mysqld-bin.000001 # Query 1 # BEGIN
|
|
mysqld-bin.000001 # Table_map 1 # table_id: # (mysqltest.t1)
|
|
mysqld-bin.000001 # Table_map 1 # table_id: # (mysql.ndb_apply_status)
|
|
mysqld-bin.000001 # Write_rows 1 # table_id: #
|
|
mysqld-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
|
|
mysqld-bin.000001 # Query 1 # COMMIT
|
|
use mysqltest;
|
|
insert into t2 values (1,1);
|
|
show binlog events from <binlog_start>;
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
|
mysqld-bin.000001 # Query 1 # use `mysqltest`; drop table `t1`
|
|
mysqld-bin.000001 # Query 1 # use `mysqltest`; drop table `t2`
|
|
mysqld-bin.000001 # Query 1 # use `mysqltest`; create table t1 (d int key, e int) engine=ndb
|
|
mysqld-bin.000001 # Query 1 # use `mysqltest`; create table t2 (d int key, e int) engine=ndb
|
|
mysqld-bin.000001 # Query 2 # BEGIN
|
|
mysqld-bin.000001 # Table_map 2 # table_id: # (mysqltest.t1)
|
|
mysqld-bin.000001 # Table_map 2 # table_id: # (mysql.ndb_apply_status)
|
|
mysqld-bin.000001 # Write_rows 2 # table_id: #
|
|
mysqld-bin.000001 # Write_rows 2 # table_id: # flags: STMT_END_F
|
|
mysqld-bin.000001 # Query 2 # COMMIT
|
|
mysqld-bin.000001 # Query 2 # BEGIN
|
|
mysqld-bin.000001 # Table_map 2 # table_id: # (mysqltest.t2)
|
|
mysqld-bin.000001 # Table_map 2 # table_id: # (mysql.ndb_apply_status)
|
|
mysqld-bin.000001 # Write_rows 2 # table_id: #
|
|
mysqld-bin.000001 # Write_rows 2 # table_id: # flags: STMT_END_F
|
|
mysqld-bin.000001 # Query 2 # COMMIT
|
|
drop database mysqltest;
|