mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
3e90ec6a58
Set innobase_flush_log_at_trx_commit to 1 by default Fix problem with timestamp on 64 bit systems Reserve alarms for up to 10 slave threads BitKeeper/etc/logging_ok: auto-union mysql-test/t/rpl_alter.test: Auto merged mysys/charset.c: Auto merged sql/log_event.cc: Auto merged mysql-test/r/join.result: Merge with 3.23 mysql-test/t/join.test: Merge with 3.23 sql/ha_innodb.cc: Merge with 3.23; Set innobase_flush_log_at_trx_commit to 1 by default sql/log_event.h: Merge with 3.23; Fix problem with timestamp on 64 bit systems sql/mini_client.cc: Use local version sql/mysqld.cc: Reserve alarms for up to 10 slave threads sql/slave.cc: Use local version sql/sql_list.h: Use local version
19 lines
530 B
Text
19 lines
530 B
Text
source include/master-slave.inc;
|
|
drop database if exists test_$1;
|
|
create database test_$1;
|
|
create table test_$1.t1 ( n int);
|
|
alter table test_$1.t1 add m int;
|
|
insert into test_$1.t1 values (1,2);
|
|
create table test_$1.t2 (n int);
|
|
insert into test_$1.t2 values (45);
|
|
rename table test_$1.t2 to test_$1.t3, test_$1.t1 to test_$1.t2;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
select * from test_$1.t2;
|
|
select * from test_$1.t3;
|
|
connection master;
|
|
drop database test_$1;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|