You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by km...@apache.org on 2007/04/23 21:24:13 UTC
svn commit: r531567 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/ij2.out
Author: kmarsden
Date: Mon Apr 23 12:24:13 2007
New Revision: 531567
URL: http://svn.apache.org/viewvc?view=rev&rev=531567
Log:
update master for j9_foundation
Modified:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/ij2.out
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/ij2.out
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/ij2.out?view=diff&rev=531567&r1=531566&r2=531567
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/ij2.out (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/ij2.out Mon Apr 23 12:24:13 2007
@@ -118,8 +118,21 @@
1
ij> drop table t;
0 rows inserted/updated/deleted
-ij> -- show that long fields now don't take forever...
-create table t ( c char(50));
+ij> -- Bug 4694 Test automatic rollback with close of connection
+-- in ij
+connect 'wombat';
+ij(CONNECTION1)> autocommit off;
+ij(CONNECTION1)> create table a (a int);
+0 rows inserted/updated/deleted
+ij(CONNECTION1)> select count(*) from a;
+1
+-----------
+0
+ij(CONNECTION1)> disconnect;
+ij> set connection connection0;
+ij> select count(*) from a;
+ERROR 42X05: Table/View 'A' does not exist.
+ij> create table t ( c char(50));
0 rows inserted/updated/deleted
ij> insert into t values('hello');
1 row inserted/updated/deleted