trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sure...@apache.org
Subject [7/9] trafodion git commit: fix the nullpointer error scanned by TScanCode. modify as review
Date Mon, 22 Jan 2018 15:56:54 GMT
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 <xiaozhong.wang@esgyn.cn>
Authored: Fri Jan 12 15:33:31 2018 +0000
Committer: Kenny <xiaozhong.wang@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;
   }
 


Mime
View raw message