]> git.ipfire.org Git - thirdparty/sqlite.git/commit
The sqlite3_close() interface returns SQLITE_OK even if there are outstanding
authordrh <drh@noemail.net>
Sat, 2 Jun 2012 14:32:21 +0000 (14:32 +0000)
committerdrh <drh@noemail.net>
Sat, 2 Jun 2012 14:32:21 +0000 (14:32 +0000)
commit4245c405ea9ef9115dd2dd6b81afc10a6edf67d1
treeb28f55712f79145318fc5aaed0e1a7927865b44f
parented4668271909964bfa81cc968ccbea5be7f4c15e
The sqlite3_close() interface returns SQLITE_OK even if there are outstanding
sqlite3_stmt and sqlite3_backup objects.  The connection becomes a zombie.
Resource deallocation is deferred until the last sqlite3_stmt or
sqlite3_backup object closes.  This is intended to help SQLite play nicer
with garbage collectors.

FossilOrigin-Name: e276a02b7f54e804caa553dca99023416a415e1c
12 files changed:
manifest
manifest.uuid
src/backup.c
src/main.c
src/sqlite.h.in
src/sqliteInt.h
src/vdbeapi.c
src/vdbeaux.c
test/backup.test
test/capi3.test
test/capi3c.test
test/misuse.test