Github user selvaganesang commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/918#discussion_r97344477
  
    --- Diff: core/sql/executor/ExStats.h ---
    @@ -3791,9 +3791,9 @@ NA_EIDPROC
       short  &cmpPriority() {return cmpPriority_;}
       short  &dp2Priority() {return dp2Priority_;}
       short  &fixupPriority() {return fixupPriority_;}
    -  inline void setNumSqlProcs(short i) {numSqlProcs_ = i; }
    +  void  incNumEspsInUse() { numOfTotalEspsUsed_++; }
       inline void setNumCpus(short i) {numCpus_ = i; }
    -  inline short getNumSqlProcs() { return numSqlProcs_; }
    +  inline short getNumSqlProcs() { return numOfTotalEspsUsed_+1; }
    --- End diff --
    
    Yes.  Because if the query had just master, then the number of SQL procs 
will be zero. Only the numOfTotalEspsUsed_ is maintained.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to