/ Check-in [ab165dcf]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Identify requirements text in the SQLITE_DBCONFIG_ENABLE_QPSG documentation. Add some implementation marks for SQLITE_DBCONFIG_MAINDBNAME requirements. No code changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ab165dcf35ae7385c9366853ce5648294bf5dc9aa9ffe1af84243e6fac3472fc
User & Date: drh 2017-07-14 19:47:32
Context
2017-07-14
19:52
Fix a typo in a comment used to generate documentation. No code changes. check-in: 65f9f29c user: drh tags: trunk
19:47
Identify requirements text in the SQLITE_DBCONFIG_ENABLE_QPSG documentation. Add some implementation marks for SQLITE_DBCONFIG_MAINDBNAME requirements. No code changes. check-in: ab165dcf user: drh tags: trunk
19:22
Add requirements marks for some of the new features in the 3.20 release. check-in: 26423867 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

   789    789   */
   790    790   int sqlite3_db_config(sqlite3 *db, int op, ...){
   791    791     va_list ap;
   792    792     int rc;
   793    793     va_start(ap, op);
   794    794     switch( op ){
   795    795       case SQLITE_DBCONFIG_MAINDBNAME: {
          796  +      /* IMP: R-06824-28531 */
          797  +      /* IMP: R-36257-52125 */
   796    798         db->aDb[0].zDbSName = va_arg(ap,char*);
   797    799         rc = SQLITE_OK;
   798    800         break;
   799    801       }
   800    802       case SQLITE_DBCONFIG_LOOKASIDE: {
   801    803         void *pBuf = va_arg(ap, void*); /* IMP: R-26835-10964 */
   802    804         int sz = va_arg(ap, int);       /* IMP: R-47871-25994 */

Changes to src/sqlite.h.in.

  2004   2004   ** is an integer - non-zero to disable checkpoints-on-close, or zero (the
  2005   2005   ** default) to enable them. The second parameter is a pointer to an integer
  2006   2006   ** into which is written 0 or 1 to indicate whether checkpoints-on-close
  2007   2007   ** have been disabled - 0 if they are not disabled, 1 if they are.
  2008   2008   ** </dd>
  2009   2009   **
  2010   2010   ** <dt>SQLITE_DBCONFIG_ENABLE_QPSG</dt>
  2011         -** <dd>The SQLITE_DBCONFIG_ENABLE_QPSG option activates or deactivates
         2011  +** <dd>^(The SQLITE_DBCONFIG_ENABLE_QPSG option activates or deactivates
  2012   2012   ** the [query planner stability guarantee] (QPSG).  When the QPSG is active,
  2013   2013   ** a single SQL query statement will always use the same algorithm regardless
  2014         -** of values of [bound parameters].  The QPSG disables some query optimizations
         2014  +** of values of [bound parameters].)^ The QPSG disables some query optimizations
  2015   2015   ** that look at the values of bound parameters, which can make some queries
  2016   2016   ** slower.  But the QPSG has the advantage of more predictable behavior.  With
  2017   2017   ** the QPSG active, SQLite will always use the same query plan in the field as
  2018   2018   ** was used during testing in the lab.
  2019   2019   ** </dd>
  2020   2020   **
  2021   2021   ** </dl>