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

Allow arbitrary options in CREATE SERVER

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 11.7.1
    • Server
    • None

    Description

      The existing syntax for CREATE SERVER:

      CREATE [OR REPLACE] SERVER [IF NOT EXISTS] server_name
          FOREIGN DATA WRAPPER wrapper_name
          OPTIONS (option [, option] ...)
      

      option:
        { HOST character-literal
        | DATABASE character-literal
        | USER character-literal
        | PASSWORD character-literal
        | SOCKET character-literal
        | OWNER character-literal
        | PORT numeric-literal }
      

      With this change we will have:

      option:
        { HOST character-literal
        | DATABASE character-literal
        | USER character-literal
        | PASSWORD character-literal
        | SOCKET character-literal
        | OWNER character-literal
        | PORT numeric-literal
        | PORT quoted-numerical-literal
        | identifier character-literal}
      

      Attachments

        Issue Links

          Activity

            ycp Yuchen Pei added a comment -

            Currently under review as a part of MDEV-15696

            ycp Yuchen Pei added a comment - Currently under review as a part of MDEV-15696

            Testing was included with MDEV-15696

            OK to push

            Roel Roel Van de Paar added a comment - Testing was included with MDEV-15696 OK to push
            ycp Yuchen Pei added a comment -

            thanks for the testing Roel. Pushed as part of MDEV-15696.

            As mentioned in https://jira.mariadb.org/browse/MDEV-15696?focusedCommentId=289669&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-289669, the two cleanup and bugfix commits (see below) will also be pushed to the earliest version applicable

            2345407b8c2 MDEV-34716 Fix mysql.servers socket max length too short
            84df8d72751 MDEV-34716 spider: some trivial cleanups and documentation
            

            ycp Yuchen Pei added a comment - thanks for the testing Roel . Pushed as part of MDEV-15696 . As mentioned in https://jira.mariadb.org/browse/MDEV-15696?focusedCommentId=289669&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-289669 , the two cleanup and bugfix commits (see below) will also be pushed to the earliest version applicable 2345407b8c2 MDEV-34716 Fix mysql.servers socket max length too short 84df8d72751 MDEV-34716 spider: some trivial cleanups and documentation

            People

              ycp Yuchen Pei
              ycp Yuchen Pei
              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.