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 kr...@apache.org on 2010/10/08 14:26:26 UTC
svn commit: r1005804 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OrderByAndSortAvoidance.java
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);