|
|
@@ -108,7 +108,8 @@ extern "C" {
|
|
|
** be held constant and Z will be incremented or else Y will be incremented
|
|
|
** and Z will be reset to zero.
|
|
|
**
|
|
|
-** Since version 3.6.18, SQLite source code has been stored in the
|
|
|
+** Since [version 3.6.18] ([dateof:3.6.18]),
|
|
|
+** SQLite source code has been stored in the
|
|
|
** <a href="http://www.fossil-scm.org/">Fossil configuration management
|
|
|
** system</a>. ^The SQLITE_SOURCE_ID macro evaluates to
|
|
|
** a string which identifies a particular check-in of SQLite
|
|
|
@@ -122,7 +123,7 @@ extern "C" {
|
|
|
*/
|
|
|
#define SQLITE_VERSION "3.15.0"
|
|
|
#define SQLITE_VERSION_NUMBER 3015000
|
|
|
-#define SQLITE_SOURCE_ID "2016-08-26 12:00:50 7090147903337864d54ecfb2cd84a3f823973167"
|
|
|
+#define SQLITE_SOURCE_ID "2016-09-19 11:00:42 2401ea5acfeee8042489d1db38036ff86e8a6916"
|
|
|
|
|
|
/*
|
|
|
** CAPI3REF: Run-Time Library Version Numbers
|
|
|
@@ -465,7 +466,8 @@ SQLITE_API int SQLITE_STDCALL sqlite3_exec(
|
|
|
** [result codes]. However, experience has shown that many of
|
|
|
** these result codes are too coarse-grained. They do not provide as
|
|
|
** much information about problems as programmers might like. In an effort to
|
|
|
-** address this, newer versions of SQLite (version 3.3.8 and later) include
|
|
|
+** address this, newer versions of SQLite (version 3.3.8 [dateof:3.3.8]
|
|
|
+** and later) include
|
|
|
** support for additional result codes that provide more detailed information
|
|
|
** about errors. These [extended result codes] are enabled or disabled
|
|
|
** on a per database connection basis using the
|
|
|
@@ -4085,7 +4087,8 @@ SQLITE_API const void *SQLITE_STDCALL sqlite3_column_decltype16(sqlite3_stmt*,in
|
|
|
** other than [SQLITE_ROW] before any subsequent invocation of
|
|
|
** sqlite3_step(). Failure to reset the prepared statement using
|
|
|
** [sqlite3_reset()] would result in an [SQLITE_MISUSE] return from
|
|
|
-** sqlite3_step(). But after version 3.6.23.1, sqlite3_step() began
|
|
|
+** sqlite3_step(). But after [version 3.6.23.1] ([dateof:3.6.23.1],
|
|
|
+** sqlite3_step() began
|
|
|
** calling [sqlite3_reset()] automatically in this circumstance rather
|
|
|
** than returning [SQLITE_MISUSE]. This is not considered a compatibility
|
|
|
** break because any application that ever receives an SQLITE_MISUSE error
|
|
|
@@ -5453,7 +5456,8 @@ SQLITE_API void *SQLITE_STDCALL sqlite3_update_hook(
|
|
|
** and disabled if the argument is false.)^
|
|
|
**
|
|
|
** ^Cache sharing is enabled and disabled for an entire process.
|
|
|
-** This is a change as of SQLite version 3.5.0. In prior versions of SQLite,
|
|
|
+** This is a change as of SQLite [version 3.5.0] ([dateof:3.5.0]).
|
|
|
+** In prior versions of SQLite,
|
|
|
** sharing was enabled or disabled for each thread separately.
|
|
|
**
|
|
|
** ^(The cache sharing mode set by this interface effects all subsequent
|
|
|
@@ -5547,7 +5551,8 @@ SQLITE_API int SQLITE_STDCALL sqlite3_db_release_memory(sqlite3*);
|
|
|
** from the heap.
|
|
|
** </ul>)^
|
|
|
**
|
|
|
-** Beginning with SQLite version 3.7.3, the soft heap limit is enforced
|
|
|
+** Beginning with SQLite [version 3.7.3] ([dateof:3.7.3]),
|
|
|
+** the soft heap limit is enforced
|
|
|
** regardless of whether or not the [SQLITE_ENABLE_MEMORY_MANAGEMENT]
|
|
|
** compile-time option is invoked. With [SQLITE_ENABLE_MEMORY_MANAGEMENT],
|
|
|
** the soft heap limit is enforced on every memory allocation. Without
|
|
|
@@ -5941,13 +5946,15 @@ struct sqlite3_module {
|
|
|
** the xUpdate method are automatically rolled back by SQLite.
|
|
|
**
|
|
|
** IMPORTANT: The estimatedRows field was added to the sqlite3_index_info
|
|
|
-** structure for SQLite version 3.8.2. If a virtual table extension is
|
|
|
+** structure for SQLite [version 3.8.2] ([dateof:3.8.2]).
|
|
|
+** If a virtual table extension is
|
|
|
** used with an SQLite version earlier than 3.8.2, the results of attempting
|
|
|
** to read or write the estimatedRows field are undefined (but are likely
|
|
|
** to included crashing the application). The estimatedRows field should
|
|
|
** therefore only be used if [sqlite3_libversion_number()] returns a
|
|
|
** value greater than or equal to 3008002. Similarly, the idxFlags field
|
|
|
-** was added for version 3.9.0. It may therefore only be used if
|
|
|
+** was added for [version 3.9.0] ([dateof:3.9.0]).
|
|
|
+** It may therefore only be used if
|
|
|
** sqlite3_libversion_number() returns a value greater than or equal to
|
|
|
** 3009000.
|
|
|
*/
|
|
|
@@ -6645,7 +6652,7 @@ SQLITE_API int SQLITE_STDCALL sqlite3_mutex_notheld(sqlite3_mutex*);
|
|
|
#define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */
|
|
|
#define SQLITE_MUTEX_STATIC_MEM2 4 /* NOT USED */
|
|
|
#define SQLITE_MUTEX_STATIC_OPEN 4 /* sqlite3BtreeOpen() */
|
|
|
-#define SQLITE_MUTEX_STATIC_PRNG 5 /* sqlite3_random() */
|
|
|
+#define SQLITE_MUTEX_STATIC_PRNG 5 /* sqlite3_randomness() */
|
|
|
#define SQLITE_MUTEX_STATIC_LRU 6 /* lru page list */
|
|
|
#define SQLITE_MUTEX_STATIC_LRU2 7 /* NOT USED */
|
|
|
#define SQLITE_MUTEX_STATIC_PMEM 7 /* sqlite3PageMalloc() */
|
|
|
@@ -6749,6 +6756,7 @@ SQLITE_API int SQLITE_CDECL sqlite3_test_control(int op, ...);
|
|
|
#define SQLITE_TESTCTRL_SCRATCHMALLOC 17
|
|
|
#define SQLITE_TESTCTRL_LOCALTIME_FAULT 18
|
|
|
#define SQLITE_TESTCTRL_EXPLAIN_STMT 19 /* NOT USED */
|
|
|
+#define SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD 19
|
|
|
#define SQLITE_TESTCTRL_NEVER_CORRUPT 20
|
|
|
#define SQLITE_TESTCTRL_VDBE_COVERAGE 21
|
|
|
#define SQLITE_TESTCTRL_BYTEORDER 22
|
|
|
@@ -9258,12 +9266,12 @@ int sqlite3changeset_concat(
|
|
|
|
|
|
|
|
|
/*
|
|
|
-** Changegroup handle.
|
|
|
+** CAPI3REF: Changegroup Handle
|
|
|
*/
|
|
|
typedef struct sqlite3_changegroup sqlite3_changegroup;
|
|
|
|
|
|
/*
|
|
|
-** CAPI3REF: Combine two or more changesets into a single changeset.
|
|
|
+** CAPI3REF: Create A New Changegroup Object
|
|
|
**
|
|
|
** An sqlite3_changegroup object is used to combine two or more changesets
|
|
|
** (or patchsets) into a single changeset (or patchset). A single changegroup
|
|
|
@@ -9300,6 +9308,8 @@ typedef struct sqlite3_changegroup sqlite3_changegroup;
|
|
|
int sqlite3changegroup_new(sqlite3_changegroup **pp);
|
|
|
|
|
|
/*
|
|
|
+** CAPI3REF: Add A Changeset To A Changegroup
|
|
|
+**
|
|
|
** Add all changes within the changeset (or patchset) in buffer pData (size
|
|
|
** nData bytes) to the changegroup.
|
|
|
**
|
|
|
@@ -9375,6 +9385,8 @@ int sqlite3changegroup_new(sqlite3_changegroup **pp);
|
|
|
int sqlite3changegroup_add(sqlite3_changegroup*, int nData, void *pData);
|
|
|
|
|
|
/*
|
|
|
+** CAPI3REF: Obtain A Composite Changeset From A Changegroup
|
|
|
+**
|
|
|
** Obtain a buffer containing a changeset (or patchset) representing the
|
|
|
** current contents of the changegroup. If the inputs to the changegroup
|
|
|
** were themselves changesets, the output is a changeset. Or, if the
|
|
|
@@ -9403,7 +9415,7 @@ int sqlite3changegroup_output(
|
|
|
);
|
|
|
|
|
|
/*
|
|
|
-** Delete a changegroup object.
|
|
|
+** CAPI3REF: Delete A Changegroup Object
|
|
|
*/
|
|
|
void sqlite3changegroup_delete(sqlite3_changegroup*);
|
|
|
|