Github user nonstop-qfchen commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/918#discussion_r97324910
--- 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 --
Should we +1 every time we call getNumSqlProcs()?
---
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.
---