ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [3/3] ignite git commit: IGNITE-1770: Fixed bug causing incorrect raw offset calculation in nested objects.
Date Wed, 28 Oct 2015 15:28:30 GMT
IGNITE-1770: Fixed bug causing incorrect raw offset calculation in nested objects.


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

Branch: refs/heads/ignite-1770
Commit: d6a5d8e31a1abe1d74dece017f49fe3a3aed8c7c
Parents: 69faf96
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Wed Oct 28 18:29:09 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Wed Oct 28 18:29:09 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/portable/PortableUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d6a5d8e3/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
index 38b6e6c..eafcbd1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/portable/PortableUtils.java
@@ -631,7 +631,7 @@ public class PortableUtils {
 
         if (PortableUtils.isRawOnly(flags))
             // No schema, raw offset is located on schema offset position.
-            return in.readIntPositioned(start + GridPortableMarshaller.SCHEMA_OR_RAW_OFF_POS);
+            return start + in.readIntPositioned(start + GridPortableMarshaller.SCHEMA_OR_RAW_OFF_POS);
         else {
             // Schema exists.
             int schemaOff = in.readIntPositioned(start + GridPortableMarshaller.SCHEMA_OR_RAW_OFF_POS);


Mime
View raw message