You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2015/11/19 18:12:57 UTC

[5/6] incubator-trafodion git commit: Another set of changes to take care reviewer comments

Another set of changes to take care reviewer comments


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/2d54c0b0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/2d54c0b0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/2d54c0b0

Branch: refs/heads/master
Commit: 2d54c0b08c4749938d939d510415b66ba79e5eea
Parents: f1396da
Author: selvaganesang <se...@esgyn.com>
Authored: Wed Nov 18 22:39:16 2015 +0000
Committer: selvaganesang <se...@esgyn.com>
Committed: Wed Nov 18 22:39:16 2015 +0000

----------------------------------------------------------------------
 core/sql/executor/HBaseClient_JNI.cpp | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/2d54c0b0/core/sql/executor/HBaseClient_JNI.cpp
----------------------------------------------------------------------
diff --git a/core/sql/executor/HBaseClient_JNI.cpp b/core/sql/executor/HBaseClient_JNI.cpp
index bab5c70..e0712b2 100644
--- a/core/sql/executor/HBaseClient_JNI.cpp
+++ b/core/sql/executor/HBaseClient_JNI.cpp
@@ -2875,14 +2875,7 @@ HBC_RetCode HBaseClient_JNI::getHbaseTableInfo(const char* tblName,
   blockSize = arrayElems[1];
   if (isCopy == JNI_TRUE)
      jenv_->ReleaseIntArrayElements(jHtabInfo, arrayElems, JNI_ABORT);
-
-  if (jresult == false)
-  {
-    logError(CAT_SQL_HBASE, "HBaseClient_JNI::getHbaseTableInfo()", getLastError());
-    jenv_->PopLocalFrame(NULL);
-    return HBC_ERROR_GET_HBTI_EXCEPTION;
-  }
-
+  jenv_->PopLocalFrame(NULL);
   return HBC_OK;  // Table exists.
 }