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

Can't insert semicolons with rewriteBatchedStatements=true

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.1.8
    • 1.1.9
    • Other
    • 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

              diego dupin Diego Dupin
              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.