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

Make Global Temporary Tables DDL errors more specific

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • N/A
    • N/A
    • None
    • Q4/2025 Server Maintenance

    Description

      The discussion is in MDEV-37385. Lock timeout error for cases like

      CREATE GLOBAL TEMPORARY TABLE t (c INT) ON COMMIT PRESERVE ROWS;
      INSERT t VALUES (1);
      DROP TABLE t;
      

      does not inspire confidence.

      The proposed error is ER_TABLE_ALREADY_IN_USE, though we haven't one.
      Another candidate is ER_LOCK_OR_ACTIVE_TRANSACTION

      Attachments

        Issue Links

          Activity

            People

              nikitamalyavin Nikita Malyavin
              nikitamalyavin Nikita Malyavin
              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.