summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/rpl/r/rpl_tokudb_read_only_ft.result
blob: 593f177569ff2d34b588ff341bce8ac97c523418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include/master-slave.inc
[connection master]
connection master;
drop table if exists t;
connection slave;
show variables like 'tokudb_rpl%';
Variable_name	Value
tokudb_rpl_check_readonly	ON
tokudb_rpl_lookup_rows	ON
tokudb_rpl_lookup_rows_delay	0
tokudb_rpl_unique_checks	OFF
tokudb_rpl_unique_checks_delay	5000
connection master;
create table t (a bigint not null, primary key(a)) engine=tokudb;
select unix_timestamp() into @tstart;
insert into t values (1);
insert into t values (2),(3);
insert into t values (4);
connection slave;
connection master;
select unix_timestamp()-@tstart <= 10;
unix_timestamp()-@tstart <= 10
0
connection slave;
connection master;
include/diff_tables.inc [master:test.t, slave:test.t]
connection master;
drop table if exists t;
connection slave;
include/rpl_end.inc