1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Reload the entire schema after renaming a column in order to ensure that the

schema for any tables for which parent key definitions were changed are
reloaded.

FossilOrigin-Name: f4497b0136e9fcb1121a834c86f84eeaf8f1e7d3157d409484e086bcef3487f1
This commit is contained in:
dan
2018-08-11 13:40:20 +00:00
parent 5da06d3d7e
commit e325ffed04
7 changed files with 28 additions and 16 deletions

View File

@ -150,7 +150,7 @@ do_execsql_test 4.1 {
{CREATE TABLE p1(c, "silly name", PRIMARY KEY(c, "silly name"))}
}
# do_execsql_test 4.2 { INSERT INTO c1 VALUES(1, 2); }
do_execsql_test 4.2 { INSERT INTO c1 VALUES(1, 2); }
do_execsql_test 4.3 {
CREATE TABLE c2(a, b, FOREIGN KEY (a, b) REFERENCES p1);