1# The include statement below is a temp one for tests that are yet to
2#be ported to run with InnoDB,
3#but needs to be kept for tests that would need MyISAM in future.
4--source include/force_myisam_default.inc
5
6-- source include/have_ndb.inc
7
8# BUG 30996
9--disable_warnings
10drop table if exists t1;
11--enable_warnings
12create table t1 (a int) engine ndb;
13set autocommit=1;
14lock table t1 write;
15set autocommit=0;
16insert into t1 values (0);
17rollback;
18select * from t1;
19unlock tables;
20drop table t1;
21