mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Remove unnecessary code from sqlite3BtreeClose() and add test cases.
FossilOrigin-Name: edbfdcaefae1e9a42c046c058341bf5b0f533c0b0cbd39543fcaa2a83d67561d
This commit is contained in:
@@ -2754,7 +2754,6 @@ int sqlite3BtreeClose(Btree *p){
|
||||
}
|
||||
}
|
||||
#endif
|
||||
pBt->openFlags &= ~BTREE_SINGLE;
|
||||
|
||||
/* Rollback any active transaction and free the handle structure.
|
||||
** The call to sqlite3BtreeRollback() drops any table-locks held by
|
||||
|
Reference in New Issue
Block a user