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

          Activity

            People

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            bar Alexander Barkov
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: