mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 18:55:31 +02:00
merge of the changes for bug #18080
mysql-test/t/insert_select.test: Auto merged mysql-test/r/insert_select.result: manual merge
This commit is contained in:
commit
b92ad63f99
3 changed files with 14 additions and 9 deletions
|
|
@ -690,3 +690,8 @@ CREATE TABLE t1 (a int PRIMARY KEY);
|
|||
INSERT INTO t1 values (1), (2);
|
||||
INSERT INTO t1 SELECT a + 2 FROM t1 LIMIT 1;
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (x int, y int);
|
||||
CREATE TABLE t2 (z int, y int);
|
||||
CREATE TABLE t3 (a int, b int);
|
||||
INSERT INTO t3 (SELECT x, y FROM t1 JOIN t2 USING (y) WHERE z = 1);
|
||||
DROP TABLE IF EXISTS t1,t2,t3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue