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

Can't insert semicolons with rewriteBatchedStatements=true

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

            ams2990 Andy Shulman created issue -
            ams2990 Andy Shulman made changes -
            Field Original Value New Value

            Duplicate of CONJ-142 which is fixed on the master branch

            roidelapluie Julien Pivotto added a comment - Duplicate of CONJ-142 which is fixed on the master branch
            roidelapluie Julien Pivotto made changes -
            ams2990 Andy Shulman added a comment -

            I agree it's a duplicate, but it's definitely not fixed on master.

            ams2990 Andy Shulman added a comment - I agree it's a duplicate, but it's definitely not fixed on master.
            ams2990 Andy Shulman made changes -
            ams2990 Andy Shulman made changes -
            diego dupin Diego Dupin made changes -
            Fix Version/s 1.1.9 [ 16400 ]
            diego dupin Diego Dupin made changes -
            Assignee Georg Richter [ georg ] diego dupin [ diego dupin ]
            diego dupin Diego Dupin made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            diego dupin Diego Dupin made changes -
            Fix Version/s 1.1.9 [ 16400 ]
            diego dupin Diego Dupin made changes -
            Fix Version/s 1.1.9 [ 16400 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB connectors [ 67611 ] MariaDB v3 [ 70164 ]
            diego dupin Diego Dupin added a comment -

            it is now (since the 4 june)

            diego dupin Diego Dupin added a comment - it is now (since the 4 june)
            diego dupin Diego Dupin made changes -
            Component/s Other [ 12201 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 70164 ] MariaDB v4 [ 134772 ]

            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.