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

Temporary file is left behind upon CREATE OR REPLACE-ing on Blackhole table

Details

    Description

      The engine in CREATE OR REPLACE can be anything, Blackhole or something else. Only the initial table being Blackhole matters.

      install soname 'ha_blackhole';
       
      create table t (a int) engine=Blackhole;
      create or replace table t (b int);
      drop table t;
       
      uninstall soname 'ha_blackhole';
       
      --list_files $MARIADB_DATADIR/test/ "#*"
      

      bb-main-monty 2931f8e3a7f4871ef2a82262dc78d5162837b738

      install soname 'ha_blackhole';
      create table t (a int) engine=Blackhole;
      create or replace table t (b int);
      drop table t;
      uninstall soname 'ha_blackhole';
      #sql-create-2e500d-4-f.frm
      

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

              monty Michael Widenius
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.