[ 
https://issues.apache.org/jira/browse/IGNITE-6765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16226681#comment-16226681
 ] 

ASF GitHub Bot commented on IGNITE-6765:
----------------------------------------

GitHub user isapego opened a pull request:

    https://github.com/apache/ignite/pull/2949

    IGNITE-6765: Added ODBC test for closing cursor after DML execution

    

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

    $ git pull https://github.com/gridgain/apache-ignite ignite-6765

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

    https://github.com/apache/ignite/pull/2949.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 #2949
    
----
commit dd7e9e5d69c09f2a781fc177d12c3a6a47a5af1a
Author: Igor Sapego <[email protected]>
Date:   2017-10-31T12:08:07Z

    IGNITE-6765: Added test

----


> ODBC: Error when closing executed DML statement.
> ------------------------------------------------
>
>                 Key: IGNITE-6765
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6765
>             Project: Ignite
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>          Components: odbc
>    Affects Versions: 2.2
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>            Priority: Critical
>              Labels: important, odbc
>             Fix For: 2.4
>
>
> There is an error, on attempt to close executed DML statement:
> {code}
> SQLRETURN ret = SQLExecDirect(stmt, "UPDATE Person SET salary=1000 WHERE 
> _key=2" , SQL_NTS);
> assert(ret == SQL_SUCCESS);
> ret = SQLFreeStmt(stmt, SQL_CLOSE);
> assert(ret == SQL_SUCCESS);
> {code}
> The error message is "Failed to close statement: HY000: Failed to find query 
> with ID: <some_id>"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to