mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
1f6ecc0cd3
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
17 lines
445 B
Text
17 lines
445 B
Text
source include/master-slave.inc;
|
|
|
|
CREATE TABLE t1 (name varchar(64), age smallint(3));
|
|
INSERT INTO t1 SET name='Andy', age=31;
|
|
INSERT t1 SET name='Jacob', age=2;
|
|
INSERT into t1 SET name='Caleb', age=1;
|
|
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
|
select * from t1;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
select * from t1;
|
|
connection master;
|
|
drop table t1;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|