1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix a broken error handling case in the recovery extension.

FossilOrigin-Name: 60089547e1fc77ecc02f207ebf75ee3160e5ff25f41d12e02e170fd7fde66602
This commit is contained in:
dan
2022-09-13 19:47:01 +00:00
parent 7985e05a97
commit a3a6d63b40
4 changed files with 17 additions and 11 deletions

View File

@ -49,6 +49,7 @@ do_execsql_test 1.0 {
faultsim_save_and_close
do_faultsim_test 1 -faults oom* -prep {
catch { db2 close }
faultsim_restore_and_reopen
} -body {
set R [sqlite3_recover_init db main test.db2]