mariadb/mysql-test/suite/tokudb/t/fast_update_error.test

28 lines
543 B
Text
Raw Normal View History

# test that char field updates are fast
# test that char field primary keys are fast
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;
enable_warnings;
set tokudb_disable_slow_update=1;
create table tt (id int primary key, x int);
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update noar tt set x=1 where id='abc';
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update noar tt set x='abc' where id=1;
drop table tt;