27 lines
643 B
Plaintext
27 lines
643 B
Plaintext
--source suite/xengine/include/have_xengine.inc
|
|
|
|
--disable_warnings
|
|
DROP TABLE IF EXISTS t1;
|
|
--enable_warnings
|
|
create table t1 (id int primary key, value int) engine=xengine;
|
|
insert into t1 values (1,1);
|
|
|
|
SET session transaction isolation level read uncommitted;
|
|
begin;
|
|
--error ER_UNKNOWN_ERROR
|
|
insert into t1 values (2,1);
|
|
--error ER_UNKNOWN_ERROR
|
|
select * from t1 where id=1;
|
|
rollback;
|
|
|
|
SET session transaction isolation level serializable;
|
|
begin;
|
|
--error ER_UNKNOWN_ERROR
|
|
insert into t1 values (2,1);
|
|
--error ER_UNKNOWN_ERROR
|
|
select * from t1 where id=1;
|
|
rollback;
|
|
|
|
DROP TABLE t1;
|
|
--source suite/xengine/include/check_xengine_log_error.inc
|