You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/03/21 13:44:04 UTC

[1/2] ignite git commit: inline index offset fix

Repository: ignite
Updated Branches:
  refs/heads/ignite-3477 ba5f5389f -> c4973889b


inline index offset fix


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

Branch: refs/heads/ignite-3477
Commit: 24a3e9a4f903e379d00adf67f2401bf3b7229e91
Parents: cebc4ff
Author: Konstantin Dudkov <kd...@ya.ru>
Authored: Mon Mar 6 15:54:29 2017 +0300
Committer: Konstantin Dudkov <kd...@ya.ru>
Committed: Mon Mar 6 15:54:39 2017 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/database/InlineIndexHelper.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/24a3e9a4/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelper.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelper.java b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelper.java
index f385146..7381924 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelper.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelper.java
@@ -229,6 +229,9 @@ public class InlineIndexHelper {
         if (size > 0 && size + 1 > maxSize)
             return null;
 
+        if (maxSize < 1)
+            return null;
+
         int type = PageUtils.getByte(pageAddr, off);
 
         if (type == Value.UNKNOWN)


[2/2] ignite git commit: Merge remote-tracking branch 'remotes/community/ignite-db-x' into ignite-3477

Posted by sb...@apache.org.
Merge remote-tracking branch 'remotes/community/ignite-db-x' into ignite-3477


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

Branch: refs/heads/ignite-3477
Commit: c4973889b68e2d69c5246c316882e29a83867378
Parents: ba5f538 24a3e9a
Author: sboikov <sb...@gridgain.com>
Authored: Tue Mar 21 16:42:47 2017 +0300
Committer: sboikov <sb...@gridgain.com>
Committed: Tue Mar 21 16:42:47 2017 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/database/InlineIndexHelper.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------