You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by su...@apache.org on 2018/01/22 15:56:54 UTC
[7/9] trafodion git commit: fix the nullpointer error scanned by
TScanCode. modify as review
fix the nullpointer error scanned by TScanCode. modify as review
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/fbcd84b6
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/fbcd84b6
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/fbcd84b6
Branch: refs/heads/master
Commit: fbcd84b60e35f6cbe781e89f81313633246ac3ad
Parents: cb11885
Author: Kenny <xi...@esgyn.cn>
Authored: Fri Jan 12 15:33:31 2018 +0000
Committer: Kenny <xi...@esgyn.cn>
Committed: Fri Jan 12 15:33:31 2018 +0000
----------------------------------------------------------------------
core/sql/executor/cluster.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/fbcd84b6/core/sql/executor/cluster.cpp
----------------------------------------------------------------------
diff --git a/core/sql/executor/cluster.cpp b/core/sql/executor/cluster.cpp
index 40a44d4..1c9ed43 100644
--- a/core/sql/executor/cluster.cpp
+++ b/core/sql/executor/cluster.cpp
@@ -2395,7 +2395,7 @@ NABoolean Cluster::checkAndSplit(ExeErrorCode * rc)
rc);
if ( !next_ || *rc ) {
- if ( !(*rc))* rc = EXE_NO_MEM_TO_EXEC;
+ if (EXE_OK == *rc) *rc = EXE_NO_MEM_TO_EXEC;
return TRUE;
}