db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1185056 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/perf/clients/Runner.java
Date Mon, 17 Oct 2011 09:25:32 GMT
Author: kahatlen
Date: Mon Oct 17 09:25:32 2011
New Revision: 1185056

URL: http://svn.apache.org/viewvc?rev=1185056&view=rev
Log:
DERBY-5445: Enhance existing concurrency test to stress sequence generators to also stress
identity columns

Don't print "initializing database for sequence generator testing" on
initializing the database, as most of the tests don't actually create or
use sequence generators.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/perf/clients/Runner.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/perf/clients/Runner.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/perf/clients/Runner.java?rev=1185056&r1=1185055&r2=1185056&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/perf/clients/Runner.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/perf/clients/Runner.java Mon
Oct 17 09:25:32 2011
@@ -26,7 +26,6 @@ import java.sql.Connection;
 import java.sql.DriverManager;
 import java.sql.SQLException;
 import java.sql.Types;
-import java.util.Arrays;
 import java.util.HashMap;
 
 /**
@@ -93,10 +92,7 @@ public class Runner {
         if (init) {
             DBFiller filler = getDBFiller();
             Connection conn = DriverManager.getConnection(url, user, password);
-            System.out.print("initializing database for ");
-            System.out.println((Runner.getLoadOpt( "identityTest", 0 ) == 1)?
-            				"identity column testing...":
-            				"sequence generator testing...");
+            System.out.println("initializing database...");
             filler.fill(conn);
             conn.close();
         }



Mime
View raw message