Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-172

Error in batch operation misinterpreted by connector and it marks the connection closed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 1.1.9, 1.0.8
    • 1.1.10, 1.0.9
    • General
    • None

    Description

      One of the most probable reasons - primary key duplication on one of the rows.
      In 1.0 series there are some peculiarities. In case of useBulkStmt consequent destroying of the prepared statement object throws unhandled exception that aborts the application(unless the app catches it for own reason). If bulk operations are not used - the executeBatch() itself would throw unhandled exception as not re-entrant mutex would be attempted to be locked twice

      Attachments

        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.