cordova-sqlite-evmax-build-free 0.0.5 → 0.0.6-voltbuild-test01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGES.md +6 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/plugin.xml +12 -1
- package/spec/www/spec/sqlite-version-test.js +4 -1
- package/src/deps/common/sqlite3.c +8920 -4857
- package/src/deps/common/sqlite3.h +117 -36
- package/src/windows/SQLite3-WinRT-sync/SQLite3/SQLite3.sln +0 -4
- package/src/windows/libs/x64/BarcodeComponent.winmd +0 -0
- package/src/windows/libs/x64/SQLite3.UWP.dll +0 -0
- package/src/windows/libs/x64/SQLite3.winmd +0 -0
- package/src/windows/libs/x86/BarcodeComponent.winmd +0 -0
- package/src/windows/libs/x86/SQLite3.UWP.dll +0 -0
- package/src/windows/libs/x86/SQLite3.winmd +0 -0
|
@@ -146,9 +146,9 @@ extern "C" {
|
|
|
146
146
|
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
|
|
147
147
|
** [sqlite_version()] and [sqlite_source_id()].
|
|
148
148
|
*/
|
|
149
|
-
#define SQLITE_VERSION "3.
|
|
150
|
-
#define SQLITE_VERSION_NUMBER
|
|
151
|
-
#define SQLITE_SOURCE_ID "2022-
|
|
149
|
+
#define SQLITE_VERSION "3.40.0"
|
|
150
|
+
#define SQLITE_VERSION_NUMBER 3040000
|
|
151
|
+
#define SQLITE_SOURCE_ID "2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318"
|
|
152
152
|
|
|
153
153
|
/*
|
|
154
154
|
** CAPI3REF: Run-Time Library Version Numbers
|
|
@@ -670,13 +670,17 @@ SQLITE_API int sqlite3_exec(
|
|
|
670
670
|
**
|
|
671
671
|
** SQLite uses one of these integer values as the second
|
|
672
672
|
** argument to calls it makes to the xLock() and xUnlock() methods
|
|
673
|
-
** of an [sqlite3_io_methods] object.
|
|
673
|
+
** of an [sqlite3_io_methods] object. These values are ordered from
|
|
674
|
+
** lest restrictive to most restrictive.
|
|
675
|
+
**
|
|
676
|
+
** The argument to xLock() is always SHARED or higher. The argument to
|
|
677
|
+
** xUnlock is either SHARED or NONE.
|
|
674
678
|
*/
|
|
675
|
-
#define SQLITE_LOCK_NONE 0
|
|
676
|
-
#define SQLITE_LOCK_SHARED 1
|
|
677
|
-
#define SQLITE_LOCK_RESERVED 2
|
|
678
|
-
#define SQLITE_LOCK_PENDING 3
|
|
679
|
-
#define SQLITE_LOCK_EXCLUSIVE 4
|
|
679
|
+
#define SQLITE_LOCK_NONE 0 /* xUnlock() only */
|
|
680
|
+
#define SQLITE_LOCK_SHARED 1 /* xLock() or xUnlock() */
|
|
681
|
+
#define SQLITE_LOCK_RESERVED 2 /* xLock() only */
|
|
682
|
+
#define SQLITE_LOCK_PENDING 3 /* xLock() only */
|
|
683
|
+
#define SQLITE_LOCK_EXCLUSIVE 4 /* xLock() only */
|
|
680
684
|
|
|
681
685
|
/*
|
|
682
686
|
** CAPI3REF: Synchronization Type Flags
|
|
@@ -754,7 +758,14 @@ struct sqlite3_file {
|
|
|
754
758
|
** <li> [SQLITE_LOCK_PENDING], or
|
|
755
759
|
** <li> [SQLITE_LOCK_EXCLUSIVE].
|
|
756
760
|
** </ul>
|
|
757
|
-
** xLock()
|
|
761
|
+
** xLock() upgrades the database file lock. In other words, xLock() moves the
|
|
762
|
+
** database file lock in the direction NONE toward EXCLUSIVE. The argument to
|
|
763
|
+
** xLock() is always on of SHARED, RESERVED, PENDING, or EXCLUSIVE, never
|
|
764
|
+
** SQLITE_LOCK_NONE. If the database file lock is already at or above the
|
|
765
|
+
** requested lock, then the call to xLock() is a no-op.
|
|
766
|
+
** xUnlock() downgrades the database file lock to either SHARED or NONE.
|
|
767
|
+
* If the lock is already at or below the requested lock state, then the call
|
|
768
|
+
** to xUnlock() is a no-op.
|
|
758
769
|
** The xCheckReservedLock() method checks whether any database connection,
|
|
759
770
|
** either in this process or in some other process, is holding a RESERVED,
|
|
760
771
|
** PENDING, or EXCLUSIVE lock on the file. It returns true
|
|
@@ -859,9 +870,8 @@ struct sqlite3_io_methods {
|
|
|
859
870
|
** opcode causes the xFileControl method to write the current state of
|
|
860
871
|
** the lock (one of [SQLITE_LOCK_NONE], [SQLITE_LOCK_SHARED],
|
|
861
872
|
** [SQLITE_LOCK_RESERVED], [SQLITE_LOCK_PENDING], or [SQLITE_LOCK_EXCLUSIVE])
|
|
862
|
-
** into an integer that the pArg argument points to.
|
|
863
|
-
** is
|
|
864
|
-
** compile-time option is used.
|
|
873
|
+
** into an integer that the pArg argument points to.
|
|
874
|
+
** This capability is only available if SQLite is compiled with [SQLITE_DEBUG].
|
|
865
875
|
**
|
|
866
876
|
** <li>[[SQLITE_FCNTL_SIZE_HINT]]
|
|
867
877
|
** The [SQLITE_FCNTL_SIZE_HINT] opcode is used by SQLite to give the VFS
|
|
@@ -1253,6 +1263,26 @@ typedef struct sqlite3_mutex sqlite3_mutex;
|
|
|
1253
1263
|
*/
|
|
1254
1264
|
typedef struct sqlite3_api_routines sqlite3_api_routines;
|
|
1255
1265
|
|
|
1266
|
+
/*
|
|
1267
|
+
** CAPI3REF: File Name
|
|
1268
|
+
**
|
|
1269
|
+
** Type [sqlite3_filename] is used by SQLite to pass filenames to the
|
|
1270
|
+
** xOpen method of a [VFS]. It may be cast to (const char*) and treated
|
|
1271
|
+
** as a normal, nul-terminated, UTF-8 buffer containing the filename, but
|
|
1272
|
+
** may also be passed to special APIs such as:
|
|
1273
|
+
**
|
|
1274
|
+
** <ul>
|
|
1275
|
+
** <li> sqlite3_filename_database()
|
|
1276
|
+
** <li> sqlite3_filename_journal()
|
|
1277
|
+
** <li> sqlite3_filename_wal()
|
|
1278
|
+
** <li> sqlite3_uri_parameter()
|
|
1279
|
+
** <li> sqlite3_uri_boolean()
|
|
1280
|
+
** <li> sqlite3_uri_int64()
|
|
1281
|
+
** <li> sqlite3_uri_key()
|
|
1282
|
+
** </ul>
|
|
1283
|
+
*/
|
|
1284
|
+
typedef const char *sqlite3_filename;
|
|
1285
|
+
|
|
1256
1286
|
/*
|
|
1257
1287
|
** CAPI3REF: OS Interface Object
|
|
1258
1288
|
**
|
|
@@ -1431,7 +1461,7 @@ struct sqlite3_vfs {
|
|
|
1431
1461
|
sqlite3_vfs *pNext; /* Next registered VFS */
|
|
1432
1462
|
const char *zName; /* Name of this virtual file system */
|
|
1433
1463
|
void *pAppData; /* Pointer to application-specific data */
|
|
1434
|
-
int (*xOpen)(sqlite3_vfs*,
|
|
1464
|
+
int (*xOpen)(sqlite3_vfs*, sqlite3_filename zName, sqlite3_file*,
|
|
1435
1465
|
int flags, int *pOutFlags);
|
|
1436
1466
|
int (*xDelete)(sqlite3_vfs*, const char *zName, int syncDir);
|
|
1437
1467
|
int (*xAccess)(sqlite3_vfs*, const char *zName, int flags, int *pResOut);
|
|
@@ -2309,6 +2339,7 @@ struct sqlite3_mem_methods {
|
|
|
2309
2339
|
** <ul>
|
|
2310
2340
|
** <li> The [PRAGMA writable_schema=ON] statement.
|
|
2311
2341
|
** <li> The [PRAGMA journal_mode=OFF] statement.
|
|
2342
|
+
** <li> The [PRAGMA schema_version=N] statement.
|
|
2312
2343
|
** <li> Writes to the [sqlite_dbpage] virtual table.
|
|
2313
2344
|
** <li> Direct writes to [shadow tables].
|
|
2314
2345
|
** </ul>
|
|
@@ -3424,6 +3455,9 @@ SQLITE_API void sqlite3_progress_handler(sqlite3*, int, int(*)(void*), void*);
|
|
|
3424
3455
|
** <dd>The database is opened [shared cache] enabled, overriding
|
|
3425
3456
|
** the default shared cache setting provided by
|
|
3426
3457
|
** [sqlite3_enable_shared_cache()].)^
|
|
3458
|
+
** The [use of shared cache mode is discouraged] and hence shared cache
|
|
3459
|
+
** capabilities may be omitted from many builds of SQLite. In such cases,
|
|
3460
|
+
** this option is a no-op.
|
|
3427
3461
|
**
|
|
3428
3462
|
** ^(<dt>[SQLITE_OPEN_PRIVATECACHE]</dt>
|
|
3429
3463
|
** <dd>The database is opened [shared cache] disabled, overriding
|
|
@@ -3439,7 +3473,7 @@ SQLITE_API void sqlite3_progress_handler(sqlite3*, int, int(*)(void*), void*);
|
|
|
3439
3473
|
** to return an extended result code.</dd>
|
|
3440
3474
|
**
|
|
3441
3475
|
** [[OPEN_NOFOLLOW]] ^(<dt>[SQLITE_OPEN_NOFOLLOW]</dt>
|
|
3442
|
-
** <dd>The database filename is not allowed to
|
|
3476
|
+
** <dd>The database filename is not allowed to contain a symbolic link</dd>
|
|
3443
3477
|
** </dl>)^
|
|
3444
3478
|
**
|
|
3445
3479
|
** If the 3rd parameter to sqlite3_open_v2() is not one of the
|
|
@@ -3698,10 +3732,10 @@ SQLITE_API int sqlite3_open_v2(
|
|
|
3698
3732
|
**
|
|
3699
3733
|
** See the [URI filename] documentation for additional information.
|
|
3700
3734
|
*/
|
|
3701
|
-
SQLITE_API const char *sqlite3_uri_parameter(
|
|
3702
|
-
SQLITE_API int sqlite3_uri_boolean(
|
|
3703
|
-
SQLITE_API sqlite3_int64 sqlite3_uri_int64(
|
|
3704
|
-
SQLITE_API const char *sqlite3_uri_key(
|
|
3735
|
+
SQLITE_API const char *sqlite3_uri_parameter(sqlite3_filename z, const char *zParam);
|
|
3736
|
+
SQLITE_API int sqlite3_uri_boolean(sqlite3_filename z, const char *zParam, int bDefault);
|
|
3737
|
+
SQLITE_API sqlite3_int64 sqlite3_uri_int64(sqlite3_filename, const char*, sqlite3_int64);
|
|
3738
|
+
SQLITE_API const char *sqlite3_uri_key(sqlite3_filename z, int N);
|
|
3705
3739
|
|
|
3706
3740
|
/*
|
|
3707
3741
|
** CAPI3REF: Translate filenames
|
|
@@ -3730,9 +3764,9 @@ SQLITE_API const char *sqlite3_uri_key(const char *zFilename, int N);
|
|
|
3730
3764
|
** return value from [sqlite3_db_filename()], then the result is
|
|
3731
3765
|
** undefined and is likely a memory access violation.
|
|
3732
3766
|
*/
|
|
3733
|
-
SQLITE_API const char *sqlite3_filename_database(
|
|
3734
|
-
SQLITE_API const char *sqlite3_filename_journal(
|
|
3735
|
-
SQLITE_API const char *sqlite3_filename_wal(
|
|
3767
|
+
SQLITE_API const char *sqlite3_filename_database(sqlite3_filename);
|
|
3768
|
+
SQLITE_API const char *sqlite3_filename_journal(sqlite3_filename);
|
|
3769
|
+
SQLITE_API const char *sqlite3_filename_wal(sqlite3_filename);
|
|
3736
3770
|
|
|
3737
3771
|
/*
|
|
3738
3772
|
** CAPI3REF: Database File Corresponding To A Journal
|
|
@@ -3798,14 +3832,14 @@ SQLITE_API sqlite3_file *sqlite3_database_file_object(const char*);
|
|
|
3798
3832
|
** then the corresponding [sqlite3_module.xClose() method should also be
|
|
3799
3833
|
** invoked prior to calling sqlite3_free_filename(Y).
|
|
3800
3834
|
*/
|
|
3801
|
-
SQLITE_API
|
|
3835
|
+
SQLITE_API sqlite3_filename sqlite3_create_filename(
|
|
3802
3836
|
const char *zDatabase,
|
|
3803
3837
|
const char *zJournal,
|
|
3804
3838
|
const char *zWal,
|
|
3805
3839
|
int nParam,
|
|
3806
3840
|
const char **azParam
|
|
3807
3841
|
);
|
|
3808
|
-
SQLITE_API void sqlite3_free_filename(
|
|
3842
|
+
SQLITE_API void sqlite3_free_filename(sqlite3_filename);
|
|
3809
3843
|
|
|
3810
3844
|
/*
|
|
3811
3845
|
** CAPI3REF: Error Codes And Messages
|
|
@@ -5508,6 +5542,16 @@ SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*)(void*,sqlite3_int6
|
|
|
5508
5542
|
** then the conversion is performed. Otherwise no conversion occurs.
|
|
5509
5543
|
** The [SQLITE_INTEGER | datatype] after conversion is returned.)^
|
|
5510
5544
|
**
|
|
5545
|
+
** ^(The sqlite3_value_encoding(X) interface returns one of [SQLITE_UTF8],
|
|
5546
|
+
** [SQLITE_UTF16BE], or [SQLITE_UTF16LE] according to the current encoding
|
|
5547
|
+
** of the value X, assuming that X has type TEXT.)^ If sqlite3_value_type(X)
|
|
5548
|
+
** returns something other than SQLITE_TEXT, then the return value from
|
|
5549
|
+
** sqlite3_value_encoding(X) is meaningless. ^Calls to
|
|
5550
|
+
** sqlite3_value_text(X), sqlite3_value_text16(X), sqlite3_value_text16be(X),
|
|
5551
|
+
** sqlite3_value_text16le(X), sqlite3_value_bytes(X), or
|
|
5552
|
+
** sqlite3_value_bytes16(X) might change the encoding of the value X and
|
|
5553
|
+
** thus change the return from subsequent calls to sqlite3_value_encoding(X).
|
|
5554
|
+
**
|
|
5511
5555
|
** ^Within the [xUpdate] method of a [virtual table], the
|
|
5512
5556
|
** sqlite3_value_nochange(X) interface returns true if and only if
|
|
5513
5557
|
** the column corresponding to X is unchanged by the UPDATE operation
|
|
@@ -5572,6 +5616,7 @@ SQLITE_API int sqlite3_value_type(sqlite3_value*);
|
|
|
5572
5616
|
SQLITE_API int sqlite3_value_numeric_type(sqlite3_value*);
|
|
5573
5617
|
SQLITE_API int sqlite3_value_nochange(sqlite3_value*);
|
|
5574
5618
|
SQLITE_API int sqlite3_value_frombind(sqlite3_value*);
|
|
5619
|
+
SQLITE_API int sqlite3_value_encoding(sqlite3_value*);
|
|
5575
5620
|
|
|
5576
5621
|
/*
|
|
5577
5622
|
** CAPI3REF: Finding The Subtype Of SQL Values
|
|
@@ -5593,7 +5638,8 @@ SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value*);
|
|
|
5593
5638
|
** object D and returns a pointer to that copy. ^The [sqlite3_value] returned
|
|
5594
5639
|
** is a [protected sqlite3_value] object even if the input is not.
|
|
5595
5640
|
** ^The sqlite3_value_dup(V) interface returns NULL if V is NULL or if a
|
|
5596
|
-
** memory allocation fails.
|
|
5641
|
+
** memory allocation fails. ^If V is a [pointer value], then the result
|
|
5642
|
+
** of sqlite3_value_dup(V) is a NULL value.
|
|
5597
5643
|
**
|
|
5598
5644
|
** ^The sqlite3_value_free(V) interface frees an [sqlite3_value] object
|
|
5599
5645
|
** previously obtained from [sqlite3_value_dup()]. ^If V is a NULL pointer
|
|
@@ -5624,7 +5670,7 @@ SQLITE_API void sqlite3_value_free(sqlite3_value*);
|
|
|
5624
5670
|
**
|
|
5625
5671
|
** ^The sqlite3_aggregate_context(C,N) routine returns a NULL pointer
|
|
5626
5672
|
** when first called if N is less than or equal to zero or if a memory
|
|
5627
|
-
**
|
|
5673
|
+
** allocation error occurs.
|
|
5628
5674
|
**
|
|
5629
5675
|
** ^(The amount of space allocated by sqlite3_aggregate_context(C,N) is
|
|
5630
5676
|
** determined by the N parameter on first successful call. Changing the
|
|
@@ -5829,9 +5875,10 @@ typedef void (*sqlite3_destructor_type)(void*);
|
|
|
5829
5875
|
** of [SQLITE_UTF8], [SQLITE_UTF16], [SQLITE_UTF16BE], or [SQLITE_UTF16LE].
|
|
5830
5876
|
** ^SQLite takes the text result from the application from
|
|
5831
5877
|
** the 2nd parameter of the sqlite3_result_text* interfaces.
|
|
5832
|
-
** ^If the 3rd parameter to the sqlite3_result_text* interfaces
|
|
5833
|
-
** is negative, then SQLite
|
|
5834
|
-
**
|
|
5878
|
+
** ^If the 3rd parameter to any of the sqlite3_result_text* interfaces
|
|
5879
|
+
** other than sqlite3_result_text64() is negative, then SQLite computes
|
|
5880
|
+
** the string length itself by searching the 2nd parameter for the first
|
|
5881
|
+
** zero character.
|
|
5835
5882
|
** ^If the 3rd parameter to the sqlite3_result_text* interfaces
|
|
5836
5883
|
** is non-negative, then as many bytes (not characters) of the text
|
|
5837
5884
|
** pointed to by the 2nd parameter are taken as the application-defined
|
|
@@ -6275,6 +6322,28 @@ SQLITE_API int sqlite3_get_autocommit(sqlite3*);
|
|
|
6275
6322
|
*/
|
|
6276
6323
|
SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt*);
|
|
6277
6324
|
|
|
6325
|
+
/*
|
|
6326
|
+
** CAPI3REF: Return The Schema Name For A Database Connection
|
|
6327
|
+
** METHOD: sqlite3
|
|
6328
|
+
**
|
|
6329
|
+
** ^The sqlite3_db_name(D,N) interface returns a pointer to the schema name
|
|
6330
|
+
** for the N-th database on database connection D, or a NULL pointer of N is
|
|
6331
|
+
** out of range. An N value of 0 means the main database file. An N of 1 is
|
|
6332
|
+
** the "temp" schema. Larger values of N correspond to various ATTACH-ed
|
|
6333
|
+
** databases.
|
|
6334
|
+
**
|
|
6335
|
+
** Space to hold the string that is returned by sqlite3_db_name() is managed
|
|
6336
|
+
** by SQLite itself. The string might be deallocated by any operation that
|
|
6337
|
+
** changes the schema, including [ATTACH] or [DETACH] or calls to
|
|
6338
|
+
** [sqlite3_serialize()] or [sqlite3_deserialize()], even operations that
|
|
6339
|
+
** occur on a different thread. Applications that need to
|
|
6340
|
+
** remember the string long-term should make their own copy. Applications that
|
|
6341
|
+
** are accessing the same database connection simultaneously on multiple
|
|
6342
|
+
** threads should mutex-protect calls to this API and should make their own
|
|
6343
|
+
** private copy of the result prior to releasing the mutex.
|
|
6344
|
+
*/
|
|
6345
|
+
SQLITE_API const char *sqlite3_db_name(sqlite3 *db, int N);
|
|
6346
|
+
|
|
6278
6347
|
/*
|
|
6279
6348
|
** CAPI3REF: Return The Filename For A Database Connection
|
|
6280
6349
|
** METHOD: sqlite3
|
|
@@ -6305,7 +6374,7 @@ SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt*);
|
|
|
6305
6374
|
** <li> [sqlite3_filename_wal()]
|
|
6306
6375
|
** </ul>
|
|
6307
6376
|
*/
|
|
6308
|
-
SQLITE_API
|
|
6377
|
+
SQLITE_API sqlite3_filename sqlite3_db_filename(sqlite3 *db, const char *zDbName);
|
|
6309
6378
|
|
|
6310
6379
|
/*
|
|
6311
6380
|
** CAPI3REF: Determine if a database is read-only
|
|
@@ -6442,7 +6511,7 @@ SQLITE_API void *sqlite3_rollback_hook(sqlite3*, void(*)(void *), void*);
|
|
|
6442
6511
|
** function C that is invoked prior to each autovacuum of the database
|
|
6443
6512
|
** file. ^The callback is passed a copy of the generic data pointer (P),
|
|
6444
6513
|
** the schema-name of the attached database that is being autovacuumed,
|
|
6445
|
-
** the
|
|
6514
|
+
** the size of the database file in pages, the number of free pages,
|
|
6446
6515
|
** and the number of bytes per page, respectively. The callback should
|
|
6447
6516
|
** return the number of free pages that should be removed by the
|
|
6448
6517
|
** autovacuum. ^If the callback returns zero, then no autovacuum happens.
|
|
@@ -6563,6 +6632,11 @@ SQLITE_API void *sqlite3_update_hook(
|
|
|
6563
6632
|
** to the same database. Sharing is enabled if the argument is true
|
|
6564
6633
|
** and disabled if the argument is false.)^
|
|
6565
6634
|
**
|
|
6635
|
+
** This interface is omitted if SQLite is compiled with
|
|
6636
|
+
** [-DSQLITE_OMIT_SHARED_CACHE]. The [-DSQLITE_OMIT_SHARED_CACHE]
|
|
6637
|
+
** compile-time option is recommended because the
|
|
6638
|
+
** [use of shared cache mode is discouraged].
|
|
6639
|
+
**
|
|
6566
6640
|
** ^Cache sharing is enabled and disabled for an entire process.
|
|
6567
6641
|
** This is a change as of SQLite [version 3.5.0] ([dateof:3.5.0]).
|
|
6568
6642
|
** In prior versions of SQLite,
|
|
@@ -6661,7 +6735,7 @@ SQLITE_API int sqlite3_db_release_memory(sqlite3*);
|
|
|
6661
6735
|
** ^The soft heap limit may not be greater than the hard heap limit.
|
|
6662
6736
|
** ^If the hard heap limit is enabled and if sqlite3_soft_heap_limit(N)
|
|
6663
6737
|
** is invoked with a value of N that is greater than the hard heap limit,
|
|
6664
|
-
** the
|
|
6738
|
+
** the soft heap limit is set to the value of the hard heap limit.
|
|
6665
6739
|
** ^The soft heap limit is automatically enabled whenever the hard heap
|
|
6666
6740
|
** limit is enabled. ^When sqlite3_hard_heap_limit64(N) is invoked and
|
|
6667
6741
|
** the soft heap limit is outside the range of 1..N, then the soft heap
|
|
@@ -8956,7 +9030,7 @@ typedef struct sqlite3_backup sqlite3_backup;
|
|
|
8956
9030
|
** if the application incorrectly accesses the destination [database connection]
|
|
8957
9031
|
** and so no error code is reported, but the operations may malfunction
|
|
8958
9032
|
** nevertheless. Use of the destination database connection while a
|
|
8959
|
-
** backup is in progress might also
|
|
9033
|
+
** backup is in progress might also cause a mutex deadlock.
|
|
8960
9034
|
**
|
|
8961
9035
|
** If running in [shared cache mode], the application must
|
|
8962
9036
|
** guarantee that the shared cache used by the destination database
|
|
@@ -9384,7 +9458,7 @@ SQLITE_API int sqlite3_wal_checkpoint_v2(
|
|
|
9384
9458
|
*/
|
|
9385
9459
|
#define SQLITE_CHECKPOINT_PASSIVE 0 /* Do as much as possible w/o blocking */
|
|
9386
9460
|
#define SQLITE_CHECKPOINT_FULL 1 /* Wait for writers, then checkpoint */
|
|
9387
|
-
#define SQLITE_CHECKPOINT_RESTART 2 /* Like FULL but wait for
|
|
9461
|
+
#define SQLITE_CHECKPOINT_RESTART 2 /* Like FULL but wait for readers */
|
|
9388
9462
|
#define SQLITE_CHECKPOINT_TRUNCATE 3 /* Like RESTART but also truncate WAL */
|
|
9389
9463
|
|
|
9390
9464
|
/*
|
|
@@ -9554,8 +9628,8 @@ SQLITE_API SQLITE_EXPERIMENTAL const char *sqlite3_vtab_collation(sqlite3_index_
|
|
|
9554
9628
|
** of a [virtual table] implementation. The result of calling this
|
|
9555
9629
|
** interface from outside of xBestIndex() is undefined and probably harmful.
|
|
9556
9630
|
**
|
|
9557
|
-
** ^The sqlite3_vtab_distinct() interface returns an integer
|
|
9558
|
-
**
|
|
9631
|
+
** ^The sqlite3_vtab_distinct() interface returns an integer between 0 and
|
|
9632
|
+
** 3. The integer returned by sqlite3_vtab_distinct()
|
|
9559
9633
|
** gives the virtual table additional information about how the query
|
|
9560
9634
|
** planner wants the output to be ordered. As long as the virtual table
|
|
9561
9635
|
** can meet the ordering requirements of the query planner, it may set
|
|
@@ -9587,6 +9661,13 @@ SQLITE_API SQLITE_EXPERIMENTAL const char *sqlite3_vtab_collation(sqlite3_index_
|
|
|
9587
9661
|
** that have the same value for all columns identified by "aOrderBy".
|
|
9588
9662
|
** ^However omitting the extra rows is optional.
|
|
9589
9663
|
** This mode is used for a DISTINCT query.
|
|
9664
|
+
** <li value="3"><p>
|
|
9665
|
+
** ^(If the sqlite3_vtab_distinct() interface returns 3, that means
|
|
9666
|
+
** that the query planner needs only distinct rows but it does need the
|
|
9667
|
+
** rows to be sorted.)^ ^The virtual table implementation is free to omit
|
|
9668
|
+
** rows that are identical in all aOrderBy columns, if it wants to, but
|
|
9669
|
+
** it is not required to omit any rows. This mode is used for queries
|
|
9670
|
+
** that have both DISTINCT and ORDER BY clauses.
|
|
9590
9671
|
** </ol>
|
|
9591
9672
|
**
|
|
9592
9673
|
** ^For the purposes of comparing virtual table output values to see if the
|
|
@@ -7,10 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SQLite3", "SQLite3", "{F0B5
|
|
|
7
7
|
EndProject
|
|
8
8
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLite3.Shared", "SQLite3.Shared.vcxitems", "{DB84AE51-4B93-44F5-BE22-1EAE1833ECEC}"
|
|
9
9
|
EndProject
|
|
10
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLite3.Windows", "SQLite3.Windows\SQLite3.Windows.vcxproj", "{D1848FEE-6A8E-4EF1-8BFB-8652E5A9CD4A}"
|
|
11
|
-
EndProject
|
|
12
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLite3.WindowsPhone", "SQLite3.WindowsPhone\SQLite3.WindowsPhone.vcxproj", "{6435C2E4-4FD2-405A-9EE2-5312AE852782}"
|
|
13
|
-
EndProject
|
|
14
10
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLite3.UWP", "SQLite3.UWP\SQLite3.UWP.vcxproj", "{76E68196-B7DC-4393-A070-D32FC33BC489}"
|
|
15
11
|
EndProject
|
|
16
12
|
Global
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|