Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-522

mysql_stmt_reset sends COM_STMT_CLOSE even when not in prepared state

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.11
    • 3.1.12
    • None
    • None

    Description

      The mysql_stmt_reset() api call should reset a statement on server and client side and set the statement state to prepared.
      If the statement wasn't prepared before (or the a previous prepare failed), mysql_stmt_reset() will send an unnecessary COM_STMT_CLOSE command with stmt id=0 to the server.

      Attachments

        Activity

          People

            georg Georg Richter
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.