ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [01/22] ignite git commit: IGNITE-1770: Write raw offset if needed.
Date Mon, 26 Oct 2015 12:57:44 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1770 96d08a531 -> 40aa800a2


IGNITE-1770: Write raw offset if needed.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/d6ba7185
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d6ba7185
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d6ba7185

Branch: refs/heads/ignite-1770
Commit: d6ba7185dca7f0f160d63a67486995e80ef5792a
Parents: 96d08a5
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Mon Oct 26 10:56:14 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Mon Oct 26 10:56:14 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/portable/PortableWriterExImpl.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d6ba7185/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableWriterExImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableWriterExImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableWriterExImpl.java
index bf99118..1c1a185 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableWriterExImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableWriterExImpl.java
@@ -346,9 +346,13 @@ public class PortableWriterExImpl implements PortableWriter, PortableRawWriterEx
             // 3. Write the schema.
             for (Integer val : tail)
                 out.writeInt(val);
+
+            // 4. Write raw offset if needed.
+            if (rawOffPos != 0)
+                out.writeInt(rawOffPos);
         }
 
-        // 4. Write length.
+        // 5. Write length.
         out.writeInt(start + TOTAL_LEN_POS, out.position() - start);
 
     }


Mime
View raw message