Differences From Artifact [50e166e55c]:
- File src/cache.c — part of check-in [3e7c7e2277] at 2025-03-19 11:31:20 on branch trunk — Simplify the command property of "abbreviated-subcommands" to just "abbrv-subcom" and the setting property of "show-only-if-changed" to just "if-chng". (user: drh size: 14070) [more...]
To Artifact [90ceff2ce1]:
- File src/cache.c — part of check-in [9ceb5ff869] at 2025-03-28 17:15:00 on branch pentest — If compiled with -DFOSSIL_PENTEST and if "<BUG>" appears anywhere in HTML output, or if "BUG" appears anywhere in SQL, then a panic is generated. (user: drh size: 14092)
| ︙ | |||
93 94 95 96 97 98 99 100 101 102 103 104 105 106 | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | + |
*/
static sqlite3_stmt *cacheStmt(sqlite3 *db, const char *zSql){
sqlite3_stmt *pStmt = 0;
int rc;
rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0);
if( rc ){
db_pentest(zSql);
sqlite3_finalize(pStmt);
pStmt = 0;
}
return pStmt;
}
/*
|
| ︙ |