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: Stalled (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

              pranav.tiwari@mariadb.com Pranav Kumar Tiwari
              nikitamalyavin Nikita Malyavin
              Michael Widenius Michael Widenius
              Roel Van de Paar Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Time Spent - 6h 10m Remaining Estimate - 0.5d
                  0.5d
                  Logged:
                  Time Spent - 6h 10m Remaining Estimate - 0.5d
                  6h 10m

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.