mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
60a4499bae
repl-tests/test-repl-alter/run.test: added sleep to allow time for replication
12 lines
420 B
Text
12 lines
420 B
Text
source ../include/master-slave.inc;
|
|
connection master;
|
|
drop table if exists test;
|
|
CREATE TABLE test (name varchar(64), age smallint(3));
|
|
INSERT INTO test SET name='Andy', age=31;
|
|
INSERT test SET name='Jacob', age=2;
|
|
INSERT into test SET name='Caleb', age=1;
|
|
ALTER TABLE test ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
|
|
@test.master select * from test;
|
|
connection slave;
|
|
sleep 3;
|
|
@test.master select * from test;
|