Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Make db_stats() conditional on the appropriate global option. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
2a0c020313c29b7c61ce21d926f97aa1 |
| User & Date: | mistachkin 2020-06-09 17:50:57.323 |
Context
|
2020-06-09
| ||
| 17:51 | More MSVC makefile simplifications. check-in: 1ebe5bbec0 user: mistachkin tags: trunk | |
| 17:50 | Make db_stats() conditional on the appropriate global option. check-in: 2a0c020313 user: mistachkin tags: trunk | |
| 17:44 | Enhancements to OpenSSL user-prompt buffer handling. check-in: 82d177fa14 user: mistachkin tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
487 488 489 490 491 492 493 |
}
/*
** Reset or finalize a statement.
*/
int db_reset(Stmt *pStmt){
int rc;
| | | | 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 |
}
/*
** Reset or finalize a statement.
*/
int db_reset(Stmt *pStmt){
int rc;
if( g.fSqlStats ){ db_stats(pStmt); }
rc = sqlite3_reset(pStmt->pStmt);
db_check_result(rc, pStmt);
return rc;
}
int db_finalize(Stmt *pStmt){
int rc;
if( pStmt->pNext ){
pStmt->pNext->pPrev = pStmt->pPrev;
}
if( pStmt->pPrev ){
pStmt->pPrev->pNext = pStmt->pNext;
}else if( db.pAllStmt==pStmt ){
db.pAllStmt = pStmt->pNext;
}
pStmt->pNext = 0;
pStmt->pPrev = 0;
if( g.fSqlStats ){ db_stats(pStmt); }
blob_reset(&pStmt->sql);
rc = sqlite3_finalize(pStmt->pStmt);
db_check_result(rc, pStmt);
pStmt->pStmt = 0;
return rc;
}
|
| ︙ | ︙ |