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

Request: assign value to server var within LAST_VALUE()

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Won't Fix
    • N/A
    • OTHER
    • None

    Description

      I tried the following:

      MariaDB [test]> SET @@global.sql_mode := LAST_VALUE(@@session.sql_mode := 'STRICT_ALL_TABLES');
      ERROR 1064 (42000): 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 ':= 'STRICT_ALL_TABLES')' at line 1

      Not surprising: after all setting @@session.sql_mode requires SET. But this is something one might wish to do.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            f_razzoli Federico Razzoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.