Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5197

Failed to drop the trigger due to invalid syntax in the Query Editor

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 22.08.13
    • 23.02.11
    • maxgui
    • None
    • MXS-SPRINT-214

    Description

      Right-click on a trigger node in the schema tree explorer, the auto-generated SQL for dropping the trigger is invalid. For example:

      DROP TRIGGER `department`.`prevent_department_deletion`;
      

      `department` is the table name but it should have been the schema name.

      The valid syntax would be as follows:

      DROP TRIGGER `company`.`prevent_department_deletion`;
      

      Attachments

        Activity

          People

            thien.ly Thien Ly
            thien.ly Thien Ly
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.