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

Connector can crash, if one of queires in the batch returns error on result storing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.17
    • 3.2.0, 3.1.18
    • General
    • None

    Description

      For example, this batch

      "SELECT 1; SELECT(SELECT ENGINE FROM INFORMATION_SCHEMA.ENGINES)"
      

      will do this.

      This happens, because 2nd query prepares and executes without an error, the error occurs only on the stage of the storing of the result(because sub-query returns more than one row), and that case is not processed in the connector in case of batch of queries.

      Attachments

        Issue Links

          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.