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

cannot reopen temporary table

    XMLWordPrintable

Details

    • 10.2.0-1, 10.2.0-3, 10.2.0-5, 10.2.0-6, 10.2.0-7, 10.2.0-8, 10.2.0-9, 10.2.0-10, 10.2.0-11, 10.2.1-1, 10.2.1-3, 10.2.1-4, 5.5.50

    Description

      It is a well-known and very old MySQL/MariaDB limitation that temporary tables can only be used once in any query; for example, one cannot join a temporary table to itself. This task is about removing this limitation.

      original bug report:

      if I create temporary table a (id int); I cant select a1.* from a a1, a a2;

      I understand, that http://bugs.mysql.com/bug.php?id=10327 is in "feature" state for 8(!!!) years.
      But may be at least at mariadb someone to fix it.
      It is not so extraordinary type of select.
      I had bumped at almost all kind of problems about this, which are described about this bug. And any kind of rewrite selects/logic to avoid this error is a huge performance and logic issuse at hiload projects.
      Can anyone tell me if it would be fixed? when? where?
      Because I cant find any mention about it in mariadb.
      Sorry if I missed something.

      Attachments

        Issue Links

          Activity

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              chombik tem (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              12 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.