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

    • Type: Bug
    • Status: Confirmed (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.3, 10.4, 10.3.15
    • Fix Version/s: 10.3, 10.4
    • Component/s: OTHER
    • Labels:
      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

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            AlenaS Alena Subotina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: