]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When a table is renamed using "ALTER TABLE RENAME TO", update any REFERENCES
authordan <dan@noemail.net>
Fri, 9 Nov 2018 20:04:05 +0000 (20:04 +0000)
committerdan <dan@noemail.net>
Fri, 9 Nov 2018 20:04:05 +0000 (20:04 +0000)
commitb4307018231380dd8d997fe5fc40fc1a5d135cdb
tree3d023ffb887625761958cc0751f17de2b2f0372d
parent0b57d312b7c92020eaf35927f768d1d85fd3c275
When a table is renamed using "ALTER TABLE RENAME TO", update any REFERENCES
clauses that refer to the table, unless "PRAGMA legacy_alter_table" is true
and "PRAGMA foreign_keys" is set to false (i.e. so that when "PRAGMA
legacy_alter_table" is set behaviour is still compatible with versions 3.24
and earlier).

FossilOrigin-Name: ae9638e9c0ad0c366f93c88a850f6b4cc86881e9f3f9f1e39574d9d83ddd8a6a
manifest
manifest.uuid
src/alter.c
test/altertab2.test