You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by hy...@apache.org on 2015/09/08 05:19:11 UTC

tajo git commit: TAJO-1805: In the 'Execute Query' page of web UI, default database should be set as 'default'. (Contributed by Dongkyu Hwangbo, committed by hyunsik)

Repository: tajo
Updated Branches:
  refs/heads/master 52161f834 -> 579e9de81


TAJO-1805: In the 'Execute Query' page of web UI, default database should be set as 'default'. (Contributed by Dongkyu Hwangbo, committed by hyunsik)

Closes #739


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/579e9de8
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/579e9de8
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/579e9de8

Branch: refs/heads/master
Commit: 579e9de810f65e6f657cb0abc7300af729149191
Parents: 52161f8
Author: Hyunsik Choi <hy...@apache.org>
Authored: Tue Sep 8 12:14:49 2015 +0900
Committer: Hyunsik Choi <hy...@apache.org>
Committed: Tue Sep 8 12:16:19 2015 +0900

----------------------------------------------------------------------
 CHANGES                                                       | 4 ++++
 tajo-core/src/main/resources/webapps/admin/query_executor.jsp | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/579e9de8/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index f2ab3a9..024be73 100644
--- a/CHANGES
+++ b/CHANGES
@@ -249,6 +249,10 @@ Release 0.11.0 - unreleased
 
   BUG FIXES
 
+    TAJO-1805: In the 'Execute Query' page of web UI, default database 
+    should be set as 'default'. (Contributed by Dongkyu Hwangbo, committed 
+    by hyunsik)
+
     TAJO-1823: Can't start TajoMaster. (hyunsik)
 
     TAJO-1820: Fix wrong case sensitivity rules of non-reserved keywords.

http://git-wip-us.apache.org/repos/asf/tajo/blob/579e9de8/tajo-core/src/main/resources/webapps/admin/query_executor.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/src/main/resources/webapps/admin/query_executor.jsp b/tajo-core/src/main/resources/webapps/admin/query_executor.jsp
index 49a43d4..cc3efce 100644
--- a/tajo-core/src/main/resources/webapps/admin/query_executor.jsp
+++ b/tajo-core/src/main/resources/webapps/admin/query_executor.jsp
@@ -300,7 +300,7 @@ function getPage() {
     <%
 	for (String databaseName : master.getCatalog().getAllDatabaseNames()) {
 	%>
-	  <option value="<%=databaseName%>"><%=databaseName%></option>
+	  <option value="<%=databaseName%>" <%= (databaseName.equals("default"))?"selected":"" %> ><%=databaseName%></option>
 	<%
 	}
 	%>