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

plugin variable's check callback isn't invoked for =DEFAULT

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6, 10.11, 11.4, 11.8, 10.5(EOL)
    • 10.11, 11.4, 11.8
    • Plugins, Variables
    • None

    Description

      plugin variables (MYSQL_SYSVAR and MYSQL_THDVAR) can provide a validation callback, it's invoked on SET checking whether a value is valid and can be assigned.

      But for SET var=DEFAULT it's not invoked, and while normally a default value can be expected to be valid, it doesn't necessarily mean that it can be assigned at any arbitrary point in time, for example, a variable might be read-only inside a transaction.

      validation callback must be invoked for =DEFAULT assignments too.

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              serg Sergei Golubchik
              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.