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

Cannot create temporary table in read only transaction

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.6.12
    • N/A
    • N/A
    • None
    • Galera, binlog_format=ROW

    Description

      I think it was possible to create temporay table in read only transaction in the past.

      When I run:

      SET SESSION TRANSACTION READ ONLY;
      CREATE TEMPORARY TABLE t (i INT);
      

      I will get error:

      Error Code: 1792. Cannot execute statement in a READ ONLY transaction
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            PavelCibulka Pavel Cibulka
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.