You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by iv...@apache.org on 2015/07/29 16:50:31 UTC
incubator-ignite git commit: #ignite-1170: add nodejs support for
scan query.
Repository: incubator-ignite
Updated Branches:
refs/heads/ignite-1170 9a5df1afa -> 0f3a71cf0
#ignite-1170: add nodejs support for scan query.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0f3a71cf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0f3a71cf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0f3a71cf
Branch: refs/heads/ignite-1170
Commit: 0f3a71cf0eccbb477d600ffd3e6b93e8b65163b1
Parents: 9a5df1a
Author: ivasilinets <iv...@gridgain.com>
Authored: Wed Jul 29 17:50:25 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Wed Jul 29 17:50:25 2015 +0300
----------------------------------------------------------------------
.../processors/rest/handlers/query/QueryCommandHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0f3a71cf/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 eafa1d2..60fa5c9 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
@@ -152,7 +152,7 @@ public class QueryCommandHandler extends GridRestCommandHandlerAdapter {
break;
default:
- throw new IgniteException("Incorrect query type.");
+ throw new IgniteException("Incorrect query type [type=" + req.queryType() + "]");
}
IgniteCache<Object, Object> cache = ctx.grid().cache(req.cacheName());