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

CONNECT engine JDBC remote index prevents UPDATE

    XMLWordPrintable

Details

    Description

      If I declare a CONNECT table (test case is using MS SQL Server) I can easily issue simple UPDATE statements like:

      UPDATE MyConnectTable SET name = 'bob' WHERE id = 23
      

      The above works great. However, if I add a remote index to the table as follows (or during the CREATE TABLE statement) the UPDATE will fail:

      ALTER TABLE MyConnectTable ADD INDEX (id)
      

      For some reason it appears that CONNECT won't let me issue an UPDATE if I declare the primary key column of the remote table as indexed.

      Attachments

        Activity

          People

            bertrandop Olivier Bertrand
            rdyas Robert Dyas
            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.