summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/rpl/r/rpl_parallel_tokudb_delete_pk.result
blob: 28f1a384236bfa331a4f0211f0b91ef8f4c7ab6f (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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	OFF
tokudb_rpl_lookup_rows_delay	10000
tokudb_rpl_unique_checks	OFF
tokudb_rpl_unique_checks_delay	10000
connection master;
create table t (a bigint not null, primary key(a)) engine=tokudb;
insert into t values (1);
insert into t values (2),(3);
insert into t values (4);
connection master;
connection slave;
connection master;
include/diff_tables.inc [master:test.t, slave:test.t]
Warnings:
Warning	1287	'<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
Warnings:
Warning	1287	'<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
connection master;
delete from t where a=2;
select unix_timestamp() into @tstart;
connection master;
connection slave;
connection master;
select unix_timestamp() into @tend;
select @tend-@tstart <= 5;
@tend-@tstart <= 5
1
include/diff_tables.inc [master:test.t, slave:test.t]
Warnings:
Warning	1287	'<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
Warnings:
Warning	1287	'<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
connection master;
drop table if exists t;
connection slave;
include/rpl_end.inc