summaryrefslogtreecommitdiff
path: root/mysql-test/r/ndb_single_user.result
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-03-23 17:14:38 +0100
committerunknown <tomas@whalegate.ndb.mysql.com>2007-03-23 17:14:38 +0100
commit7dc5c00453e3ed894123c92c6264ff5abd99bdbf (patch)
treeefb4a6859cc0f84adb055536ca8bf8ee173c4150 /mysql-test/r/ndb_single_user.result
parent06083cdc0305b883bccf000224e7375d7310849e (diff)
downloadmariadb-git-7dc5c00453e3ed894123c92c6264ff5abd99bdbf.tar.gz
enabled and extended single user test
Diffstat (limited to 'mysql-test/r/ndb_single_user.result')
-rw-r--r--mysql-test/r/ndb_single_user.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_single_user.result b/mysql-test/r/ndb_single_user.result
index debb74a6a41..907cb17fecf 100644
--- a/mysql-test/r/ndb_single_user.result
+++ b/mysql-test/r/ndb_single_user.result
@@ -43,4 +43,14 @@ update t1 set b=b+100;
ERROR HY000: Got error 299 'Operation not allowed or aborted due to single user mode' from ndbcluster
update t1 set b=b+100 where a > 7;
ERROR HY000: Got error 299 'Operation not allowed or aborted due to single user mode' from ndbcluster
+BEGIN;
+update t1 set b=b+100 where a=1;
+BEGIN;
+update t1 set b=b+100 where a=2;
+update t1 set b=b+100 where a=3;
+COMMIT;
+update t1 set b=b+100 where a=4;
+ERROR HY000: Got error 299 'Operation not allowed or aborted due to single user mode' from ndbcluster
+COMMIT;
+ERROR HY000: Got error 4350 'Transaction already aborted' from ndbcluster
drop table t1;