diff options
author | dan <dan@noemail.net> | 2017-12-16 19:36:52 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2017-12-16 19:36:52 +0000 |
commit | ebeffef36c5ad0e855cd208cc39989fc33511a6c (patch) | |
tree | ca101164f8a598d656b52ac5fc580658659e62a4 /src/sqliteInt.h | |
parent | 468c649331dc631a5821adb24083bf5d96dfb9dc (diff) | |
parent | 11546779b711ca6ebadc272c735310c583555d98 (diff) | |
download | sqlite-ebeffef36c5ad0e855cd208cc39989fc33511a6c.tar.gz sqlite-ebeffef36c5ad0e855cd208cc39989fc33511a6c.zip |
Add the sqlite3_vtab_collation() function, which allows an xBestIndex callback
to determine the collation sequence that SQLite will use for a comparison. And
the SQLITE_DBCONFIG_FULL_EQP configuration option, which enhances the output
of "EXPLAIN QUERY PLAN" so that it includes statements run by triggers. And
the code for the sqlite3_expert extension and command line application.
FossilOrigin-Name: 4c782c950204c09c1d8f857c39c4cf476539ec4e7eee6fd86419d47cf0f8b9e0
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 47d9fc695..efe823a65 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1356,6 +1356,7 @@ struct sqlite3 { u8 mTrace; /* zero or more SQLITE_TRACE flags */ u8 skipBtreeMutex; /* True if no shared-cache backends */ u8 nSqlExec; /* Number of pending OP_SqlExec opcodes */ + u8 bFullEQP; /* Include triggers in EQP output */ int nextPagesize; /* Pagesize after VACUUM if >0 */ u32 magic; /* Magic number for detect library misuse */ int nChange; /* Value returned by sqlite3_changes() */ @@ -1421,6 +1422,7 @@ struct sqlite3 { VtabCtx *pVtabCtx; /* Context for active vtab connect/create */ VTable **aVTrans; /* Virtual tables with open transactions */ VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */ + void *pBestIndexCtx; /* For sqlite3_vtab_collation() */ #endif Hash aFunc; /* Hash table of connection functions */ Hash aCollSeq; /* All collating sequences */ |