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 ka...@apache.org on 2007/05/28 10:43:31 UTC

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

Author: kahatlen
Date: Mon May 28 01:43:30 2007
New Revision: 542153

URL: http://svn.apache.org/viewvc?view=rev&rev=542153
Log:
DERBY-2703: Fixed errors in Tinderbox

CollationTest2 calls SanityManager.DEBUG_PRINT() without checking that
SanityManager.DEBUG is true.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java?view=diff&rev=542153&r1=542152&r2=542153
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java Mon May 28 01:43:30 2007
@@ -386,7 +386,10 @@
 
         ResultSet rs = 
             conn.getMetaData().getColumns(null, "APP", "CUSTOMER", "%");
-        SanityManager.DEBUG_PRINT("", "called GetColumns:");
+
+        if (SanityManager.DEBUG) {
+            SanityManager.DEBUG_PRINT("", "called GetColumns:");
+        }
 
         Assert.assertTrue("catch bug where no rows are returned.", rs.next());