mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
refs #5725 get upsert tests running on mysql and mariadb
git-svn-id: file:///svn/mysql/tests/mysql-test@51165 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
f77e963aa9
commit
edb34cfce0
6 changed files with 24 additions and 12 deletions
|
@ -3,13 +3,13 @@ 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;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
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;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB 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;
|
||||
update tt set x=x+1 where id=1;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
|
||||
update tt set x=x+1 where id=2;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
|
||||
drop table tt;
|
||||
|
|
|
@ -3,13 +3,13 @@ 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;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
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;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB 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;
|
||||
update tt set x=x+1 where id=1;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
|
||||
update tt set x=x+1 where id=2;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
|
||||
drop table tt;
|
||||
|
|
|
@ -3,13 +3,13 @@ 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;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
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;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB 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;
|
||||
update tt set x=x+1 where id=1;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
|
||||
update tt set x=x+1 where id=2;
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this MariaDB version
|
||||
ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
|
||||
drop table tt;
|
||||
|
|
|
@ -8,18 +8,22 @@ set session tokudb_disable_slow_upsert=1;
|
|||
|
||||
insert into tt values (1,0);
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert into tt values (1,0) on duplicate key update x=x+1;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert 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;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
update tt set x=x+1 where id=1;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
update tt set x=x+1 where id=2;
|
||||
|
||||
|
|
|
@ -8,18 +8,22 @@ set session tokudb_disable_slow_upsert=1;
|
|||
|
||||
insert into tt values (1,0);
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert into tt values (1,0) on duplicate key update x=x+1;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert 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;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
update tt set x=x+1 where id=1;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
update tt set x=x+1 where id=2;
|
||||
|
||||
|
|
|
@ -8,18 +8,22 @@ set session tokudb_disable_slow_upsert=1;
|
|||
|
||||
insert into tt values (1,0);
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert into tt values (1,0) on duplicate key update x=x+1;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
insert 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;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
update tt set x=x+1 where id=1;
|
||||
|
||||
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
||||
error ER_UNSUPPORTED_EXTENSION;
|
||||
update tt set x=x+1 where id=2;
|
||||
|
||||
|
|
Loading…
Reference in a new issue