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

DatabaseMetaData.getSqlKeywords() includes eight pairs of concatenated words

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.5.10
    • None
    • metadata
    • None
    • Windows 11, JDK 25, MariaDB 12.3.2

    Description

      Calling `DatabaseMetaData.getSQLKeywords()` on the latest driver returns a list that includes some odd looking "keywords":

      • enclosedescaped
      • exceptexists
      • fromfulltext
      • intersectinterval
      • offseton
      • realrecursive
      • row_numberrows
      • windowwith

      It appears that these are all concatenated pairs of consecutive keywords. They are all in the string returned here: https://github.com/mariadb-corporation/mariadb-connector-j/blob/main/src/main/java/org/mariadb/jdbc/DatabaseMetaData.java#L1661

      Perhaps this is a bug in https://github.com/mariadb-corporation/mariadb-connector-j/blob/main/src/tooling/java/org/mariadb/jdbc/GenerateSqlKeywords.java#L20, which I think may be used to generate the hard-coded list?

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            adamr Adam Rauch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.