db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1086798 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java
Date Tue, 29 Mar 2011 22:56:38 GMT
Author: rhillegas
Date: Tue Mar 29 22:56:38 2011
New Revision: 1086798

URL: http://svn.apache.org/viewvc?rev=1086798&view=rev
Log:
DERBY-5162: Null out the wrapped Clob when resetting a SQLClob to NULL.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java?rev=1086798&r1=1086797&r2=1086798&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java Tue Mar 29 22:56:38
2011
@@ -1260,6 +1260,7 @@ readingLoop:
     public void restoreToNull()
     {
         value = null;
+        _clobValue = null;
         stream = null;
         rawLength = -1;
         cKey = null;



Mime
View raw message