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

Unsuccessful mariadb_stmt_execute_direct makes connection unesuful

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows(probably does not matter), 10.2 server branch, master C/C branch

      Description

      static int conc_217(MYSQL *mysql)

      { MYSQL_STMT *stmt= mysql_stmt_init(mysql); int rc= mariadb_stmt_execute_direct(stmt, "SELECT * from non_existent", -1); FAIL_IF(rc != 1, "Error expected"); /* No matter we do after this, nothing will work on this connection */ mysql_stmt_close(stmt); check_mysql_rc(mysql_query(ma, "drop table if exists t_count"), mysql); return OK; }

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration

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