You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by nt...@apache.org on 2016/03/29 10:04:54 UTC

[25/27] ignite git commit: IGNITE-2900: CPP: Fixed metadata write routine. This closes #581.

IGNITE-2900: CPP: Fixed metadata write routine. This closes #581.


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

Branch: refs/heads/ignite-2004
Commit: 732abda9ed471ae7c8b80da7676838709ed3dc2b
Parents: fc34e51
Author: isapego <is...@gridgain.com>
Authored: Tue Mar 29 10:06:04 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Tue Mar 29 10:06:04 2016 +0300

----------------------------------------------------------------------
 .../cpp/core/src/impl/binary/binary_type_updater_impl.cpp          | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/732abda9/modules/platforms/cpp/core/src/impl/binary/binary_type_updater_impl.cpp
----------------------------------------------------------------------
diff --git a/modules/platforms/cpp/core/src/impl/binary/binary_type_updater_impl.cpp b/modules/platforms/cpp/core/src/impl/binary/binary_type_updater_impl.cpp
index 6c3bf7f..aedd73b 100644
--- a/modules/platforms/cpp/core/src/impl/binary/binary_type_updater_impl.cpp
+++ b/modules/platforms/cpp/core/src/impl/binary/binary_type_updater_impl.cpp
@@ -80,6 +80,8 @@ namespace ignite
 
                 rawWriter.WriteBool(false); // Enums are not supported for now.
 
+                rawWriter.WriteInt32(0); // Schema size. Compact schema footer is not yet supported.
+
                 out.Synchronize();
 
                 long long res = env.Get()->Context()->TargetInStreamOutLong(javaRef, OP_METADATA, mem.Get()->PointerLong(), &jniErr);