db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r736700 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLClob.java
Date Thu, 22 Jan 2009 16:43:52 GMT
Author: kristwaa
Date: Thu Jan 22 08:43:51 2009
New Revision: 736700

URL: http://svn.apache.org/viewvc?rev=736700&view=rev
Log:
DERBY-3907: Checkin to fix two test errors (UTF8UtilTest).
The problem is that because the ClobStreamHeaderGenerator isn't used by the engine code yet,
the class isn't included in the jar file.
The few lines checked in here are part of the next patch for the issue.
Patch file: n/a

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLClob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLClob.java?rev=736700&r1=736699&r2=736700&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLClob.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLClob.java Thu Jan 22 08:43:51
2009
@@ -59,6 +59,10 @@
                     new byte[] {0x00, 0x00, (byte)0xF0, 0x00, 0x00},
                     new byte[] {24, 16, -1, 8, 0}, true, true);
 
+    /** The header generator used for 10.5 databases. */
+    private static final StreamHeaderGenerator TEN_FIVE_CLOB_HEADER_GENERATOR =
+            new ClobStreamHeaderGenerator(false);
+
     /**
      * The descriptor for the stream. If there is no stream this should be
      * {@code null}, which is also true if the descriptor hasen't been



Mime
View raw message