ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [01/16] ignite git commit: ignite-db - page id format
Date Wed, 04 May 2016 06:01:39 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-db-x-10884 4a8fb8f34 -> 9fa657164


ignite-db - page id format


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

Branch: refs/heads/ignite-db-x-10884
Commit: 646ba1d95b40dde46cf8e51a9ab6986090b6b274
Parents: 06feabe
Author: S.Vladykin <svladykin@gridgain.com>
Authored: Wed Apr 27 19:10:16 2016 +0300
Committer: S.Vladykin <svladykin@gridgain.com>
Committed: Wed Apr 27 19:10:16 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/database/tree/BPlusTree.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/646ba1d9/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/BPlusTree.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/BPlusTree.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/BPlusTree.java
index cccb880..10d2ff5 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/BPlusTree.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/database/tree/BPlusTree.java
@@ -44,6 +44,7 @@ import org.apache.ignite.internal.util.lang.GridCursor;
 import org.apache.ignite.internal.util.lang.GridTreePrinter;
 import org.apache.ignite.internal.util.typedef.F;
 import org.apache.ignite.internal.util.typedef.internal.S;
+import org.apache.ignite.internal.util.typedef.internal.SB;
 import org.apache.ignite.internal.util.typedef.internal.U;
 
 import static org.apache.ignite.internal.processors.cache.database.tree.util.PageHandler.readPage;
@@ -799,7 +800,7 @@ public abstract class BPlusTree<L, T extends L> {
      * @return String.
      */
     private static String formatPageId(long x) {
-        return Long.toString(x); //'x' + Long.toHexString(x).toUpperCase();
+        return new SB().appendHex(x).toString();
     }
 
     /**


Mime
View raw message