Commit 5e685cef authored by Rich Prohaska's avatar Rich Prohaska

refs #5725 remove the tokudb_enable_fast_update/upsert variable

git-svn-id: file:///svn/mysql/tests/mysql-test@52230 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8a19b9bf
include/master-slave.inc
[connection master]
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
create table tt (id int primary key, x int); create table tt (id int primary key, x int);
set session tokudb_enable_fast_upsert=1;
set session tokudb_disable_slow_upsert=1; set session tokudb_disable_slow_upsert=1;
insert noar into tt values (1,0); show variables like 'binlog_format';
insert noar into tt values (1,0) on duplicate key update x=x+1; Variable_name Value
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version binlog_format MIXED
insert noar into tt values (2,0) on duplicate key update x=x+1; show variables like 'server_id';
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version Variable_name Value
set session tokudb_enable_fast_update=1; server_id 1
set session tokudb_disable_slow_update=1; show variables like 'binlog_format';
Variable_name Value
binlog_format MIXED
show variables like 'server_id';
Variable_name Value
server_id 2
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 noar tt set x=x+1 where id=0;
update noar tt set x=x+1 where id=1; update noar tt set x=x+1 where id=1;
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
update noar tt set x=x+1 where id=2; update noar tt set x=x+1 where id=2;
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version update noar tt set x=x+1 where id=3;
update noar tt set x=x+1 where id=4;
update noar tt set x=x+1 where id=5;
update noar tt set x=x+1 where id=6;
update noar tt set x=x+1 where id=7;
update noar tt set x=x+1 where id=8;
update noar tt set x=x+1 where id=9;
update noar tt set x=x+1 where id=10;
update noar tt set x=x+1 where id=11;
update noar tt set x=x+1 where id=12;
update noar tt set x=x+1 where id=13;
update noar tt set x=x+1 where id=14;
update noar tt set x=x+1 where id=15;
update noar tt set x=x+1 where id=16;
update noar tt set x=x+1 where id=17;
update noar tt set x=x+1 where id=18;
update noar tt set x=x+1 where id=19;
update noar tt set x=x+1 where id=20;
update noar tt set x=x+1 where id=21;
update noar tt set x=x+1 where id=22;
update noar tt set x=x+1 where id=23;
update noar tt set x=x+1 where id=24;
update noar tt set x=x+1 where id=25;
update noar tt set x=x+1 where id=26;
update noar tt set x=x+1 where id=27;
update noar tt set x=x+1 where id=28;
update noar tt set x=x+1 where id=29;
update noar tt set x=x+1 where id=30;
update noar tt set x=x+1 where id=31;
update noar tt set x=x+1 where id=32;
update noar tt set x=x+1 where id=33;
update noar tt set x=x+1 where id=34;
update noar tt set x=x+1 where id=35;
update noar tt set x=x+1 where id=36;
update noar tt set x=x+1 where id=37;
update noar tt set x=x+1 where id=38;
update noar tt set x=x+1 where id=39;
update noar tt set x=x+1 where id=40;
update noar tt set x=x+1 where id=41;
update noar tt set x=x+1 where id=42;
update noar tt set x=x+1 where id=43;
update noar tt set x=x+1 where id=44;
update noar tt set x=x+1 where id=45;
update noar tt set x=x+1 where id=46;
update noar tt set x=x+1 where id=47;
update noar tt set x=x+1 where id=48;
update noar tt set x=x+1 where id=49;
update noar tt set x=x+1 where id=50;
update noar tt set x=x+1 where id=51;
update noar tt set x=x+1 where id=52;
update noar tt set x=x+1 where id=53;
update noar tt set x=x+1 where id=54;
update noar tt set x=x+1 where id=55;
update noar tt set x=x+1 where id=56;
update noar tt set x=x+1 where id=57;
update noar tt set x=x+1 where id=58;
update noar tt set x=x+1 where id=59;
update noar tt set x=x+1 where id=60;
update noar tt set x=x+1 where id=61;
update noar tt set x=x+1 where id=62;
update noar tt set x=x+1 where id=63;
update noar tt set x=x+1 where id=64;
update noar tt set x=x+1 where id=65;
update noar tt set x=x+1 where id=66;
update noar tt set x=x+1 where id=67;
update noar tt set x=x+1 where id=68;
update noar tt set x=x+1 where id=69;
update noar tt set x=x+1 where id=70;
update noar tt set x=x+1 where id=71;
update noar tt set x=x+1 where id=72;
update noar tt set x=x+1 where id=73;
update noar tt set x=x+1 where id=74;
update noar tt set x=x+1 where id=75;
update noar tt set x=x+1 where id=76;
update noar tt set x=x+1 where id=77;
update noar tt set x=x+1 where id=78;
update noar tt set x=x+1 where id=79;
update noar tt set x=x+1 where id=80;
update noar tt set x=x+1 where id=81;
update noar tt set x=x+1 where id=82;
update noar tt set x=x+1 where id=83;
update noar tt set x=x+1 where id=84;
update noar tt set x=x+1 where id=85;
update noar tt set x=x+1 where id=86;
update noar tt set x=x+1 where id=87;
update noar tt set x=x+1 where id=88;
update noar tt set x=x+1 where id=89;
update noar tt set x=x+1 where id=90;
update noar tt set x=x+1 where id=91;
update noar tt set x=x+1 where id=92;
update noar tt set x=x+1 where id=93;
update noar tt set x=x+1 where id=94;
update noar tt set x=x+1 where id=95;
update noar tt set x=x+1 where id=96;
update noar tt set x=x+1 where id=97;
update noar tt set x=x+1 where id=98;
update noar 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; drop table tt;
include/rpl_end.inc
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
create table tt (id int primary key, x int); create table tt (id int primary key, x int);
set session tokudb_enable_fast_upsert=1;
set session tokudb_disable_slow_upsert=1; set session tokudb_disable_slow_upsert=1;
insert noar into tt values (1,0); insert noar into tt values (1,0);
insert noar into tt values (1,0) on duplicate key update x=x+1; insert noar into tt values (1,0) on duplicate key update x=x+1;
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
insert noar into tt values (2,0) on duplicate key update x=x+1; insert noar into tt values (2,0) on duplicate key update x=x+1;
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
set session tokudb_enable_fast_update=1;
set session tokudb_disable_slow_update=1; set session tokudb_disable_slow_update=1;
update noar tt set x=x+1 where id=1; update noar tt set x=x+1 where id=1;
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
......
include/master-slave.inc
[connection master]
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
create table tt (id int primary key, x int); create table tt (id int primary key, x int);
set session tokudb_enable_fast_upsert=1;
set session tokudb_disable_slow_upsert=1; set session tokudb_disable_slow_upsert=1;
insert noar into tt values (1,0); show variables like 'binlog_format';
insert noar into tt values (1,0) on duplicate key update x=x+1; Variable_name Value
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version binlog_format STATEMENT
insert noar into tt values (2,0) on duplicate key update x=x+1; show variables like 'server_id';
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version Variable_name Value
set session tokudb_enable_fast_update=1; server_id 1
set session tokudb_disable_slow_update=1; show variables like 'binlog_format';
Variable_name Value
binlog_format STATEMENT
show variables like 'server_id';
Variable_name Value
server_id 2
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 noar tt set x=x+1 where id=0;
update noar tt set x=x+1 where id=1; update noar tt set x=x+1 where id=1;
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
update noar tt set x=x+1 where id=2; update noar tt set x=x+1 where id=2;
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version update noar tt set x=x+1 where id=3;
update noar tt set x=x+1 where id=4;
update noar tt set x=x+1 where id=5;
update noar tt set x=x+1 where id=6;
update noar tt set x=x+1 where id=7;
update noar tt set x=x+1 where id=8;
update noar tt set x=x+1 where id=9;
update noar tt set x=x+1 where id=10;
update noar tt set x=x+1 where id=11;
update noar tt set x=x+1 where id=12;
update noar tt set x=x+1 where id=13;
update noar tt set x=x+1 where id=14;
update noar tt set x=x+1 where id=15;
update noar tt set x=x+1 where id=16;
update noar tt set x=x+1 where id=17;
update noar tt set x=x+1 where id=18;
update noar tt set x=x+1 where id=19;
update noar tt set x=x+1 where id=20;
update noar tt set x=x+1 where id=21;
update noar tt set x=x+1 where id=22;
update noar tt set x=x+1 where id=23;
update noar tt set x=x+1 where id=24;
update noar tt set x=x+1 where id=25;
update noar tt set x=x+1 where id=26;
update noar tt set x=x+1 where id=27;
update noar tt set x=x+1 where id=28;
update noar tt set x=x+1 where id=29;
update noar tt set x=x+1 where id=30;
update noar tt set x=x+1 where id=31;
update noar tt set x=x+1 where id=32;
update noar tt set x=x+1 where id=33;
update noar tt set x=x+1 where id=34;
update noar tt set x=x+1 where id=35;
update noar tt set x=x+1 where id=36;
update noar tt set x=x+1 where id=37;
update noar tt set x=x+1 where id=38;
update noar tt set x=x+1 where id=39;
update noar tt set x=x+1 where id=40;
update noar tt set x=x+1 where id=41;
update noar tt set x=x+1 where id=42;
update noar tt set x=x+1 where id=43;
update noar tt set x=x+1 where id=44;
update noar tt set x=x+1 where id=45;
update noar tt set x=x+1 where id=46;
update noar tt set x=x+1 where id=47;
update noar tt set x=x+1 where id=48;
update noar tt set x=x+1 where id=49;
update noar tt set x=x+1 where id=50;
update noar tt set x=x+1 where id=51;
update noar tt set x=x+1 where id=52;
update noar tt set x=x+1 where id=53;
update noar tt set x=x+1 where id=54;
update noar tt set x=x+1 where id=55;
update noar tt set x=x+1 where id=56;
update noar tt set x=x+1 where id=57;
update noar tt set x=x+1 where id=58;
update noar tt set x=x+1 where id=59;
update noar tt set x=x+1 where id=60;
update noar tt set x=x+1 where id=61;
update noar tt set x=x+1 where id=62;
update noar tt set x=x+1 where id=63;
update noar tt set x=x+1 where id=64;
update noar tt set x=x+1 where id=65;
update noar tt set x=x+1 where id=66;
update noar tt set x=x+1 where id=67;
update noar tt set x=x+1 where id=68;
update noar tt set x=x+1 where id=69;
update noar tt set x=x+1 where id=70;
update noar tt set x=x+1 where id=71;
update noar tt set x=x+1 where id=72;
update noar tt set x=x+1 where id=73;
update noar tt set x=x+1 where id=74;
update noar tt set x=x+1 where id=75;
update noar tt set x=x+1 where id=76;
update noar tt set x=x+1 where id=77;
update noar tt set x=x+1 where id=78;
update noar tt set x=x+1 where id=79;
update noar tt set x=x+1 where id=80;
update noar tt set x=x+1 where id=81;
update noar tt set x=x+1 where id=82;
update noar tt set x=x+1 where id=83;
update noar tt set x=x+1 where id=84;
update noar tt set x=x+1 where id=85;
update noar tt set x=x+1 where id=86;
update noar tt set x=x+1 where id=87;
update noar tt set x=x+1 where id=88;
update noar tt set x=x+1 where id=89;
update noar tt set x=x+1 where id=90;
update noar tt set x=x+1 where id=91;
update noar tt set x=x+1 where id=92;
update noar tt set x=x+1 where id=93;
update noar tt set x=x+1 where id=94;
update noar tt set x=x+1 where id=95;
update noar tt set x=x+1 where id=96;
update noar tt set x=x+1 where id=97;
update noar tt set x=x+1 where id=98;
update noar 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; drop table tt;
include/rpl_end.inc
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists t; drop table if exists t;
create table t (id int primary key, b int, key(b)); create table t (id int primary key, b int, key(b));
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set b=b+1 where id=42; update noar t set b=b+1 where id=42;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists tt, ti; drop table if exists tt, ti;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table tt (id int primary key, c char(32), b binary(32)); create table tt (id int primary key, c char(32), b binary(32));
create table ti like tt; create table ti like tt;
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists tt; drop table if exists tt;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table tt (id int primary key, x int); create table tt (id int primary key, x int);
update noar tt set x=1 where id='abc'; update noar tt set x=1 where id='abc';
......
...@@ -10,7 +10,6 @@ id x ...@@ -10,7 +10,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -67,7 +66,6 @@ id x ...@@ -67,7 +66,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -124,7 +122,6 @@ id x ...@@ -124,7 +122,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -181,7 +178,6 @@ id x ...@@ -181,7 +178,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -238,7 +234,6 @@ id x ...@@ -238,7 +234,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -295,7 +290,6 @@ id x ...@@ -295,7 +290,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -352,7 +346,6 @@ id x ...@@ -352,7 +346,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -409,7 +402,6 @@ id x ...@@ -409,7 +402,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -466,7 +458,6 @@ id x ...@@ -466,7 +458,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -523,7 +514,6 @@ id x ...@@ -523,7 +514,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -580,7 +570,6 @@ id x ...@@ -580,7 +570,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -637,7 +626,6 @@ id x ...@@ -637,7 +626,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -694,7 +682,6 @@ id x ...@@ -694,7 +682,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -751,7 +738,6 @@ id x ...@@ -751,7 +738,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -808,7 +794,6 @@ id x ...@@ -808,7 +794,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -865,7 +850,6 @@ id x ...@@ -865,7 +850,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -922,7 +906,6 @@ id x ...@@ -922,7 +906,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -979,7 +962,6 @@ id x ...@@ -979,7 +962,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -1036,7 +1018,6 @@ id x ...@@ -1036,7 +1018,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -1093,7 +1074,6 @@ id x ...@@ -1093,7 +1074,6 @@ id x
1 0 1 0
2 0 2 0
3 0 3 0
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
......
...@@ -5,7 +5,6 @@ insert into tt values (1,0),(2,-pow(2,31)),(3,pow(2,31)-1); ...@@ -5,7 +5,6 @@ insert into tt values (1,0),(2,-pow(2,31)),(3,pow(2,31)-1);
create table ti like tt; create table ti like tt;
alter table ti engine=innodb; alter table ti engine=innodb;
insert into ti select * from tt; insert into ti select * from tt;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar tt set x=x+1 where id=1; update noar tt set x=x+1 where id=1;
update noar ti set x=x+1 where id=1; update noar ti set x=x+1 where id=1;
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists t; drop table if exists t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table t (id int primary key, x int not null); create table t (id int primary key, x int not null);
insert into t values (1,0); insert into t values (1,0);
......
...@@ -5,7 +5,6 @@ insert into tt values (1,0),(2,pow(2,32)-1); ...@@ -5,7 +5,6 @@ insert into tt values (1,0),(2,pow(2,32)-1);
create table ti like tt; create table ti like tt;
alter table ti engine=innodb; alter table ti engine=innodb;
insert into ti select * from tt; insert into ti select * from tt;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar tt set x=x+1 where id=1; update noar tt set x=x+1 where id=1;
update noar ti set x=x+1 where id=1; update noar ti set x=x+1 where id=1;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,10 +2,8 @@ drop table if exists t; ...@@ -2,10 +2,8 @@ drop table if exists t;
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
create table t (id bigint primary key, b bigint not null default 0); create table t (id bigint primary key, b bigint not null default 0);
insert into t (id) values (1),(2); insert into t (id) values (1),(2);
set session tokudb_enable_fast_update=1;
begin; begin;
update noar t set b=b+1 where id=1; update noar t set b=b+1 where id=1;
set session tokudb_enable_fast_update=1;
begin; begin;
update noar t set b=b-1 where id=2; update noar t set b=b-1 where id=2;
update noar t set b=b+1 where id=2; update noar t set b=b+1 where id=2;
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists t; drop table if exists t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table tt ( create table tt (
id tinyint null primary key, id tinyint null primary key,
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists t; drop table if exists t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table t (ida int not null, idb bigint not null, idc tinyint unsigned not null, x bigint); create table t (ida int not null, idb bigint not null, idc tinyint unsigned not null, x bigint);
update noar t set x=x+1 where ida=1; update noar t set x=x+1 where ida=1;
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists tt, ti; drop table if exists tt, ti;
set tokudb_enable_fast_upsert=1;
set tokudb_disable_slow_upsert=1; set tokudb_disable_slow_upsert=1;
create table tt (id int primary key, c char(32), b binary(32)); create table tt (id int primary key, c char(32), b binary(32));
create table ti like tt; create table ti like tt;
......
drop table if exists t; drop table if exists t;
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
create table t (id bigint primary key, b bigint not null default 0); create table t (id bigint primary key, b bigint not null default 0);
set session tokudb_enable_fast_upsert=1;
begin; begin;
insert noar into t (id) values (1) on duplicate key update b=b+1; insert noar into t (id) values (1) on duplicate key update b=b+1;
set session tokudb_enable_fast_upsert=1;
begin; begin;
insert noar into t (id) values (2) on duplicate key update b=b-1; insert noar into t (id) values (2) on duplicate key update b=b-1;
insert noar into t (id) values (2) on duplicate key update b=b+1; insert noar into t (id) values (2) on duplicate key update b=b+1;
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists tt, ti; drop table if exists tt, ti;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table tt ( create table tt (
id tinyint null primary key, id tinyint null primary key,
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists t; drop table if exists t;
set tokudb_enable_fast_upsert=1;
set tokudb_disable_slow_upsert=1; set tokudb_disable_slow_upsert=1;
create table t (a int, b char(32), c varchar(32), d blob); create table t (a int, b char(32), c varchar(32), d blob);
insert noar into t values (1,null,null,null) on duplicate key update a=42; insert noar into t values (1,null,null,null) on duplicate key update a=42;
......
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
drop table if exists t; drop table if exists t;
set tokudb_enable_fast_upsert=1;
set tokudb_disable_slow_upsert=1; set tokudb_disable_slow_upsert=1;
create table t (id int primary key, x int not null); create table t (id int primary key, x int not null);
insert noar into t values (1,0); insert noar into t values (1,0);
......
source include/master-slave.inc;
source include/have_binlog_format_mixed.inc; source include/have_binlog_format_mixed.inc;
source include/have_tokudb.inc; source include/have_tokudb.inc;
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
create table tt (id int primary key, x int); create table tt (id int primary key, x int);
set session tokudb_enable_fast_upsert=1;
set session tokudb_disable_slow_upsert=1; set session tokudb_disable_slow_upsert=1;
insert noar into tt values (1,0); connection master;
show variables like 'binlog_format';
show variables like 'server_id';
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; connection slave;
error ER_UNSUPPORTED_EXTENSION; show variables like 'binlog_format';
insert noar into tt values (1,0) on duplicate key update x=x+1; show variables like 'server_id';
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; connection master;
error ER_UNSUPPORTED_EXTENSION;
insert noar into tt values (2,0) on duplicate key update x=x+1;
set session tokudb_enable_fast_update=1; let $n=100;
set session tokudb_disable_slow_update=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; # insert a bunch of new rows
error ER_UNSUPPORTED_EXTENSION; let $i=0;
update noar tt set x=x+1 where id=1; while ($i < $n) {
eval insert into tt values ($i,0) on duplicate key update x=x+1;
inc $i;
}
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; # upsert a bunch of rows
error ER_UNSUPPORTED_EXTENSION; let $i=0;
update noar tt set x=x+1 where id=2; while ($i < $n) {
eval insert into tt values ($i,0) on duplicate key update x=x+1;
inc $i;
}
# update a bunch of rows
let $i=0;
while ($i < $n) {
eval update noar tt set x=x+1 where id=$i;
inc $i;
}
select * from tt where x != 2;
sync_slave_with_master;
let $diff_tables= master:test.tt, slave:test.tt;
source include/diff_tables.inc;
connection master;
drop table tt; drop table tt;
source include/rpl_end.inc;
...@@ -4,7 +4,6 @@ source include/have_tokudb.inc; ...@@ -4,7 +4,6 @@ source include/have_tokudb.inc;
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
create table tt (id int primary key, x int); create table tt (id int primary key, x int);
set session tokudb_enable_fast_upsert=1;
set session tokudb_disable_slow_upsert=1; set session tokudb_disable_slow_upsert=1;
insert noar into tt values (1,0); insert noar into tt values (1,0);
...@@ -17,7 +16,6 @@ replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; ...@@ -17,7 +16,6 @@ replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION; error ER_UNSUPPORTED_EXTENSION;
insert noar into tt values (2,0) on duplicate key update x=x+1; insert noar into tt values (2,0) on duplicate key update x=x+1;
set session tokudb_enable_fast_update=1;
set session tokudb_disable_slow_update=1; set session tokudb_disable_slow_update=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
......
source include/master-slave.inc;
source include/have_binlog_format_statement.inc; source include/have_binlog_format_statement.inc;
source include/have_tokudb.inc; source include/have_tokudb.inc;
set default_storage_engine='tokudb'; set default_storage_engine='tokudb';
create table tt (id int primary key, x int); create table tt (id int primary key, x int);
set session tokudb_enable_fast_upsert=1;
set session tokudb_disable_slow_upsert=1; set session tokudb_disable_slow_upsert=1;
insert noar into tt values (1,0); connection master;
show variables like 'binlog_format';
show variables like 'server_id';
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; connection slave;
error ER_UNSUPPORTED_EXTENSION; show variables like 'binlog_format';
insert noar into tt values (1,0) on duplicate key update x=x+1; show variables like 'server_id';
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; connection master;
error ER_UNSUPPORTED_EXTENSION;
insert noar into tt values (2,0) on duplicate key update x=x+1;
set session tokudb_enable_fast_update=1; let $n=100;
set session tokudb_disable_slow_update=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; # insert a bunch of new rows
error ER_UNSUPPORTED_EXTENSION; let $i=0;
update noar tt set x=x+1 where id=1; while ($i < $n) {
eval insert into tt values ($i,0) on duplicate key update x=x+1;
inc $i;
}
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; # upsert a bunch of rows
error ER_UNSUPPORTED_EXTENSION; let $i=0;
update noar tt set x=x+1 where id=2; while ($i < $n) {
eval insert into tt values ($i,0) on duplicate key update x=x+1;
inc $i;
}
# update a bunch of rows
let $i=0;
while ($i < $n) {
eval update noar tt set x=x+1 where id=$i;
inc $i;
}
select * from tt where x != 2;
sync_slave_with_master;
let $diff_tables= master:test.tt, slave:test.tt;
source include/diff_tables.inc;
connection master;
drop table tt; drop table tt;
source include/rpl_end.inc;
...@@ -8,7 +8,6 @@ drop table if exists t; ...@@ -8,7 +8,6 @@ drop table if exists t;
create table t (id int primary key, b int, key(b)); create table t (id int primary key, b int, key(b));
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
......
...@@ -10,7 +10,6 @@ disable_warnings; ...@@ -10,7 +10,6 @@ disable_warnings;
drop table if exists tt, ti; drop table if exists tt, ti;
enable_warnings; enable_warnings;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table tt (id int primary key, c char(32), b binary(32)); create table tt (id int primary key, c char(32), b binary(32));
......
...@@ -9,7 +9,6 @@ disable_warnings; ...@@ -9,7 +9,6 @@ disable_warnings;
drop table if exists tt; drop table if exists tt;
enable_warnings; enable_warnings;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table tt (id int primary key, x int); create table tt (id int primary key, x int);
......
...@@ -26,7 +26,6 @@ def test_int(t, u, n): ...@@ -26,7 +26,6 @@ def test_int(t, u, n):
print "insert into t values (1,0),(2,0),(3,0);" print "insert into t values (1,0),(2,0),(3,0);"
print "select * from t;" print "select * from t;"
print "set tokudb_enable_fast_update=1;"
print "set tokudb_disable_slow_update=1;" print "set tokudb_disable_slow_update=1;"
# set is fast # set is fast
......
...@@ -11,7 +11,6 @@ create table t ( ...@@ -11,7 +11,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -44,7 +43,6 @@ create table t ( ...@@ -44,7 +43,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -77,7 +75,6 @@ create table t ( ...@@ -77,7 +75,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -110,7 +107,6 @@ create table t ( ...@@ -110,7 +107,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -143,7 +139,6 @@ create table t ( ...@@ -143,7 +139,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -176,7 +171,6 @@ create table t ( ...@@ -176,7 +171,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -209,7 +203,6 @@ create table t ( ...@@ -209,7 +203,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -242,7 +235,6 @@ create table t ( ...@@ -242,7 +235,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -275,7 +267,6 @@ create table t ( ...@@ -275,7 +267,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -308,7 +299,6 @@ create table t ( ...@@ -308,7 +299,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -341,7 +331,6 @@ create table t ( ...@@ -341,7 +331,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -374,7 +363,6 @@ create table t ( ...@@ -374,7 +363,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -407,7 +395,6 @@ create table t ( ...@@ -407,7 +395,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -440,7 +427,6 @@ create table t ( ...@@ -440,7 +427,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -473,7 +459,6 @@ create table t ( ...@@ -473,7 +459,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -506,7 +491,6 @@ create table t ( ...@@ -506,7 +491,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -539,7 +523,6 @@ create table t ( ...@@ -539,7 +523,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -572,7 +555,6 @@ create table t ( ...@@ -572,7 +555,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -605,7 +587,6 @@ create table t ( ...@@ -605,7 +587,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
...@@ -638,7 +619,6 @@ create table t ( ...@@ -638,7 +619,6 @@ create table t (
); );
insert into t values (1,0),(2,0),(3,0); insert into t values (1,0),(2,0),(3,0);
select * from t; select * from t;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar t set x=100 where id=2; update noar t set x=100 where id=2;
select * from t; select * from t;
......
...@@ -13,7 +13,6 @@ create table ti like tt; ...@@ -13,7 +13,6 @@ create table ti like tt;
alter table ti engine=innodb; alter table ti engine=innodb;
insert into ti select * from tt; insert into ti select * from tt;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar tt set x=x+1 where id=1; update noar tt set x=x+1 where id=1;
......
...@@ -6,7 +6,6 @@ disable_warnings; ...@@ -6,7 +6,6 @@ disable_warnings;
drop table if exists t; drop table if exists t;
enable_warnings; enable_warnings;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
let $default_sql_mode = `select @@session.sql_mode`; let $default_sql_mode = `select @@session.sql_mode`;
......
...@@ -13,7 +13,6 @@ create table ti like tt; ...@@ -13,7 +13,6 @@ create table ti like tt;
alter table ti engine=innodb; alter table ti engine=innodb;
insert into ti select * from tt; insert into ti select * from tt;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
update noar tt set x=x+1 where id=1; update noar tt set x=x+1 where id=1;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -12,12 +12,10 @@ insert into t (id) values (1),(2); ...@@ -12,12 +12,10 @@ insert into t (id) values (1),(2);
connect (conn1,localhost,root,,); connect (conn1,localhost,root,,);
connection default; connection default;
set session tokudb_enable_fast_update=1;
begin; begin;
update noar t set b=b+1 where id=1; update noar t set b=b+1 where id=1;
connection conn1; connection conn1;
set session tokudb_enable_fast_update=1;
begin; begin;
update noar t set b=b-1 where id=2; update noar t set b=b-1 where id=2;
......
...@@ -11,7 +11,6 @@ def main(): ...@@ -11,7 +11,6 @@ def main():
print "drop table if exists t;" print "drop table if exists t;"
print "enable_warnings;" print "enable_warnings;"
print "set tokudb_enable_fast_update=1;"
print "set tokudb_disable_slow_update=1;" print "set tokudb_disable_slow_update=1;"
for t in [ 'tinyint', 'smallint', 'mediumint', 'int', 'bigint' ]: for t in [ 'tinyint', 'smallint', 'mediumint', 'int', 'bigint' ]:
......
...@@ -5,7 +5,6 @@ set default_storage_engine='tokudb'; ...@@ -5,7 +5,6 @@ set default_storage_engine='tokudb';
disable_warnings; disable_warnings;
drop table if exists t; drop table if exists t;
enable_warnings; enable_warnings;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table tt ( create table tt (
id tinyint null primary key, id tinyint null primary key,
......
...@@ -6,7 +6,6 @@ disable_warnings; ...@@ -6,7 +6,6 @@ disable_warnings;
drop table if exists t; drop table if exists t;
enable_warnings; enable_warnings;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
# must have primary key # must have primary key
......
...@@ -6,7 +6,6 @@ disable_warnings; ...@@ -6,7 +6,6 @@ disable_warnings;
drop table if exists t0, t1; drop table if exists t0, t1;
enable_warnings; enable_warnings;
set tokudb_enable_fast_upsert=1;
set tokudb_disable_slow_upsert=1; set tokudb_disable_slow_upsert=1;
create table t0 (id int primary key, b binary(32)); create table t0 (id int primary key, b binary(32));
......
...@@ -7,7 +7,6 @@ disable_warnings; ...@@ -7,7 +7,6 @@ disable_warnings;
drop table if exists tt, ti; drop table if exists tt, ti;
enable_warnings; enable_warnings;
set tokudb_enable_fast_upsert=1;
set tokudb_disable_slow_upsert=1; set tokudb_disable_slow_upsert=1;
create table tt (id int primary key, c char(32), b binary(32)); create table tt (id int primary key, c char(32), b binary(32));
......
...@@ -11,12 +11,10 @@ create table t (id bigint primary key, b bigint not null default 0); ...@@ -11,12 +11,10 @@ create table t (id bigint primary key, b bigint not null default 0);
connect (conn1,localhost,root,,); connect (conn1,localhost,root,,);
connection default; connection default;
set session tokudb_enable_fast_upsert=1;
begin; begin;
insert noar into t (id) values (1) on duplicate key update b=b+1; insert noar into t (id) values (1) on duplicate key update b=b+1;
connection conn1; connection conn1;
set session tokudb_enable_fast_upsert=1;
begin; begin;
insert noar into t (id) values (2) on duplicate key update b=b-1; insert noar into t (id) values (2) on duplicate key update b=b-1;
......
...@@ -11,7 +11,6 @@ def main(): ...@@ -11,7 +11,6 @@ def main():
print "drop table if exists tt, ti;" print "drop table if exists tt, ti;"
print "enable_warnings;" print "enable_warnings;"
print "set tokudb_enable_fast_update=1;"
print "set tokudb_disable_slow_update=1;" print "set tokudb_disable_slow_update=1;"
for t in [ 'tinyint', 'smallint', 'mediumint', 'int', 'bigint' ]: for t in [ 'tinyint', 'smallint', 'mediumint', 'int', 'bigint' ]:
......
...@@ -5,7 +5,6 @@ set default_storage_engine='tokudb'; ...@@ -5,7 +5,6 @@ set default_storage_engine='tokudb';
disable_warnings; disable_warnings;
drop table if exists tt, ti; drop table if exists tt, ti;
enable_warnings; enable_warnings;
set tokudb_enable_fast_update=1;
set tokudb_disable_slow_update=1; set tokudb_disable_slow_update=1;
create table tt ( create table tt (
id tinyint null primary key, id tinyint null primary key,
......
...@@ -6,7 +6,6 @@ disable_warnings; ...@@ -6,7 +6,6 @@ disable_warnings;
drop table if exists t; drop table if exists t;
enable_warnings; enable_warnings;
set tokudb_enable_fast_upsert=1;
set tokudb_disable_slow_upsert=1; set tokudb_disable_slow_upsert=1;
# must have primary key # must have primary key
......
...@@ -6,7 +6,6 @@ disable_warnings; ...@@ -6,7 +6,6 @@ disable_warnings;
drop table if exists t; drop table if exists t;
enable_warnings; enable_warnings;
set tokudb_enable_fast_upsert=1;
set tokudb_disable_slow_upsert=1; set tokudb_disable_slow_upsert=1;
let $default_sql_mode = `select @@session.sql_mode`; let $default_sql_mode = `select @@session.sql_mode`;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment