mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-20 07:41:32 +03:00
Make sure all virtual table cursors have been closed on a prepared statement
prior to unlinking the perpared statement from its database connection. FossilOrigin-Name: f7c5abe8739090db0738d2c7002a0d71f76c927e
This commit is contained in:
@@ -208,7 +208,7 @@ int sqlite3_db_status(
|
||||
|
||||
db->pnBytesFreed = &nByte;
|
||||
for(pVdbe=db->pVdbe; pVdbe; pVdbe=pVdbe->pNext){
|
||||
sqlite3VdbeDeleteObject(db, pVdbe);
|
||||
sqlite3VdbeClearObject(db, pVdbe);
|
||||
}
|
||||
db->pnBytesFreed = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user