mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-18 19:47:15 +01:00
Update SQLite to version 3.35.3.
Enable internal functionality that may be disabled by default.
This commit is contained in:
parent
2ea65f86cd
commit
e7f95ce9e6
4
vendor/POCO/Data/SQLite/CMakeLists.txt
vendored
4
vendor/POCO/Data/SQLite/CMakeLists.txt
vendored
@ -60,6 +60,10 @@ else()
|
|||||||
SQLITE_OMIT_COMPLETE
|
SQLITE_OMIT_COMPLETE
|
||||||
SQLITE_OMIT_TCL_VARIABLE
|
SQLITE_OMIT_TCL_VARIABLE
|
||||||
SQLITE_OMIT_DEPRECATED
|
SQLITE_OMIT_DEPRECATED
|
||||||
|
SQLITE_ENABLE_RTREE
|
||||||
|
SQLITE_ENABLE_JSON1
|
||||||
|
SQLITE_ENABLE_SESSION
|
||||||
|
SQLITE_ENABLE_MATH_FUNCTIONS
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
11756
vendor/POCO/Data/SQLite/src/sqlite3.c
vendored
11756
vendor/POCO/Data/SQLite/src/sqlite3.c
vendored
File diff suppressed because it is too large
Load Diff
59
vendor/POCO/Data/SQLite/src/sqlite3.h
vendored
59
vendor/POCO/Data/SQLite/src/sqlite3.h
vendored
@ -123,9 +123,9 @@ extern "C" {
|
|||||||
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
|
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
|
||||||
** [sqlite_version()] and [sqlite_source_id()].
|
** [sqlite_version()] and [sqlite_source_id()].
|
||||||
*/
|
*/
|
||||||
#define SQLITE_VERSION "3.34.1"
|
#define SQLITE_VERSION "3.35.3"
|
||||||
#define SQLITE_VERSION_NUMBER 3034001
|
#define SQLITE_VERSION_NUMBER 3035003
|
||||||
#define SQLITE_SOURCE_ID "2021-01-20 14:10:07 10e20c0b43500cfb9bbc0eaa061c57514f715d87238f4d835880cd846b9ebd1f"
|
#define SQLITE_SOURCE_ID "2021-03-26 12:12:52 4c5e6c200adc8afe0814936c67a971efc516d1bd739cb620235592f18f40be2a"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** CAPI3REF: Run-Time Library Version Numbers
|
** CAPI3REF: Run-Time Library Version Numbers
|
||||||
@ -2115,7 +2115,13 @@ struct sqlite3_mem_methods {
|
|||||||
** The second parameter is a pointer to an integer into which
|
** The second parameter is a pointer to an integer into which
|
||||||
** is written 0 or 1 to indicate whether triggers are disabled or enabled
|
** is written 0 or 1 to indicate whether triggers are disabled or enabled
|
||||||
** following this call. The second parameter may be a NULL pointer, in
|
** following this call. The second parameter may be a NULL pointer, in
|
||||||
** which case the trigger setting is not reported back. </dd>
|
** which case the trigger setting is not reported back.
|
||||||
|
**
|
||||||
|
** <p>Originally this option disabled all triggers. ^(However, since
|
||||||
|
** SQLite version 3.35.0, TEMP triggers are still allowed even if
|
||||||
|
** this option is off. So, in other words, this option now only disables
|
||||||
|
** triggers in the main database schema or in the schemas of ATTACH-ed
|
||||||
|
** databases.)^ </dd>
|
||||||
**
|
**
|
||||||
** [[SQLITE_DBCONFIG_ENABLE_VIEW]]
|
** [[SQLITE_DBCONFIG_ENABLE_VIEW]]
|
||||||
** <dt>SQLITE_DBCONFIG_ENABLE_VIEW</dt>
|
** <dt>SQLITE_DBCONFIG_ENABLE_VIEW</dt>
|
||||||
@ -2126,7 +2132,13 @@ struct sqlite3_mem_methods {
|
|||||||
** The second parameter is a pointer to an integer into which
|
** The second parameter is a pointer to an integer into which
|
||||||
** is written 0 or 1 to indicate whether views are disabled or enabled
|
** is written 0 or 1 to indicate whether views are disabled or enabled
|
||||||
** following this call. The second parameter may be a NULL pointer, in
|
** following this call. The second parameter may be a NULL pointer, in
|
||||||
** which case the view setting is not reported back. </dd>
|
** which case the view setting is not reported back.
|
||||||
|
**
|
||||||
|
** <p>Originally this option disabled all views. ^(However, since
|
||||||
|
** SQLite version 3.35.0, TEMP views are still allowed even if
|
||||||
|
** this option is off. So, in other words, this option now only disables
|
||||||
|
** views in the main database schema or in the schemas of ATTACH-ed
|
||||||
|
** databases.)^ </dd>
|
||||||
**
|
**
|
||||||
** [[SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER]]
|
** [[SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER]]
|
||||||
** <dt>SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER</dt>
|
** <dt>SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER</dt>
|
||||||
@ -3499,6 +3511,7 @@ SQLITE_API void sqlite3_progress_handler(sqlite3*, int, int(*)(void*), void*);
|
|||||||
** that uses dot-files in place of posix advisory locking.
|
** that uses dot-files in place of posix advisory locking.
|
||||||
** <tr><td> file:data.db?mode=readonly <td>
|
** <tr><td> file:data.db?mode=readonly <td>
|
||||||
** An error. "readonly" is not a valid option for the "mode" parameter.
|
** An error. "readonly" is not a valid option for the "mode" parameter.
|
||||||
|
** Use "ro" instead: "file:data.db?mode=ro".
|
||||||
** </table>
|
** </table>
|
||||||
**
|
**
|
||||||
** ^URI hexadecimal escape sequences (%HH) are supported within the path and
|
** ^URI hexadecimal escape sequences (%HH) are supported within the path and
|
||||||
@ -7765,7 +7778,8 @@ SQLITE_API int sqlite3_test_control(int op, ...);
|
|||||||
#define SQLITE_TESTCTRL_PRNG_SEED 28
|
#define SQLITE_TESTCTRL_PRNG_SEED 28
|
||||||
#define SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS 29
|
#define SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS 29
|
||||||
#define SQLITE_TESTCTRL_SEEK_COUNT 30
|
#define SQLITE_TESTCTRL_SEEK_COUNT 30
|
||||||
#define SQLITE_TESTCTRL_LAST 30 /* Largest TESTCTRL */
|
#define SQLITE_TESTCTRL_TRACEFLAGS 31
|
||||||
|
#define SQLITE_TESTCTRL_LAST 31 /* Largest TESTCTRL */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** CAPI3REF: SQL Keyword Checking
|
** CAPI3REF: SQL Keyword Checking
|
||||||
@ -10438,6 +10452,14 @@ SQLITE_API int sqlite3session_patchset(
|
|||||||
*/
|
*/
|
||||||
SQLITE_API int sqlite3session_isempty(sqlite3_session *pSession);
|
SQLITE_API int sqlite3session_isempty(sqlite3_session *pSession);
|
||||||
|
|
||||||
|
/*
|
||||||
|
** CAPI3REF: Query for the amount of heap memory used by a session object.
|
||||||
|
**
|
||||||
|
** This API returns the total amount of heap memory in bytes currently
|
||||||
|
** used by the session object passed as the only argument.
|
||||||
|
*/
|
||||||
|
SQLITE_API sqlite3_int64 sqlite3session_memory_used(sqlite3_session *pSession);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** CAPI3REF: Create An Iterator To Traverse A Changeset
|
** CAPI3REF: Create An Iterator To Traverse A Changeset
|
||||||
** CONSTRUCTOR: sqlite3_changeset_iter
|
** CONSTRUCTOR: sqlite3_changeset_iter
|
||||||
@ -10540,18 +10562,23 @@ SQLITE_API int sqlite3changeset_next(sqlite3_changeset_iter *pIter);
|
|||||||
** call to [sqlite3changeset_next()] must have returned [SQLITE_ROW]. If this
|
** call to [sqlite3changeset_next()] must have returned [SQLITE_ROW]. If this
|
||||||
** is not the case, this function returns [SQLITE_MISUSE].
|
** is not the case, this function returns [SQLITE_MISUSE].
|
||||||
**
|
**
|
||||||
** If argument pzTab is not NULL, then *pzTab is set to point to a
|
** Arguments pOp, pnCol and pzTab may not be NULL. Upon return, three
|
||||||
** nul-terminated utf-8 encoded string containing the name of the table
|
** outputs are set through these pointers:
|
||||||
** affected by the current change. The buffer remains valid until either
|
**
|
||||||
** sqlite3changeset_next() is called on the iterator or until the
|
** *pOp is set to one of [SQLITE_INSERT], [SQLITE_DELETE] or [SQLITE_UPDATE],
|
||||||
** conflict-handler function returns. If pnCol is not NULL, then *pnCol is
|
** depending on the type of change that the iterator currently points to;
|
||||||
** set to the number of columns in the table affected by the change. If
|
**
|
||||||
** pbIndirect is not NULL, then *pbIndirect is set to true (1) if the change
|
** *pnCol is set to the number of columns in the table affected by the change; and
|
||||||
|
**
|
||||||
|
** *pzTab is set to point to a nul-terminated utf-8 encoded string containing
|
||||||
|
** the name of the table affected by the current change. The buffer remains
|
||||||
|
** valid until either sqlite3changeset_next() is called on the iterator
|
||||||
|
** or until the conflict-handler function returns.
|
||||||
|
**
|
||||||
|
** If pbIndirect is not NULL, then *pbIndirect is set to true (1) if the change
|
||||||
** is an indirect change, or false (0) otherwise. See the documentation for
|
** is an indirect change, or false (0) otherwise. See the documentation for
|
||||||
** [sqlite3session_indirect()] for a description of direct and indirect
|
** [sqlite3session_indirect()] for a description of direct and indirect
|
||||||
** changes. Finally, if pOp is not NULL, then *pOp is set to one of
|
** changes.
|
||||||
** [SQLITE_INSERT], [SQLITE_DELETE] or [SQLITE_UPDATE], depending on the
|
|
||||||
** type of change that the iterator currently points to.
|
|
||||||
**
|
**
|
||||||
** If no error occurs, SQLITE_OK is returned. If an error does occur, an
|
** If no error occurs, SQLITE_OK is returned. If an error does occur, an
|
||||||
** SQLite error code is returned. The values of the output variables may not
|
** SQLite error code is returned. The values of the output variables may not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user