Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-470

Dropping statement handle could break protocol if other statement hasn't finished fetching results

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.2.7
    • General
    • None

    Description

      The dropped(i.e. freed with SQLFreeHandle or SQLFreeStmt(SQL_DROP)) statement should have used server side prepared statement. The other statement could have used resultset streaming or have multiple resultset and not all of them have been iterated with SQLMoreResults. Dropping such prepared statement requires sending command to the server and function doing that did not check if there is other statement that hasn't finished fetching results, and sent command to the server. That would break the protocol.

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.