mirror of
https://github.com/MariaDB/server.git
synced 2026-02-20 01:28:40 +01:00
copy of
commit 86587affafe77ef555f7c3839839de44f0f203f3
Author: Tian Xia <tianx@fb.com>
Date: Tue Oct 4 10:01:52 2016 -0700
Allow filtering of show commands through admission control
12 lines
432 B
Text
12 lines
432 B
Text
drop table if exists t1;
|
|
SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
|
|
CREATE TABLE t1(a int);
|
|
SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
|
|
INSERT INTO t1 VALUES(1);
|
|
select * from t1;
|
|
ERROR HY000: MyRocks supports only READ COMMITTED and REPEATABLE READ isolation levels. Please change from current isolation level SERIALIZABLE
|
|
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
|
|
select * from t1;
|
|
a
|
|
1
|
|
drop table t1;
|