summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb/t/fast_update_error.test
blob: dc7c4d277dcfabbc1f21d4bd5235bd6bf24970ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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;