Clone
Weiqing Xu <weiqing.xu@esgyn.cn>
committed
on 14 Jan 16
[TRAFODION-1682]MT-DCS protocol issue fix
This commit will fix following issues.
1. [TRAFODION-1682][MTDCS] ODBC: SQLFetch returned invalid … Show more
[TRAFODION-1682]MT-DCS protocol issue fix

This commit will fix following issues.

1. [TRAFODION-1682][MTDCS] ODBC: SQLFetch returned invalid cursor

state. It's caused by the length of descriptor2List is not correct and

the 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 message

missing a int which indicate 0 excaption when there is no exception.

3. [TRAFODION-1658][MTDCS] with MultiThread DCS on, coast core dumped

at memcpy when there is parameter in prepare statement. It's caused by

the length of the descriptor2List is not correct.

Show less

default + 7 more