1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-03 16:53:36 +03:00

Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271)

FossilOrigin-Name: d5233e0747789dea04d35a8350b408321d23a64d
This commit is contained in:
danielk1977
2005-01-24 10:25:59 +00:00
parent d5a71b5de3
commit a21c6b6fe0
18 changed files with 282 additions and 75 deletions

View File

@@ -1302,6 +1302,12 @@ int sqlite3VdbeReset(Vdbe *p){
}else{
sqlite3Error(p->db, SQLITE_OK, 0);
}
}else if( p->rc && p->expired ){
/* The expired flag was set on the VDBE before the first call
** to sqlite3_step(). For consistency (since sqlite3_step() was
** called), set the database error in this case as well.
*/
sqlite3Error(p->db, p->rc, 0);
}
/* Reclaim all memory used by the VDBE