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

If the variable name starts from underscore, the incorrect trigger body is retrieved from metadata.

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3.15, 10.3, 10.4
    • 10.4
    • OTHER
    • None

    Description

      Preconditions: MariaDB 10.3.15 is installed from box.
      Only information_schema, mysql and performance_schema are available after installation. No user databases are present.
      All actions are performed with the user root.
      Steps to reproduce:
      1. Run the command line and execute the command:
      "C:\Program Files\MariaDB 10.3\bin\mysql.exe" -u root -proot
      2. Execute the script (see attachment) with the command: source D:/Script.sql
      After the script is executed, the db1 database will be created
      3. Execute two queries through the MySQL console

      SELECT ACTION_STATEMENT FROM information_schema.triggers WHERE TRIGGER_SCHEMA = 'db1';
      SHOW CREATE TRIGGER db1.trigger1;
      

      4. The result is shown on the screenshot :

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            AlenaS Alena Subotina
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.