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

Table 't' is specified twice, both as a target for 'CREATE' and as a separate source for data

Details

    Description

      CREATE TEMPORARY TABLE t (i INT);
      CREATE or replace TABLE t AS SELECT * FROM t;
      

      The last stmt will give error

      ERROR 1093 (HY000): Table 't' is specified twice, both as a target for 'CREATE' and as a separate source for data          
      

      Attachments

        Issue Links

          People

            Elkin Andrei Elkin
            sachin.setiya.007 Sachin Setiya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.