mirror of
https://github.com/sqlite/sqlite.git
synced 2026-01-06 08:01:16 +03:00
In the output of ".schema", show the column names of virtual tables and
views in a separate comment. FossilOrigin-Name: 2234a87fa905312b23f46d52e06cff7cacbf23b187e16c4398a42e6bdae0ee9f
This commit is contained in:
@@ -581,8 +581,10 @@ do_test shell1-3.21.4 {
|
||||
}
|
||||
catchcmd "test.db" ".schema"
|
||||
} {0 {CREATE TABLE t1(x);
|
||||
CREATE VIEW v2 AS SELECT x+1 AS y FROM t1;
|
||||
CREATE VIEW v1 AS SELECT y+1 FROM v2;}}
|
||||
CREATE VIEW v2 AS SELECT x+1 AS y FROM t1
|
||||
/* main.v2(y) */;
|
||||
CREATE VIEW v1 AS SELECT y+1 FROM v2
|
||||
/* main.v1(y+1) */;}}
|
||||
db eval {DROP VIEW v1; DROP VIEW v2; DROP TABLE t1;}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user