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 my...@apache.org on 2014/01/27 22:25:36 UTC

svn commit: r1561859 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/SelectivityTest.java

Author: myrnavl
Date: Mon Jan 27 21:25:36 2014
New Revision: 1561859

URL: http://svn.apache.org/r1561859
Log:
DERBY-3955; test lang/selectivity.sql can be revived
   fixing an issue that showed up when the sequence of fixtures was different

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/SelectivityTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/SelectivityTest.java?rev=1561859&r1=1561858&r2=1561859&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/SelectivityTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/SelectivityTest.java Mon Jan 27 21:25:36 2014
@@ -775,6 +775,8 @@ public class SelectivityTest extends Bas
         Connection conn = getConnection();
         Statement s = createStatement();
         
+        s.executeUpdate("CALL SYSCS_UTIL.SYSCS_UPDATE_STATISTICS" +
+                "('APP','T1', NULL)");
         s.executeUpdate("call SYSCS_UTIL.SYSCS_SET_RUNTIMESTATISTICS(1)");
         
         // 2,20,100