db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r688082 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/optimizer/query/GenericQuery.java
Date Fri, 22 Aug 2008 13:43:06 GMT
Author: kahatlen
Date: Fri Aug 22 06:43:05 2008
New Revision: 688082

URL: http://svn.apache.org/viewvc?rev=688082&view=rev
Log:
DERBY-3845: RunOptimizerTest without -verbose option doesn't print time spent

Fix contributed by Ole Solberg <Ole.Solberg@Sun.COM>.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/optimizer/query/GenericQuery.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/optimizer/query/GenericQuery.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/optimizer/query/GenericQuery.java?rev=688082&r1=688081&r2=688082&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/optimizer/query/GenericQuery.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/optimizer/query/GenericQuery.java
Fri Aug 22 06:43:05 2008
@@ -116,8 +116,8 @@
 						System.out.println("Total Rows returned = "+rowsReturned);
 					
 						System.out.println("==> "+time_taken+" milliseconds "+" OR "+TestUtils.getTime(time_taken));
-							times[i]=TestUtils.getTime(time_taken);
 					}
+					times[i]=TestUtils.getTime(time_taken);
 					rs.close();
 					if(prepare){
 						pstmt.close();



Mime
View raw message