You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2011/03/30 00:56:38 UTC

svn commit: r1086798 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java

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;