nonstop-qfchen commented on a change in pull request #1848: [TRAFODION-3316]
Three fixes to UPDATE STATISTICS
URL: https://github.com/apache/trafodion/pull/1848#discussion_r301736648
##########
File path: core/sql/ustat/hs_cli.cpp
##########
@@ -194,7 +197,7 @@ Lng32 HSFuncExecQuery( const char *dml
HSErrorCatcher errorCatcher(retcode, sqlcode, errorToken, TRUE,
inactivateErrorCatcher);
retcode = HSFuncExecQueryBody(dml,sqlcode,rowsAffected,errorToken,
- srcTabRowCount,tabDef,errorToIgnore,checkMdam);
+ srcTabRowCount !=
NULL,tabDef,errorToIgnore,checkMdam);
HSHandleError(retcode);
Review comment:
We could use !srcTabRowCount here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services