mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Fix a problem that could cause a crash if a blob handle were closed after the associated database handle was closed using sqlite3_close_v2().
FossilOrigin-Name: 52f463d29407fad691c42b13462880e7605603c9be9f480d18e953a0ef78149a
This commit is contained in:
@ -79,4 +79,11 @@ do_test 1.4.4 {
|
||||
sqlite3_finalize $STMT
|
||||
} {SQLITE_OK}
|
||||
|
||||
do_test 1.5 {
|
||||
set DB [sqlite3_open test.db]
|
||||
sqlite3_blob_open $DB main t1 x 2 0 BLOB
|
||||
sqlite3_close_v2 $DB
|
||||
sqlite3_blob_close $BLOB
|
||||
} {}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user