]> source.dussan.org Git - jackcess.git/commitdiff
Fix partial page updates when using CodecHandlers which can only do full page encoding
authorJames Ahlborn <jtahlborn@yahoo.com>
Sat, 25 May 2013 00:04:22 +0000 (00:04 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Sat, 25 May 2013 00:04:22 +0000 (00:04 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@728 f203690c-595d-4dc9-a70b-905162fa7fd2

src/changes/changes.xml
src/java/com/healthmarketscience/jackcess/PageChannel.java

index 0564cc51b904aabff937ee1da6b5e17def41dc56..260f2667cb900474e1a425f8dd88ddcde8670820 100644 (file)
@@ -4,6 +4,12 @@
     <author email="javajedi@users.sf.net">Tim McCune</author>
   </properties>
   <body>
+    <release version="1.2.13" date="TBD">
+      <action dev="jahlborn" type="fix">
+        Fix partial page updates when using CodecHandlers which can only do
+        full page encoding.
+      </action>
+    </release>
     <release version="1.2.12" date="2013-05-09">
       <action dev="jahlborn" type="fix" system="SourceForge2" issue="94">
         Do not unicode compress strings which are longer than 1024 chars.
index cd2a03c6a8c5d9095d0513abdb91efd3b0ce6bc6..58b40170bfb84bf7c195d611da328d03ab997774 100644 (file)
@@ -239,6 +239,7 @@ public class PageChannel implements Channel, Flushable {
           // reset so we can write the whole page
           page = fullPage;
           pageOffset = 0;
+          writeLen = getFormat().PAGE_SIZE;
 
         } else {