Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13925

CONNECT engine table_type=JDBC error with UPDATE statements having single quotes

    XMLWordPrintable

Details

    Description

      If I try to update a JDBC connect table with a string that includes a single quote I get the following error:

      (conn:299) Got error 122 'ExecuteUpdate: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'. n=-1' from CONNECT) #1296

      We are sending the UPDATE statement to MariaDB with a prepared statement if that makes any difference.

      Attachments

        Activity

          People

            bertrandop Olivier Bertrand
            rdyas Robert Dyas
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.