You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/12/03 14:18:00 UTC
[23/35] ignite git commit: IGNITE-1161 Typo.
IGNITE-1161 Typo.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e0c970a5
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e0c970a5
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e0c970a5
Branch: refs/heads/ignite-1626
Commit: e0c970a5fe46940ac9ab2355dd5913f2f7fc2a69
Parents: c389763
Author: anovikov <an...@gridgain.com>
Authored: Tue Dec 1 21:11:03 2015 +0700
Committer: anovikov <an...@gridgain.com>
Committed: Tue Dec 1 21:11:03 2015 +0700
----------------------------------------------------------------------
.../processors/rest/handlers/query/QueryCommandHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/e0c970a5/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
index 2961a27..bb929a4 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
@@ -90,7 +90,7 @@ public class QueryCommandHandler extends GridRestCommandHandlerAdapter {
long createTime = qryCurIt.timestamp();
- if (createTime + idleQryCurTimeout > time && qryCurIt.tryLock()) {
+ if (time > createTime + idleQryCurTimeout && qryCurIt.tryLock()) {
try {
qryCurIt.timestamp(-1);