db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r537055 - /db/derby/code/trunk/java/client/org/apache/derby/client/am/BlobLocatorInputStream.java
Date Fri, 11 May 2007 00:45:36 GMT
Author: myrnavl
Date: Thu May 10 17:45:35 2007
New Revision: 537055

URL: http://svn.apache.org/viewvc?view=rev&rev=537055
Log:
DERBY-2496 - fixing up one SANITY build message by adding if (SanityManager.DEBUG) block around
a SanityManager.ASSERT(...) call.

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/am/BlobLocatorInputStream.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/BlobLocatorInputStream.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/BlobLocatorInputStream.java?view=diff&rev=537055&r1=537054&r2=537055
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/BlobLocatorInputStream.java
(original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/BlobLocatorInputStream.java
Thu May 10 17:45:35 2007
@@ -87,8 +87,10 @@
     public BlobLocatorInputStream(Connection connection, Blob blob,
                                   long position, long length) 
         throws SqlException
-    {        
-        SanityManager.ASSERT(blob.isLocator());
+    {    
+        if (SanityManager.DEBUG) {
+            SanityManager.ASSERT(blob.isLocator());
+        }
         this.connection = connection;
         this.blob = blob;
         this.currentPos = position;



Mime
View raw message