1
0
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:
drh
2012-10-26 00:11:23 +00:00
parent e62c0694de
commit cb103b9274
5 changed files with 22 additions and 17 deletions

View File

@@ -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;