ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [2/4] ignite git commit: assert fix
Date Mon, 06 Mar 2017 10:26:47 GMT
assert fix


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

Branch: refs/heads/ignite-3477
Commit: 2f213d9862421646d3cac6e61111ef71ea294c9e
Parents: 65c0d1b
Author: Konstantin Dudkov <kdudkov@ya.ru>
Authored: Mon Mar 6 11:52:18 2017 +0300
Committer: Konstantin Dudkov <kdudkov@ya.ru>
Committed: Mon Mar 6 11:52:18 2017 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/database/InlineIndexHelper.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2f213d98/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 9492241..f385146 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
@@ -342,7 +342,7 @@ public class InlineIndexHelper {
             return -2;
 
         int c = comp.compare(v1, v);
-        assert c > -2;
+        c = c != 0 ? c > 0 ? 1 : -1 : 0;
 
         if (size > 0)
             return fixSort(c, sortType());


Mime
View raw message