db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fuzzylo...@apache.org
Subject svn commit: r533876 - in /db/derby/code/trunk/java: client/org/apache/derby/client/am/BlobLocatorInputStream.java engine/org/apache/derby/iapi/sql/compile/TypeCompiler.java
Date Mon, 30 Apr 2007 23:16:15 GMT
Author: fuzzylogic
Date: Mon Apr 30 16:16:14 2007
New Revision: 533876

URL: http://svn.apache.org/viewvc?view=rev&rev=533876
Log:
Fix javadoc error in TypeCompiler. Put SanityManager assert in BlobLocatorInputStream inside
an if (SanityManager.DEBUG) block.

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/am/BlobLocatorInputStream.java
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/compile/TypeCompiler.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=533876&r1=533875&r2=533876
==============================================================================
--- 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
Mon Apr 30 16:16:14 2007
@@ -57,7 +57,9 @@
      */
     public BlobLocatorInputStream(Connection connection, Blob blob) 
     {        
-        SanityManager.ASSERT(blob.isLocator());
+        if (SanityManager.DEBUG) {
+        	SanityManager.ASSERT(blob.isLocator());
+        }
          this.connection = connection;
         this.blob = blob;
     }

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/compile/TypeCompiler.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/compile/TypeCompiler.java?view=diff&rev=533876&r1=533875&r2=533876
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/compile/TypeCompiler.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/compile/TypeCompiler.java Mon
Apr 30 16:16:14 2007
@@ -200,7 +200,7 @@
 	 * 
 	 * The stack must contain data value factory value.
 	 * 
-	 * @param mb	The method to put the expression in
+	 * @param eb	The method to put the expression in
 	 * @param collationType For character DVDs, this will be used to determine
 	 *   what Collator should be associated with the DVD which in turn will 
 	 *   decide whether to generate CollatorSQLcharDVDs or SQLcharDVDs. For 



Mime
View raw message