Commit 73834b85 authored by Rich Prohaska's avatar Rich Prohaska

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
parent e02b8847
...@@ -2,15 +2,15 @@ set default_storage_engine='tokudb'; ...@@ -2,15 +2,15 @@ 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_enable_fast_upsert=1;
set session tokudb_disable_slow_upsert=1; set session tokudb_disable_slow_upsert=1;
insert into tt values (1,0); insert noar 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) 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 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_enable_fast_update=1;
set session tokudb_disable_slow_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 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 ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
drop table tt; drop table tt;
...@@ -2,15 +2,15 @@ set default_storage_engine='tokudb'; ...@@ -2,15 +2,15 @@ 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_enable_fast_upsert=1;
set session tokudb_disable_slow_upsert=1; set session tokudb_disable_slow_upsert=1;
insert into tt values (1,0); insert noar 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) 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 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_enable_fast_update=1;
set session tokudb_disable_slow_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 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 ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version
drop table tt; drop table tt;
...@@ -15,7 +15,7 @@ insert noar into tt values (1,0) on duplicate key update x=x+1; ...@@ -15,7 +15,7 @@ insert noar into tt values (1,0) on duplicate key update x=x+1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; 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 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_enable_fast_update=1;
set session tokudb_disable_slow_update=1; set session tokudb_disable_slow_update=1;
......
...@@ -11,11 +11,11 @@ insert noar into tt values (1,0); ...@@ -11,11 +11,11 @@ insert noar into tt values (1,0);
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/; replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION; 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/; 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 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_enable_fast_update=1;
set session tokudb_disable_slow_update=1; set session tokudb_disable_slow_update=1;
......
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