db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From banda...@apache.org
Subject svn commit: r106533 - /incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java
Date Thu, 25 Nov 2004 01:48:14 GMT
Author: bandaram
Date: Wed Nov 24 17:48:13 2004
New Revision: 106533

URL: http://svn.apache.org/viewcvs?view=rev&rev=106533
Log:
Minor correction to previous checkin (106336)
Modified:
   incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java?view=diff&rev=106533&p1=incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java&r1=106532&p2=incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java&r2=106533
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java	(original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java	Wed Nov
24 17:48:13 2004
@@ -1290,11 +1290,11 @@
          */
         public String getResultSetMetaDataTypeName()
         {
-            if (BLOB_ID.equals(this))
+            if ((BLOB_ID != null) && BLOB_ID.equals(this))
                 return "java.sql.Blob";
-            if (CLOB_ID.equals(this))
+            if ((CLOB_ID != null) && CLOB_ID.equals(this))
                 return "java.sql.Clob";
-            if (NCLOB_ID.equals(this))
+            if ((NCLOB_ID != null) && NCLOB_ID.equals(this))
                 return "java.sql.Clob";
             return getCorrespondingJavaTypeName();
         }

Mime
View raw message