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

Unexpected 'Unknown .. error from engine' with SELECT NULL UNION SELECT NULL

    XMLWordPrintable

Details

    Description

      This query:

      CREATE OR REPLACE TABLE t1 ENGINE=INNODB SELECT NULL UNION SELECT NULL;
      

      returns an unexpected error:

      ERROR 1005 (HY000): Can't create table `test`.`t1` (errno: 168 "Unknown (generic) error from engine")
      

      Note, with ENGINE=MyISAM it works fine.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              6 Vote for this issue
              Watchers:
              9 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.