mariadb/mysql-test/suite/tokudb/t/fast_update_binlog_row.test
Rich Prohaska 2f83aed670 refs #6440 move fast update tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55030 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 14:23:31 +00:00

29 lines
793 B
Text

source include/have_binlog_format_row.inc;
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
create table tt (id int primary key, x int);
set session tokudb_disable_slow_upsert=1;
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 x=x+1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
insert noar into tt values (2,0) on duplicate key update x=x+1;
set session tokudb_disable_slow_update=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update noar tt set x=x+1 where id=1;
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update noar tt set x=x+1 where id=2;
drop table tt;