You are viewing a plain text version of this content. The canonical link for it is here.
Posted to codereview@trafodion.apache.org by xwq <gi...@git.apache.org> on 2016/01/14 05:53:51 UTC

[GitHub] incubator-trafodion pull request: [TRAFODION-1682]MT-DCS protocol ...

GitHub user xwq opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/265

    [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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xwq/incubator-trafodion mtdcs

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/265.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #265
    
----
commit e06b2640e6f83556217405f81f8f211db1fedac0
Author: Weiqing Xu <we...@esgyn.cn>
Date:   2016-01-14T02:57:32Z

    [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.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-trafodion pull request: [TRAFODION-1682]MT-DCS protocol ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-trafodion/pull/265


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---