ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: ignite-843 Sql fix
Date Thu, 01 Oct 2015 10:12:37 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843 dd9c3e3f3 -> 0214b2651


ignite-843 Sql fix


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

Branch: refs/heads/ignite-843
Commit: 0214b26519efbac833862bc6ca437721e34b19cc
Parents: dd9c3e3
Author: Andrey <anovikov@gridgain.com>
Authored: Thu Oct 1 17:12:24 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Thu Oct 1 17:12:24 2015 +0700

----------------------------------------------------------------------
 .../control-center-web/src/main/js/controllers/sql-controller.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0214b265/modules/control-center-web/src/main/js/controllers/sql-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/sql-controller.js b/modules/control-center-web/src/main/js/controllers/sql-controller.js
index 8654d07..2dd03c0 100644
--- a/modules/control-center-web/src/main/js/controllers/sql-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/sql-controller.js
@@ -504,7 +504,7 @@ consoleModule.controller('sqlController',
 
         _cancelRefresh(paragraph);
 
-        paragraph.queryArgs = { cacheName: paragraph.cacheName };
+        paragraph.queryArgs = {query: 'EXPLAIN ' + paragraph.query, pageSize: paragraph.pageSize,
cacheName: paragraph.cacheName };
 
         _showLoading(paragraph, true);
 
@@ -524,7 +524,7 @@ consoleModule.controller('sqlController',
 
         _cancelRefresh(paragraph);
 
-        paragraph.queryArgs = { cacheName: paragraph.cacheName };
+        paragraph.queryArgs = { pageSize: paragraph.pageSize, cacheName: paragraph.cacheName
};
 
         _showLoading(paragraph, true);
 


Mime
View raw message