Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6765

ODBC: Error when closing executed DML statement.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2
    • 2.4
    • odbc

    Description

      There is an error, on attempt to close executed DML statement:

      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);
      

      The error message is "Failed to close statement: HY000: Failed to find query with ID: <some_id>"

      Attachments

        Activity

          People

            isapego Igor Sapego
            isapego Igor Sapego
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: