Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-155

Can't insert semicolons with rewriteBatchedStatements=true

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.8
    • Fix Version/s: 1.1.9
    • Component/s: Other
    • Labels:
      None

      Description

      The fix for CONJ-99 introduced a regression. getInsertIncipit checks for the location of a semicolon in the INSERT statement to ensure the DML provided is just a simple INSERT. However, if you're trying to insert a semicolon as part of your data, you're out of luck.

      For instance, INSERT INTO `mytable`(`myfield`) VALUES (';')

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              diego dupin Diego Dupin
              Reporter:
              ams2990 Andy Shulman
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.