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

Weird inconsistency with CONCAT() syntax

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Not a Bug
    • 5.5.44
    • N/A
    • Parser
    • None

    Description

      With, CONCAT(), skipping the commas between parameters is ok:

      select concat('a' 'b' 'c');

      Interestingly, this only works if all parameters are string literals. Also, this does not work with any other function I tried.

      I'm not sure if this "a feature or a bug"... I'm reporting it just in case you are not aware of it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f_razzoli Federico Razzoli
            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.