mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
16 lines
425 B
Text
16 lines
425 B
Text
|
source t/include/master-slave.inc;
|
||
|
connection master;
|
||
|
use test;
|
||
|
drop table if exists words;
|
||
|
create table words (word char(20) not null);
|
||
|
load data infile '../../std_data/words' into table words;
|
||
|
drop table if exists foo;
|
||
|
create table foo(n int);
|
||
|
insert into foo values(1),(2);
|
||
|
connection slave;
|
||
|
sleep 3;
|
||
|
use test;
|
||
|
@r/3.23/rpl000001.a.result select * from foo;
|
||
|
@r/3.23/rpl000001.b.result select sum(length(word)) from words;
|
||
|
|