From 7b3751fcede63619205c7d9bad35a61543e7ffef Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 12 Apr 2007 07:19:10 +0200 Subject: [PATCH] ndb - mysql-test-run testcase for bug#27757 mysql-test/r/ndb_dd_basic.result: testcase mysql-test/t/ndb_dd_basic.test: testcase --- mysql-test/r/ndb_dd_basic.result | 7 +++++++ mysql-test/t/ndb_dd_basic.test | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/mysql-test/r/ndb_dd_basic.result b/mysql-test/r/ndb_dd_basic.result index 724b42b6db3..361d282e6d9 100644 --- a/mysql-test/r/ndb_dd_basic.result +++ b/mysql-test/r/ndb_dd_basic.result @@ -440,6 +440,13 @@ insert into t1 values(7,'x'); insert into t1 values(8,'x'); delete from t1 where a = 0; commit; +delete from t1; +begin; +insert into t1 values (1, 'x'); +select * from t1; +a b +1 x +rollback; set autocommit = 1; drop table t1; create table test.t1 (f1 varchar(50) primary key, f2 text,f3 int) diff --git a/mysql-test/t/ndb_dd_basic.test b/mysql-test/t/ndb_dd_basic.test index 5d43d7997b0..bbfc3704673 100644 --- a/mysql-test/t/ndb_dd_basic.test +++ b/mysql-test/t/ndb_dd_basic.test @@ -367,8 +367,16 @@ insert into t1 values(7,'x'); insert into t1 values(8,'x'); delete from t1 where a = 0; commit; + +delete from t1; +begin; +insert into t1 values (1, 'x'); +select * from t1; +rollback; + set autocommit = 1; + drop table t1; ############################# # Customer posted order by test case