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

COM_STMT_CLOSE send to server after prepare fail

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • None
    • N/A
    • Other
    • None

    Description

      COM_STMT_CLOSE packet is sent to server even after PREPARE fail.
      example to reproduced :

      MYSQL_STMT *stmt;
      stmt= mysql_stmt_init(mysql);
      rc= mysql_stmt_prepare(stmt, SL("wrong query"));
      mysql_stmt_close(stmt); => fail with error prepared statement with id 0 fail
      

      (an error is only send back when using maxscale, see https://travis-ci.com/github/mariadb-corporation/mariadb-connector-c/builds/215050216)

      Attachments

        Activity

          People

            georg Georg Richter
            diego dupin Diego Dupin
            Votes:
            1 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.