[TRAFODION-1682]MT-DCS protocol issue fix This commit will fix following issues. 1. [TRAFODION-1682][MTDCS] ODBC: SQLFetch returned invalid …
[TRAFODION-1682]MT-DCS protocol issue fixThis commit will fix following issues.1. [TRAFODION-1682][MTDCS] ODBC: SQLFetch returned invalid cursorstate. It's caused by the length of descriptor2List is not correct andthe sqlQueryType is not correct either. For sqlQueryType, SqlUtils.getSqlStmtType(String str) will be used instead of SqlUtils.getSqlStmtType(int stmtType) since it can't return the correct value.2. [TRAFODION-1653][MTDCS] coast tests core dumped at 'operator new'when Multithread DCS is on. It's caused by the EndTransaction messagemissing a int which indicate 0 excaption when there is no exception.3. [TRAFODION-1658][MTDCS] with MultiThread DCS on, coast core dumpedat memcpy when there is parameter in prepare statement. It's caused bythe length of the descriptor2List is not correct.