mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
refs #5826 test NOAR for fast updates on maria 5.5
git-svn-id: file:///svn/mysql/tests/mysql-test@51746 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
6beef39cd0
commit
fd46d32457
4 changed files with 13 additions and 13 deletions
|
@ -2,15 +2,15 @@ set default_storage_engine='tokudb';
|
|||
create table tt (id int primary key, x int);
|
||||
set session tokudb_enable_fast_upsert=1;
|
||||
set session tokudb_disable_slow_upsert=1;
|
||||
insert into tt values (1,0);
|
||||
insert into tt values (1,0) on duplicate key update x=x+1;
|
||||
insert noar into tt values (1,0);
|
||||
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
|
||||
insert 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
|
||||
set session tokudb_enable_fast_update=1;
|
||||
set session tokudb_disable_slow_update=1;
|
||||
update 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 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
|
||||
drop table tt;
|
||||
|
|
|
@ -2,15 +2,15 @@ set default_storage_engine='tokudb';
|
|||
create table tt (id int primary key, x int);
|
||||
set session tokudb_enable_fast_upsert=1;
|
||||
set session tokudb_disable_slow_upsert=1;
|
||||
insert into tt values (1,0);
|
||||
insert into tt values (1,0) on duplicate key update x=x+1;
|
||||
insert noar into tt values (1,0);
|
||||
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
|
||||
insert 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
|
||||
set session tokudb_enable_fast_update=1;
|
||||
set session tokudb_disable_slow_update=1;
|
||||
update 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 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
|
||||
drop table tt;
|
||||
|
|
|
@ -15,7 +15,7 @@ insert noar into tt values (1,0) on duplicate key update x=x+1;
|
|||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert noar into tt values (2,0) on duplicate key update noaf 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;
|
||||
|
|
|
@ -11,11 +11,11 @@ insert noar into tt values (1,0);
|
|||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert noar into tt values (1,0) on duplicate key update noaf x=x+1;
|
||||
insert noar into tt values (1,0) on duplicate key update x=x+1;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert noar into tt values (2,0) on duplicate key update noaf 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;
|
||||
|
|
Loading…
Add table
Reference in a new issue