|
@@ -123,7 +123,7 @@ extern "C" {
|
|
|
*/
|
|
*/
|
|
|
#define SQLITE_VERSION "3.20.0"
|
|
#define SQLITE_VERSION "3.20.0"
|
|
|
#define SQLITE_VERSION_NUMBER 3020000
|
|
#define SQLITE_VERSION_NUMBER 3020000
|
|
|
-#define SQLITE_SOURCE_ID "2017-06-26 21:08:32 18f0616e15684ca327fb10a1d133331af1d3b75f609498982290f6ad69fcaced"
|
|
|
|
|
|
|
+#define SQLITE_SOURCE_ID "2017-06-28 13:47:56 b362f0d8ed34839bf3b29d10ed0853ab94245fba135ccd28e619caa6ee6992d5"
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
** CAPI3REF: Run-Time Library Version Numbers
|
|
** CAPI3REF: Run-Time Library Version Numbers
|
|
@@ -2022,6 +2022,17 @@ struct sqlite3_mem_methods {
|
|
|
** have been disabled - 0 if they are not disabled, 1 if they are.
|
|
** have been disabled - 0 if they are not disabled, 1 if they are.
|
|
|
** </dd>
|
|
** </dd>
|
|
|
**
|
|
**
|
|
|
|
|
+** <dt>SQLITE_DBCONFIG_ENABLE_QPSG</dt>
|
|
|
|
|
+** <dd>The SQLITE_DBCONFIG_ENABLE_QPSG option activates or deactivates
|
|
|
|
|
+** the [query planner stability guarantee] (QPSG). When the QPSG is active,
|
|
|
|
|
+** a single SQL query statement will always use the same algorithm regardless
|
|
|
|
|
+** of values of [bound parameters]. The QPSG disables some query optimizations
|
|
|
|
|
+** that look at the values of bound parameters, which can make some queries
|
|
|
|
|
+** slower. But the QPSG has the advantage of more predictable behavior. With
|
|
|
|
|
+** the QPSG active, SQLite will always use the same query plan in the field as
|
|
|
|
|
+** was used during testing in the lab.
|
|
|
|
|
+** </dd>
|
|
|
|
|
+**
|
|
|
** </dl>
|
|
** </dl>
|
|
|
*/
|
|
*/
|
|
|
#define SQLITE_DBCONFIG_MAINDBNAME 1000 /* const char* */
|
|
#define SQLITE_DBCONFIG_MAINDBNAME 1000 /* const char* */
|
|
@@ -2031,6 +2042,7 @@ struct sqlite3_mem_methods {
|
|
|
#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 /* int int* */
|
|
#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 /* int int* */
|
|
|
#define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION 1005 /* int int* */
|
|
#define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION 1005 /* int int* */
|
|
|
#define SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE 1006 /* int int* */
|
|
#define SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE 1006 /* int int* */
|
|
|
|
|
+#define SQLITE_DBCONFIG_ENABLE_QPSG 1007 /* int int* */
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
/*
|