2012-11-27 15:44:45 +00:00
|
|
|
# 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);
|
|
|
|
|
2012-12-03 20:45:34 +00:00
|
|
|
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
2012-11-27 15:44:45 +00:00
|
|
|
error ER_UNSUPPORTED_EXTENSION;
|
2013-01-04 22:03:31 +00:00
|
|
|
update noar tt set x=1 where id='abc';
|
2012-11-27 15:44:45 +00:00
|
|
|
|
2012-12-03 20:45:34 +00:00
|
|
|
replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
|
2012-11-27 15:44:45 +00:00
|
|
|
error ER_UNSUPPORTED_EXTENSION;
|
2013-01-04 22:03:31 +00:00
|
|
|
update noar tt set x='abc' where id=1;
|
2012-11-27 15:44:45 +00:00
|
|
|
|
|
|
|
drop table tt;
|
|
|
|
|
|
|
|
|
|
|
|
|