]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Revert the recent fixes to backup code and instead fix the problem reported by forum...
authordan <Dan Kennedy>
Wed, 24 Jun 2026 14:27:21 +0000 (14:27 +0000)
committerdan <Dan Kennedy>
Wed, 24 Jun 2026 14:27:21 +0000 (14:27 +0000)
commit81beeb985579bf71ae92c1b05e0284f42c9ffb62
tree9d4b4b3234cc0af162d76597ae9194c4ec9c5e75
parentb9e0f62c3a65fc32cbcb0e933e7669444b131943
Revert the recent fixes to backup code and instead fix the problem reported by forum post [forum:15d82885e2 | 15d82885e2] (that a call to sqlite3_deserialize() after sqlite3_backup_init() but before the first call to sqlite3_backup_step() on the destination db of a backup could cause a crash) by deferring caching the pointer to the destination Btree until after it is locked.

FossilOrigin-Name: d9177ed965d1284c1c8d2c6fbb8db0dd89a42909ff0a3c23e2e761a6be419011
manifest
manifest.uuid
src/backup.c
src/btree.h
src/vacuum.c
test/backup5.test