ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-1516-1
Date Mon, 21 Sep 2015 14:54:21 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1516-1 38319bc79 -> 081de48e7


ignite-1516-1


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

Branch: refs/heads/ignite-1516-1
Commit: 081de48e7957cb3bf9758602d5a6f27c42eacd9c
Parents: 38319bc
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Sep 21 17:54:12 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Sep 21 17:54:12 2015 +0300

----------------------------------------------------------------------
 .../processors/query/h2/opt/GridH2AbstractKeyValueRow.java      | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/081de48e/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2AbstractKeyValueRow.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2AbstractKeyValueRow.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2AbstractKeyValueRow.java
index fa713c8..ce1ecfa 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2AbstractKeyValueRow.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2AbstractKeyValueRow.java
@@ -127,8 +127,9 @@ public abstract class GridH2AbstractKeyValueRow extends GridH2Row {
     /**
      * Atomically updates weak value.
      *
-     * @param upd New value.
+     * @param valObj New value.
      * @return {@code null} If update succeeded, unexpected value otherwise.
+     * @throws IgniteCheckedException If failed.
      */
     protected synchronized Value updateWeakValue(Object valObj) throws IgniteCheckedException
{
         Value res = peekValue(VAL_COL);
@@ -187,7 +188,7 @@ public abstract class GridH2AbstractKeyValueRow extends GridH2Row {
             Value v;
 
             if (col == VAL_COL) {
-                v = syncValue(0);
+                v = peekValue(VAL_COL);
 
                 long start = 0;
                 int attempt = 0;


Mime
View raw message