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

Changing server_id results in ignoring temporary tables created in the past

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 10.11
    • None
    • None

    Description

      The following sequence results in ER_NO_SUCH_TABLE per select:

      set global server_id= 1;
      create temporary table t(x int) engine=innodb as select 1 as 'x';
      set global server_id= 100;
      select * from t;
      

      The expected behavior is to see the table output.

      I wasn't able to produce any more serious issue in context of temporary tables, though it also causes problems with global temporary tables.

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              nikitamalyavin Nikita Malyavin
              Michael Widenius Michael Widenius
              Roel Van de Paar Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.