diff options
Diffstat (limited to 'storage/tokudb/mysql-test/tokudb/r/fast_update_binlog_row.result')
-rw-r--r-- | storage/tokudb/mysql-test/tokudb/r/fast_update_binlog_row.result | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/storage/tokudb/mysql-test/tokudb/r/fast_update_binlog_row.result b/storage/tokudb/mysql-test/tokudb/r/fast_update_binlog_row.result index a2185b0705f..e48cfc01292 100644 --- a/storage/tokudb/mysql-test/tokudb/r/fast_update_binlog_row.result +++ b/storage/tokudb/mysql-test/tokudb/r/fast_update_binlog_row.result @@ -1,14 +1,15 @@ -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); -insert noar into tt values (1,0) on duplicate key update x=x+1; +create table tt (id int primary key, x int) engine = tokudb; +set session sql_mode=(select replace(@@sql_mode,'STRICT_TRANS_TABLES','')); +set session sql_mode=(select replace(@@sql_mode,'STRICT_ALL_TABLES','')); +set session tokudb_enable_fast_update=1; +set session tokudb_enable_fast_upsert=1; +insert into tt values (1,0); +insert into tt values (1,0) on duplicate key update x=x+1; ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version -insert noar into tt values (2,0) on duplicate key update x=x+1; +insert into tt values (2,0) on duplicate key update x=x+1; ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version -set session tokudb_disable_slow_update=1; -update noar tt set x=x+1 where id=1; +update tt set x=x+1 where id=1; ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version -update noar tt set x=x+1 where id=2; +update tt set x=x+1 where id=2; ERROR 42000: Table 'tt' uses an extension that doesn't exist in this XYZ version drop table tt; |