Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Increase the size of the buffer used to show stats for --sqltrace, so that all text is shown even if the numbers are large. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
bf9d65b66f1de736fb6a61009a0541d4 |
| User & Date: | drh 2021-01-08 14:21:36.401 |
Context
|
2021-01-08
| ||
| 14:23 | Improved wording on the change log. check-in: a28778e1d8 user: drh tags: trunk | |
| 14:21 | Increase the size of the buffer used to show stats for --sqltrace, so that all text is shown even if the numbers are large. check-in: bf9d65b66f user: drh tags: trunk | |
| 07:23 | Replace "prefix" with "phase" in the output of "fossil timeline --full". check-in: 2dbbe1d622 user: danield tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
2765 2766 2767 2768 2769 2770 2771 |
** Callback for sqlite3_trace_v2();
*/
int db_sql_trace(unsigned m, void *notUsed, void *pP, void *pX){
sqlite3_stmt *pStmt = (sqlite3_stmt*)pP;
char *zSql;
int n;
const char *zArg = (const char*)pX;
| | | 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 |
** Callback for sqlite3_trace_v2();
*/
int db_sql_trace(unsigned m, void *notUsed, void *pP, void *pX){
sqlite3_stmt *pStmt = (sqlite3_stmt*)pP;
char *zSql;
int n;
const char *zArg = (const char*)pX;
char zEnd[100];
if( m & SQLITE_TRACE_CLOSE ){
/* If we are tracking closes, that means we want to clean up static
** prepared statements. */
while( db.pAllStmt ){
db_finalize(db.pAllStmt);
}
return 0;
|
| ︙ | ︙ |