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

CREATE OR REPLACE TRIGGER produces ER_TRG_DOES_NOT_EXIST

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
    • 10.11
    • Triggers
    • None

    Description

      create table t1 (i int);
      create table t2 (i int);
       
      --echo # This works OK
      create or replace trigger tr after insert on t1 for each row set @a=1;
      --echo # This also works OK
      create or replace trigger tr after insert on t1 for each row set @a=1;
      --echo # This fails
      create or replace trigger tr after insert on t2 for each row set @a=1;
       
      drop table t1, t2;
      

      MariaDB [test]> create or replace trigger tr after insert on t2 for each row set @a=1;
      ERROR 1360 (HY000): Trigger does not exist
      

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.