Debian Codegraph @

mysql-test/suite/ndb/t/ndb_lock_table.test

raw
1 -- source include/have_ndb.inc
2
3 # BUG 30996
4 --disable_warnings
5 drop table if exists t1;
6 --enable_warnings
7 create table t1 (a int) engine ndb;
8 set autocommit=1;
9 lock table t1 write;
10 set autocommit=0;
11 insert into t1 values (0);
12 rollback;
13 select * from t1;
14 unlock tables;
15 drop table t1;