include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
create table tt (id int primary key, x int) engine = tokudb;
set session sql_mode=(select replace(@@sql_mode,'STRICT_TRANS_TABLES',''));
Warnings:
Warning	3135	'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
set session sql_mode=(select replace(@@sql_mode,'STRICT_ALL_TABLES',''));
Warnings:
Warning	3135	'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
set session tokudb_enable_fast_update=1;
set session sql_mode=(select replace(@@sql_mode,'STRICT_TRANS_TABLES',''));
Warnings:
Warning	3135	'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
set session sql_mode=(select replace(@@sql_mode,'STRICT_ALL_TABLES',''));
Warnings:
Warning	3135	'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
set session tokudb_enable_fast_update=1;
insert into tt values (0,0) on duplicate key update x=x+1;
insert into tt values (1,0) on duplicate key update x=x+1;
insert into tt values (2,0) on duplicate key update x=x+1;
insert into tt values (3,0) on duplicate key update x=x+1;
insert into tt values (4,0) on duplicate key update x=x+1;
insert into tt values (5,0) on duplicate key update x=x+1;
insert into tt values (6,0) on duplicate key update x=x+1;
insert into tt values (7,0) on duplicate key update x=x+1;
insert into tt values (8,0) on duplicate key update x=x+1;
insert into tt values (9,0) on duplicate key update x=x+1;
insert into tt values (10,0) on duplicate key update x=x+1;
insert into tt values (11,0) on duplicate key update x=x+1;
insert into tt values (12,0) on duplicate key update x=x+1;
insert into tt values (13,0) on duplicate key update x=x+1;
insert into tt values (14,0) on duplicate key update x=x+1;
insert into tt values (15,0) on duplicate key update x=x+1;
insert into tt values (16,0) on duplicate key update x=x+1;
insert into tt values (17,0) on duplicate key update x=x+1;
insert into tt values (18,0) on duplicate key update x=x+1;
insert into tt values (19,0) on duplicate key update x=x+1;
insert into tt values (20,0) on duplicate key update x=x+1;
insert into tt values (21,0) on duplicate key update x=x+1;
insert into tt values (22,0) on duplicate key update x=x+1;
insert into tt values (23,0) on duplicate key update x=x+1;
insert into tt values (24,0) on duplicate key update x=x+1;
insert into tt values (25,0) on duplicate key update x=x+1;
insert into tt values (26,0) on duplicate key update x=x+1;
insert into tt values (27,0) on duplicate key update x=x+1;
insert into tt values (28,0) on duplicate key update x=x+1;
insert into tt values (29,0) on duplicate key update x=x+1;
insert into tt values (30,0) on duplicate key update x=x+1;
insert into tt values (31,0) on duplicate key update x=x+1;
insert into tt values (32,0) on duplicate key update x=x+1;
insert into tt values (33,0) on duplicate key update x=x+1;
insert into tt values (34,0) on duplicate key update x=x+1;
insert into tt values (35,0) on duplicate key update x=x+1;
insert into tt values (36,0) on duplicate key update x=x+1;
insert into tt values (37,0) on duplicate key update x=x+1;
insert into tt values (38,0) on duplicate key update x=x+1;
insert into tt values (39,0) on duplicate key update x=x+1;
insert into tt values (40,0) on duplicate key update x=x+1;
insert into tt values (41,0) on duplicate key update x=x+1;
insert into tt values (42,0) on duplicate key update x=x+1;
insert into tt values (43,0) on duplicate key update x=x+1;
insert into tt values (44,0) on duplicate key update x=x+1;
insert into tt values (45,0) on duplicate key update x=x+1;
insert into tt values (46,0) on duplicate key update x=x+1;
insert into tt values (47,0) on duplicate key update x=x+1;
insert into tt values (48,0) on duplicate key update x=x+1;
insert into tt values (49,0) on duplicate key update x=x+1;
insert into tt values (50,0) on duplicate key update x=x+1;
insert into tt values (51,0) on duplicate key update x=x+1;
insert into tt values (52,0) on duplicate key update x=x+1;
insert into tt values (53,0) on duplicate key update x=x+1;
insert into tt values (54,0) on duplicate key update x=x+1;
insert into tt values (55,0) on duplicate key update x=x+1;
insert into tt values (56,0) on duplicate key update x=x+1;
insert into tt values (57,0) on duplicate key update x=x+1;
insert into tt values (58,0) on duplicate key update x=x+1;
insert into tt values (59,0) on duplicate key update x=x+1;
insert into tt values (60,0) on duplicate key update x=x+1;
insert into tt values (61,0) on duplicate key update x=x+1;
insert into tt values (62,0) on duplicate key update x=x+1;
insert into tt values (63,0) on duplicate key update x=x+1;
insert into tt values (64,0) on duplicate key update x=x+1;
insert into tt values (65,0) on duplicate key update x=x+1;
insert into tt values (66,0) on duplicate key update x=x+1;
insert into tt values (67,0) on duplicate key update x=x+1;
insert into tt values (68,0) on duplicate key update x=x+1;
insert into tt values (69,0) on duplicate key update x=x+1;
insert into tt values (70,0) on duplicate key update x=x+1;
insert into tt values (71,0) on duplicate key update x=x+1;
insert into tt values (72,0) on duplicate key update x=x+1;
insert into tt values (73,0) on duplicate key update x=x+1;
insert into tt values (74,0) on duplicate key update x=x+1;
insert into tt values (75,0) on duplicate key update x=x+1;
insert into tt values (76,0) on duplicate key update x=x+1;
insert into tt values (77,0) on duplicate key update x=x+1;
insert into tt values (78,0) on duplicate key update x=x+1;
insert into tt values (79,0) on duplicate key update x=x+1;
insert into tt values (80,0) on duplicate key update x=x+1;
insert into tt values (81,0) on duplicate key update x=x+1;
insert into tt values (82,0) on duplicate key update x=x+1;
insert into tt values (83,0) on duplicate key update x=x+1;
insert into tt values (84,0) on duplicate key update x=x+1;
insert into tt values (85,0) on duplicate key update x=x+1;
insert into tt values (86,0) on duplicate key update x=x+1;
insert into tt values (87,0) on duplicate key update x=x+1;
insert into tt values (88,0) on duplicate key update x=x+1;
insert into tt values (89,0) on duplicate key update x=x+1;
insert into tt values (90,0) on duplicate key update x=x+1;
insert into tt values (91,0) on duplicate key update x=x+1;
insert into tt values (92,0) on duplicate key update x=x+1;
insert into tt values (93,0) on duplicate key update x=x+1;
insert into tt values (94,0) on duplicate key update x=x+1;
insert into tt values (95,0) on duplicate key update x=x+1;
insert into tt values (96,0) on duplicate key update x=x+1;
insert into tt values (97,0) on duplicate key update x=x+1;
insert into tt values (98,0) on duplicate key update x=x+1;
insert into tt values (99,0) on duplicate key update x=x+1;
insert into tt values (0,0) on duplicate key update x=x+1;
insert into tt values (1,0) on duplicate key update x=x+1;
insert into tt values (2,0) on duplicate key update x=x+1;
insert into tt values (3,0) on duplicate key update x=x+1;
insert into tt values (4,0) on duplicate key update x=x+1;
insert into tt values (5,0) on duplicate key update x=x+1;
insert into tt values (6,0) on duplicate key update x=x+1;
insert into tt values (7,0) on duplicate key update x=x+1;
insert into tt values (8,0) on duplicate key update x=x+1;
insert into tt values (9,0) on duplicate key update x=x+1;
insert into tt values (10,0) on duplicate key update x=x+1;
insert into tt values (11,0) on duplicate key update x=x+1;
insert into tt values (12,0) on duplicate key update x=x+1;
insert into tt values (13,0) on duplicate key update x=x+1;
insert into tt values (14,0) on duplicate key update x=x+1;
insert into tt values (15,0) on duplicate key update x=x+1;
insert into tt values (16,0) on duplicate key update x=x+1;
insert into tt values (17,0) on duplicate key update x=x+1;
insert into tt values (18,0) on duplicate key update x=x+1;
insert into tt values (19,0) on duplicate key update x=x+1;
insert into tt values (20,0) on duplicate key update x=x+1;
insert into tt values (21,0) on duplicate key update x=x+1;
insert into tt values (22,0) on duplicate key update x=x+1;
insert into tt values (23,0) on duplicate key update x=x+1;
insert into tt values (24,0) on duplicate key update x=x+1;
insert into tt values (25,0) on duplicate key update x=x+1;
insert into tt values (26,0) on duplicate key update x=x+1;
insert into tt values (27,0) on duplicate key update x=x+1;
insert into tt values (28,0) on duplicate key update x=x+1;
insert into tt values (29,0) on duplicate key update x=x+1;
insert into tt values (30,0) on duplicate key update x=x+1;
insert into tt values (31,0) on duplicate key update x=x+1;
insert into tt values (32,0) on duplicate key update x=x+1;
insert into tt values (33,0) on duplicate key update x=x+1;
insert into tt values (34,0) on duplicate key update x=x+1;
insert into tt values (35,0) on duplicate key update x=x+1;
insert into tt values (36,0) on duplicate key update x=x+1;
insert into tt values (37,0) on duplicate key update x=x+1;
insert into tt values (38,0) on duplicate key update x=x+1;
insert into tt values (39,0) on duplicate key update x=x+1;
insert into tt values (40,0) on duplicate key update x=x+1;
insert into tt values (41,0) on duplicate key update x=x+1;
insert into tt values (42,0) on duplicate key update x=x+1;
insert into tt values (43,0) on duplicate key update x=x+1;
insert into tt values (44,0) on duplicate key update x=x+1;
insert into tt values (45,0) on duplicate key update x=x+1;
insert into tt values (46,0) on duplicate key update x=x+1;
insert into tt values (47,0) on duplicate key update x=x+1;
insert into tt values (48,0) on duplicate key update x=x+1;
insert into tt values (49,0) on duplicate key update x=x+1;
insert into tt values (50,0) on duplicate key update x=x+1;
insert into tt values (51,0) on duplicate key update x=x+1;
insert into tt values (52,0) on duplicate key update x=x+1;
insert into tt values (53,0) on duplicate key update x=x+1;
insert into tt values (54,0) on duplicate key update x=x+1;
insert into tt values (55,0) on duplicate key update x=x+1;
insert into tt values (56,0) on duplicate key update x=x+1;
insert into tt values (57,0) on duplicate key update x=x+1;
insert into tt values (58,0) on duplicate key update x=x+1;
insert into tt values (59,0) on duplicate key update x=x+1;
insert into tt values (60,0) on duplicate key update x=x+1;
insert into tt values (61,0) on duplicate key update x=x+1;
insert into tt values (62,0) on duplicate key update x=x+1;
insert into tt values (63,0) on duplicate key update x=x+1;
insert into tt values (64,0) on duplicate key update x=x+1;
insert into tt values (65,0) on duplicate key update x=x+1;
insert into tt values (66,0) on duplicate key update x=x+1;
insert into tt values (67,0) on duplicate key update x=x+1;
insert into tt values (68,0) on duplicate key update x=x+1;
insert into tt values (69,0) on duplicate key update x=x+1;
insert into tt values (70,0) on duplicate key update x=x+1;
insert into tt values (71,0) on duplicate key update x=x+1;
insert into tt values (72,0) on duplicate key update x=x+1;
insert into tt values (73,0) on duplicate key update x=x+1;
insert into tt values (74,0) on duplicate key update x=x+1;
insert into tt values (75,0) on duplicate key update x=x+1;
insert into tt values (76,0) on duplicate key update x=x+1;
insert into tt values (77,0) on duplicate key update x=x+1;
insert into tt values (78,0) on duplicate key update x=x+1;
insert into tt values (79,0) on duplicate key update x=x+1;
insert into tt values (80,0) on duplicate key update x=x+1;
insert into tt values (81,0) on duplicate key update x=x+1;
insert into tt values (82,0) on duplicate key update x=x+1;
insert into tt values (83,0) on duplicate key update x=x+1;
insert into tt values (84,0) on duplicate key update x=x+1;
insert into tt values (85,0) on duplicate key update x=x+1;
insert into tt values (86,0) on duplicate key update x=x+1;
insert into tt values (87,0) on duplicate key update x=x+1;
insert into tt values (88,0) on duplicate key update x=x+1;
insert into tt values (89,0) on duplicate key update x=x+1;
insert into tt values (90,0) on duplicate key update x=x+1;
insert into tt values (91,0) on duplicate key update x=x+1;
insert into tt values (92,0) on duplicate key update x=x+1;
insert into tt values (93,0) on duplicate key update x=x+1;
insert into tt values (94,0) on duplicate key update x=x+1;
insert into tt values (95,0) on duplicate key update x=x+1;
insert into tt values (96,0) on duplicate key update x=x+1;
insert into tt values (97,0) on duplicate key update x=x+1;
insert into tt values (98,0) on duplicate key update x=x+1;
insert into tt values (99,0) on duplicate key update x=x+1;
update tt set x=x+1 where id=0;
update tt set x=x+1 where id=1;
update tt set x=x+1 where id=2;
update tt set x=x+1 where id=3;
update tt set x=x+1 where id=4;
update tt set x=x+1 where id=5;
update tt set x=x+1 where id=6;
update tt set x=x+1 where id=7;
update tt set x=x+1 where id=8;
update tt set x=x+1 where id=9;
update tt set x=x+1 where id=10;
update tt set x=x+1 where id=11;
update tt set x=x+1 where id=12;
update tt set x=x+1 where id=13;
update tt set x=x+1 where id=14;
update tt set x=x+1 where id=15;
update tt set x=x+1 where id=16;
update tt set x=x+1 where id=17;
update tt set x=x+1 where id=18;
update tt set x=x+1 where id=19;
update tt set x=x+1 where id=20;
update tt set x=x+1 where id=21;
update tt set x=x+1 where id=22;
update tt set x=x+1 where id=23;
update tt set x=x+1 where id=24;
update tt set x=x+1 where id=25;
update tt set x=x+1 where id=26;
update tt set x=x+1 where id=27;
update tt set x=x+1 where id=28;
update tt set x=x+1 where id=29;
update tt set x=x+1 where id=30;
update tt set x=x+1 where id=31;
update tt set x=x+1 where id=32;
update tt set x=x+1 where id=33;
update tt set x=x+1 where id=34;
update tt set x=x+1 where id=35;
update tt set x=x+1 where id=36;
update tt set x=x+1 where id=37;
update tt set x=x+1 where id=38;
update tt set x=x+1 where id=39;
update tt set x=x+1 where id=40;
update tt set x=x+1 where id=41;
update tt set x=x+1 where id=42;
update tt set x=x+1 where id=43;
update tt set x=x+1 where id=44;
update tt set x=x+1 where id=45;
update tt set x=x+1 where id=46;
update tt set x=x+1 where id=47;
update tt set x=x+1 where id=48;
update tt set x=x+1 where id=49;
update tt set x=x+1 where id=50;
update tt set x=x+1 where id=51;
update tt set x=x+1 where id=52;
update tt set x=x+1 where id=53;
update tt set x=x+1 where id=54;
update tt set x=x+1 where id=55;
update tt set x=x+1 where id=56;
update tt set x=x+1 where id=57;
update tt set x=x+1 where id=58;
update tt set x=x+1 where id=59;
update tt set x=x+1 where id=60;
update tt set x=x+1 where id=61;
update tt set x=x+1 where id=62;
update tt set x=x+1 where id=63;
update tt set x=x+1 where id=64;
update tt set x=x+1 where id=65;
update tt set x=x+1 where id=66;
update tt set x=x+1 where id=67;
update tt set x=x+1 where id=68;
update tt set x=x+1 where id=69;
update tt set x=x+1 where id=70;
update tt set x=x+1 where id=71;
update tt set x=x+1 where id=72;
update tt set x=x+1 where id=73;
update tt set x=x+1 where id=74;
update tt set x=x+1 where id=75;
update tt set x=x+1 where id=76;
update tt set x=x+1 where id=77;
update tt set x=x+1 where id=78;
update tt set x=x+1 where id=79;
update tt set x=x+1 where id=80;
update tt set x=x+1 where id=81;
update tt set x=x+1 where id=82;
update tt set x=x+1 where id=83;
update tt set x=x+1 where id=84;
update tt set x=x+1 where id=85;
update tt set x=x+1 where id=86;
update tt set x=x+1 where id=87;
update tt set x=x+1 where id=88;
update tt set x=x+1 where id=89;
update tt set x=x+1 where id=90;
update tt set x=x+1 where id=91;
update tt set x=x+1 where id=92;
update tt set x=x+1 where id=93;
update tt set x=x+1 where id=94;
update tt set x=x+1 where id=95;
update tt set x=x+1 where id=96;
update tt set x=x+1 where id=97;
update tt set x=x+1 where id=98;
update tt set x=x+1 where id=99;
select * from tt where x != 2;
id	x
include/diff_tables.inc [master:test.tt, slave:test.tt]
drop table tt;
include/rpl_end.inc
