db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1213237 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATransactionTest.java
Date Mon, 12 Dec 2011 13:34:29 GMT
Author: kahatlen
Date: Mon Dec 12 13:34:29 2011
New Revision: 1213237

URL: http://svn.apache.org/viewvc?rev=1213237&view=rev
Log:
DERBY-5529: XATransactionTest: Table/View 'DERBY1016' already exists

Fix contributed by Jayaram Subramanian <rsjay1976@gmail.com>.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATransactionTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATransactionTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATransactionTest.java?rev=1213237&r1=1213236&r2=1213237&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATransactionTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/XATransactionTest.java
Mon Dec 12 13:34:29 2011
@@ -490,6 +490,8 @@ public class XATransactionTest extends B
                           + XAeForget.errorCode  + "  calling forget on a committed transaction",
                         XAException.XAER_NOTA, XAeForget.errorCode);
         } finally {
+            s.executeUpdate("DROP TABLE Derby1016");
+            conn.commit();
             s.close();
             conn.close(); 
             xaconn.close();



Mime
View raw message