1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

When a stale schema-cookie is seen, expire only the one statement that

encountered the bad cookie, not every statement on the database 
connection.  Ticket [b72787b1a7cea1f]

FossilOrigin-Name: 1bca0a7e198391202fd2bc1650c0a62028a9aaa5
This commit is contained in:
drh
2011-02-22 03:34:56 +00:00
parent ef7075de1f
commit 5b6c545ba1
7 changed files with 100 additions and 12 deletions

View File

@@ -2920,7 +2920,7 @@ case OP_VerifyCookie: {
sqlite3ResetInternalSchema(db, pOp->p1);
}
sqlite3ExpirePreparedStatements(db);
p->expired = 1;
rc = SQLITE_SCHEMA;
}
break;