trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selvaganesang <...@git.apache.org>
Subject [GitHub] trafodion pull request #1380: [TRAFODION-2886] fix the nullpointer error sca...
Date Thu, 11 Jan 2018 05:21:24 GMT
Github user selvaganesang commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1380#discussion_r160866708
  
    --- Diff: 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;
    +    * rc = EXE_NO_MEM_TO_EXEC;
    --- End diff --
    
    The deleted code is correct.  In the new code rc could be NULL


---

Mime
View raw message