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

mysql_stmt_close() interferes with the query results of other statements

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 3.1.13, 3.3.4
    • N/A
    • API
    • All plateform

    Description

      Use mysql_stmt_init() to create multiple statements. When one statement A completes its work (that is, fetches all result sets or no result sets) but is not closed, use statement B to query with result sets and succeed. Closing statement A at this point will cause the result set of statement B to disappear. The same problem will occur if statement B is replaced with mysql_query(). Attached is the demo code.

      Attachments

        Activity

          People

            georg Georg Richter
            freejack811 Tao Su
            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.