]> git.ipfire.org Git - thirdparty/sqlite.git/commit
The read-only CHECK-constraint optimization of [34ddf02d3d21151b] inhibits the
authordrh <>
Tue, 9 Apr 2024 13:57:27 +0000 (13:57 +0000)
committerdrh <>
Tue, 9 Apr 2024 13:57:27 +0000 (13:57 +0000)
commitd21d5b21db209597aeaf41d0394cf70ddd62235d
treef67fb5c8bd60fd30b8850d4dfc40b15b65513d9b
parent1278ac411c04d3956380f5bcc241c2d5f7d1b57c
The read-only CHECK-constraint optimization of [34ddf02d3d21151b] inhibits the
xfer optimization for tables with CHECK constraints.  However, the xfer
optimization is required for correct operation of VACUUM INTO on tables that
contain generated columns. Fix this by ignoring CHECK constraints when
qualifying the xfer optimization while running VACUUM.  Problem reported by
[forum:/forumpost/3ec177d68fe7fa2c|forum post 3ec177d68fe7fa2c].

FossilOrigin-Name: a6e26e778812c8409fca77183e24d3b70189c4d02fce10c7e74cd4ccc8c8ea97
manifest
manifest.uuid
src/insert.c
test/vacuum-into.test