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

"silent" becomes a reserved word under --named-commands

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      "silent" becomes a reserved word under --named-commands. Without --named-commands mariadb client returns the expected single row table

      MDEV-40551 CS 13.2.0 9f82c8776ddfd7876cef0b8c5e62e71c34e796e6 (Debug, Clang 18.1.3-11) Build 14/09/2026

      $ printf 'select 1 as\nsilent\n;\n' | /test/mtest/MDEV-40551/MD140926-mariadb-13.2.0-linux-x86_64-opt/bin/mariadb -uroot -S/test/mtest/MDEV-40551/MD140926-mariadb-13.2.0-linux-x86_64-opt/socket.sock test --named-commands --table --force
      --------------
      select 1 as
      --------------
       
      ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
      $
      

      Attachments

        Issue Links

          Activity

            People

              ramesh Ramesh Sivaraman
              ramesh Ramesh Sivaraman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 40m
                  40m

                  Git Integration

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