Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch execWithNormalize Excluding Merge-Ins
This is equivalent to a diff from df954552 to 28643d83
2018-12-05
| ||
13:39 | Enhance the sqlite3_normalize_sql() interface so that it works even if the prepared statement was not initially compiled using SQLITE_PREPARE_NORMALIZED. Enhance the ".trace" command in the CLI so that it is able to access the full scope of functionality provided by sqlite3_trace_v2() and in particular so that it is able to show normalized SQL output using the newly enhanced sqlite3_normalize_sql() interface. (check-in: 7da617e9 user: drh tags: trunk) | |
2018-12-04
| ||
21:16 | When compiled with SQLITE_ENABLE_NORMALIZE, always have sqlite3_exec() enable the SQLITE_PREPARE_NORMALIZE flag. (Leaf check-in: 28643d83 user: mistachkin tags: execWithNormalize) | |
16:51 | Add the "index_usage" utility program. (check-in: df954552 user: drh tags: trunk) | |
14:33 | Performance improvement in sqlite3_step() by creating a new mTrace flag for the legacy xProfile pointer that is set by sqlite3_profile(). (check-in: e28584e8 user: drh tags: trunk) | |
Changes to src/legacy.c.
︙ | |||
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | + + + + + + | sqlite3_mutex_enter(db->mutex); sqlite3Error(db, SQLITE_OK); while( rc==SQLITE_OK && zSql[0] ){ int nCol; char **azVals = 0; pStmt = 0; #ifdef SQLITE_ENABLE_NORMALIZE rc = sqlite3_prepare_v3( db, zSql, -1, SQLITE_PREPARE_NORMALIZE, &pStmt, &zLeftover ); #else rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, &zLeftover); #endif assert( rc==SQLITE_OK || pStmt==0 ); if( rc!=SQLITE_OK ){ continue; } if( !pStmt ){ /* this happens for a comment or white-space */ zSql = zLeftover; |
︙ |