db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1005804 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OrderByAndSortAvoidance.java
Date Fri, 08 Oct 2010 12:26:26 GMT
Author: kristwaa
Date: Fri Oct  8 12:26:26 2010
New Revision: 1005804

URL: http://svn.apache.org/viewvc?rev=1005804&view=rev
Log:
DERBY-4833: Prepare existing JUnit tests for running with automatic index statistics generation


Remove unnecessary statement plan assert (caused failure when run with the
automatic index statistics generation prototype).

Patch file: derby-4833-1a-orderbyandsortavoidancetest_adjustment.diff


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OrderByAndSortAvoidance.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OrderByAndSortAvoidance.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OrderByAndSortAvoidance.java?rev=1005804&r1=1005803&r2=1005804&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OrderByAndSortAvoidance.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OrderByAndSortAvoidance.java
Fri Oct  8 12:26:26 2010
@@ -10423,7 +10423,6 @@ public class OrderByAndSortAvoidance ext
         ResultSet rs = s.executeQuery(sql1);
 		RuntimeStatisticsParser rtsp = SQLUtilities.getRuntimeStatisticsParser(s);
 		assertTrue(rtsp.usedSpecificIndexForIndexScan("TABLE2","KEY3"));
-		assertTrue(rtsp.usedTableScan("TABLE1"));
 		assertTrue(rtsp.whatSortingRequired());
   
         rs = s.executeQuery(sql1);
@@ -10455,7 +10454,6 @@ public class OrderByAndSortAvoidance ext
 		RuntimeStatisticsParser rtsp = SQLUtilities.getRuntimeStatisticsParser(
 				s);
 		assertTrue(rtsp.usedSpecificIndexForIndexScan("TABLE2","KEY3"));
-		assertTrue(rtsp.usedTableScan("TABLE1"));
 		assertTrue(rtsp.whatSortingRequired());
 
 		rs = s.executeQuery(sql1);



Mime
View raw message