db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r542153 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java
Date Mon, 28 May 2007 08:43:31 GMT
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());
 



Mime
View raw message