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

            Activity

              People

              • Assignee:
                Elkin Andrei Elkin
                Reporter:
                sachin.setiya.007 Sachin Setiya
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: