Github user arvind-narain commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/28#discussion_r34718933
--- Diff: core/conn/jdbc_type2/native/CSrvrConnect.cpp ---
@@ -338,7 +338,10 @@ SRVR_STMT_HDL *SRVR_CONNECT_HDL::createSrvrStmt(
short sqlStmtType,
BOOL useDefaultDesc,
BOOL internalStmt,
- long stmtId)
+ long stmtId,
+ short sqlQueryType, // If sqlQueryType indicates it's SPJ
statement, then the member variable
+ Int32 resultSetIndex, // resultSetIndex and callStmtId of
SRVR_STMT_HDL should be initialized
+ SQLSTMT_ID* callStmtId) // with these passed in args
{
FUNCTION_ENTRY("SRVR_CONNECT_HDL::createSrvrStmt",("..."));
DEBUG_OUT(DEBUG_LEVEL_ENTRY,(" stmtLabel=%s, sqlcode=0x%08x",
--- End diff --
Do please add the new parameters -sqlQueryType, resultSetIndex etc.
---
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.
---