summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb/t/fast_update_error.test
blob: 51fde25a5f26bc8d93dc394db50b94faeb779e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# test that char field updates are fast
# test that char field primary keys are fast
source include/have_tokudb.inc;

set tokudb_enable_fast_update=1;
source ../include/setup_fast_update_upsert.inc;

create table tt (id int primary key, x int) engine = tokudb;

replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update tt set x=1 where id='abc';

replace_regex /MariaDB/XYZ/ /MySQL/XYZ/;
error ER_UNSUPPORTED_EXTENSION;
update tt set x='abc' where id=1;

drop table tt;