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 dj...@apache.org on 2007/03/20 05:26:43 UTC

svn commit: r520268 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java

Author: djd
Date: Mon Mar 19 21:26:38 2007
New Revision: 520268

URL: http://svn.apache.org/viewvc?view=rev&rev=520268
Log:
DERBY-2217 Run the Changes10_3 fixture that inserts 94,000 rows in non auto-commit mode for the upgrade test.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java?view=diff&rev=520268&r1=520267&r2=520268
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java Mon Mar 19 21:26:38 2007
@@ -129,6 +129,7 @@
     
     private void checkDataToCase606(int start_value, int end_value)
             throws SQLException {
+        getConnection().setAutoCommit(false);
         Statement s = createStatement();
         PreparedStatement insert_stmt = prepareStatement("insert into case606 values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
         char[] data_dt = new char[24];