1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix testcase altertab-25.1 due to check-in [c7909e8e0d0577c6] disallowing

ALTER TABLE on eponymous virtual tables.

FossilOrigin-Name: 32255e39cbde65492d88177464cee9e10cb20cf3105208416be131e2c89b63e1
This commit is contained in:
drh
2021-04-24 12:20:10 +00:00
parent 1521270010
commit 971ae9f66a
3 changed files with 8 additions and 9 deletions

View File

@ -744,10 +744,9 @@ do_execsql_test 25.1 {
CREATE VIEW v3(b) AS WITH b AS (SELECT b FROM (SELECT * FROM t2)) VALUES(1);
}
breakpoint
do_catchsql_test 25.2 {
ALTER TABLE json_each RENAME TO t4;
} {1 {}}
} {1 {table json_each may not be altered}}
finish_test