You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by se...@apache.org on 2017/11/29 15:56:09 UTC
[1/2] incubator-trafodion git commit: [TRAFODION-2693]misleading
error message for 'get schemas' when _MD_ tables in hbase is not avialble
Repository: incubator-trafodion
Updated Branches:
refs/heads/master 1efa9dbdd -> 1e8691465
[TRAFODION-2693]misleading error message for 'get schemas' when _MD_ tables in hbase is not avialble
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/4b9c8c22
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/4b9c8c22
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/4b9c8c22
Branch: refs/heads/master
Commit: 4b9c8c22615ee94f82c7cbd2a26e4bb1c8f4a2ff
Parents: 19c7544
Author: Liu Ming <ov...@sina.com>
Authored: Sat Nov 18 22:34:53 2017 +0000
Committer: Liu Ming <ov...@sina.com>
Committed: Sat Nov 18 22:34:53 2017 +0000
----------------------------------------------------------------------
core/sql/executor/ExExeUtilGet.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/4b9c8c22/core/sql/executor/ExExeUtilGet.cpp
----------------------------------------------------------------------
diff --git a/core/sql/executor/ExExeUtilGet.cpp b/core/sql/executor/ExExeUtilGet.cpp
index 683209c..6d675cb 100644
--- a/core/sql/executor/ExExeUtilGet.cpp
+++ b/core/sql/executor/ExExeUtilGet.cpp
@@ -1757,9 +1757,8 @@ short ExExeUtilGetMetadataInfoTcb::work()
char hiveGetType[10];
char hiveSysCat[10];
- cliInterface()->getCQDval("SEABASE_CATALOG", cat);
-
- // strcpy(cat, TRAFODION_SYSCAT_LIT);
+ if(cliInterface()->getCQDval("SEABASE_CATALOG", cat) < 0)
+ strcpy(cat, TRAFODION_SYSCAT_LIT);
strcpy(sch, SEABASE_MD_SCHEMA);
strcpy(pmsch, SEABASE_PRIVMGR_SCHEMA);
strcpy(tab, SEABASE_OBJECTS);
[2/2] incubator-trafodion git commit: Merge PR 1304
[TRAFODION-2693]misleading error message for 'get schemas' when _MD_ tables
in hbase is not avialble
Posted by se...@apache.org.
Merge PR 1304 [TRAFODION-2693]misleading error message for 'get schemas' when _MD_ tables in hbase is not avialble
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/1e869146
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/1e869146
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/1e869146
Branch: refs/heads/master
Commit: 1e86914654b0d2284299cae3e30f34b2ab55a45a
Parents: 1efa9db 4b9c8c2
Author: selvaganesang <se...@apache.org>
Authored: Wed Nov 29 15:54:32 2017 +0000
Committer: selvaganesang <se...@apache.org>
Committed: Wed Nov 29 15:54:32 2017 +0000
----------------------------------------------------------------------
core/sql/executor/ExExeUtilGet.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------