зеркало из https://github.com/mozilla/gecko-dev.git
Bug 928251 - Upgrade SQLite to version 3.8.1 - SQLite changes. r=mak
This commit is contained in:
Родитель
8085b8c27e
Коммит
a7bb2fe640
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -107,9 +107,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.8.0.2"
|
#define SQLITE_VERSION "3.8.1"
|
||||||
#define SQLITE_VERSION_NUMBER 3008000
|
#define SQLITE_VERSION_NUMBER 3008001
|
||||||
#define SQLITE_SOURCE_ID "2013-09-03 17:11:13 7dd4968f235d6e1ca9547cda9cf3bd570e1609ef"
|
#define SQLITE_SOURCE_ID "2013-10-17 12:57:35 c78be6d786c19073b3a6730dfe3fb1be54f5657a"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** CAPI3REF: Run-Time Library Version Numbers
|
** CAPI3REF: Run-Time Library Version Numbers
|
||||||
|
@ -479,12 +479,14 @@ SQLITE_API int sqlite3_exec(
|
||||||
#define SQLITE_IOERR_DELETE_NOENT (SQLITE_IOERR | (23<<8))
|
#define SQLITE_IOERR_DELETE_NOENT (SQLITE_IOERR | (23<<8))
|
||||||
#define SQLITE_IOERR_MMAP (SQLITE_IOERR | (24<<8))
|
#define SQLITE_IOERR_MMAP (SQLITE_IOERR | (24<<8))
|
||||||
#define SQLITE_IOERR_GETTEMPPATH (SQLITE_IOERR | (25<<8))
|
#define SQLITE_IOERR_GETTEMPPATH (SQLITE_IOERR | (25<<8))
|
||||||
|
#define SQLITE_IOERR_CONVPATH (SQLITE_IOERR | (26<<8))
|
||||||
#define SQLITE_LOCKED_SHAREDCACHE (SQLITE_LOCKED | (1<<8))
|
#define SQLITE_LOCKED_SHAREDCACHE (SQLITE_LOCKED | (1<<8))
|
||||||
#define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8))
|
#define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8))
|
||||||
#define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8))
|
#define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8))
|
||||||
#define SQLITE_CANTOPEN_NOTEMPDIR (SQLITE_CANTOPEN | (1<<8))
|
#define SQLITE_CANTOPEN_NOTEMPDIR (SQLITE_CANTOPEN | (1<<8))
|
||||||
#define SQLITE_CANTOPEN_ISDIR (SQLITE_CANTOPEN | (2<<8))
|
#define SQLITE_CANTOPEN_ISDIR (SQLITE_CANTOPEN | (2<<8))
|
||||||
#define SQLITE_CANTOPEN_FULLPATH (SQLITE_CANTOPEN | (3<<8))
|
#define SQLITE_CANTOPEN_FULLPATH (SQLITE_CANTOPEN | (3<<8))
|
||||||
|
#define SQLITE_CANTOPEN_CONVPATH (SQLITE_CANTOPEN | (4<<8))
|
||||||
#define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8))
|
#define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8))
|
||||||
#define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8))
|
#define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8))
|
||||||
#define SQLITE_READONLY_CANTLOCK (SQLITE_READONLY | (2<<8))
|
#define SQLITE_READONLY_CANTLOCK (SQLITE_READONLY | (2<<8))
|
||||||
|
@ -1615,27 +1617,27 @@ struct sqlite3_mem_methods {
|
||||||
** function must be threadsafe. </dd>
|
** function must be threadsafe. </dd>
|
||||||
**
|
**
|
||||||
** [[SQLITE_CONFIG_URI]] <dt>SQLITE_CONFIG_URI
|
** [[SQLITE_CONFIG_URI]] <dt>SQLITE_CONFIG_URI
|
||||||
** <dd> This option takes a single argument of type int. If non-zero, then
|
** <dd>^(This option takes a single argument of type int. If non-zero, then
|
||||||
** URI handling is globally enabled. If the parameter is zero, then URI handling
|
** URI handling is globally enabled. If the parameter is zero, then URI handling
|
||||||
** is globally disabled. If URI handling is globally enabled, all filenames
|
** is globally disabled.)^ ^If URI handling is globally enabled, all filenames
|
||||||
** passed to [sqlite3_open()], [sqlite3_open_v2()], [sqlite3_open16()] or
|
** passed to [sqlite3_open()], [sqlite3_open_v2()], [sqlite3_open16()] or
|
||||||
** specified as part of [ATTACH] commands are interpreted as URIs, regardless
|
** specified as part of [ATTACH] commands are interpreted as URIs, regardless
|
||||||
** of whether or not the [SQLITE_OPEN_URI] flag is set when the database
|
** of whether or not the [SQLITE_OPEN_URI] flag is set when the database
|
||||||
** connection is opened. If it is globally disabled, filenames are
|
** connection is opened. ^If it is globally disabled, filenames are
|
||||||
** only interpreted as URIs if the SQLITE_OPEN_URI flag is set when the
|
** only interpreted as URIs if the SQLITE_OPEN_URI flag is set when the
|
||||||
** database connection is opened. By default, URI handling is globally
|
** database connection is opened. ^(By default, URI handling is globally
|
||||||
** disabled. The default value may be changed by compiling with the
|
** disabled. The default value may be changed by compiling with the
|
||||||
** [SQLITE_USE_URI] symbol defined.
|
** [SQLITE_USE_URI] symbol defined.)^
|
||||||
**
|
**
|
||||||
** [[SQLITE_CONFIG_COVERING_INDEX_SCAN]] <dt>SQLITE_CONFIG_COVERING_INDEX_SCAN
|
** [[SQLITE_CONFIG_COVERING_INDEX_SCAN]] <dt>SQLITE_CONFIG_COVERING_INDEX_SCAN
|
||||||
** <dd> This option takes a single integer argument which is interpreted as
|
** <dd>^This option takes a single integer argument which is interpreted as
|
||||||
** a boolean in order to enable or disable the use of covering indices for
|
** a boolean in order to enable or disable the use of covering indices for
|
||||||
** full table scans in the query optimizer. The default setting is determined
|
** full table scans in the query optimizer. ^The default setting is determined
|
||||||
** by the [SQLITE_ALLOW_COVERING_INDEX_SCAN] compile-time option, or is "on"
|
** by the [SQLITE_ALLOW_COVERING_INDEX_SCAN] compile-time option, or is "on"
|
||||||
** if that compile-time option is omitted.
|
** if that compile-time option is omitted.
|
||||||
** The ability to disable the use of covering indices for full table scans
|
** The ability to disable the use of covering indices for full table scans
|
||||||
** is because some incorrectly coded legacy applications might malfunction
|
** is because some incorrectly coded legacy applications might malfunction
|
||||||
** malfunction when the optimization is enabled. Providing the ability to
|
** when the optimization is enabled. Providing the ability to
|
||||||
** disable the optimization allows the older, buggy application code to work
|
** disable the optimization allows the older, buggy application code to work
|
||||||
** without change even with newer versions of SQLite.
|
** without change even with newer versions of SQLite.
|
||||||
**
|
**
|
||||||
|
@ -1664,16 +1666,16 @@ struct sqlite3_mem_methods {
|
||||||
**
|
**
|
||||||
** [[SQLITE_CONFIG_MMAP_SIZE]]
|
** [[SQLITE_CONFIG_MMAP_SIZE]]
|
||||||
** <dt>SQLITE_CONFIG_MMAP_SIZE
|
** <dt>SQLITE_CONFIG_MMAP_SIZE
|
||||||
** <dd>SQLITE_CONFIG_MMAP_SIZE takes two 64-bit integer (sqlite3_int64) values
|
** <dd>^SQLITE_CONFIG_MMAP_SIZE takes two 64-bit integer (sqlite3_int64) values
|
||||||
** that are the default mmap size limit (the default setting for
|
** that are the default mmap size limit (the default setting for
|
||||||
** [PRAGMA mmap_size]) and the maximum allowed mmap size limit.
|
** [PRAGMA mmap_size]) and the maximum allowed mmap size limit.
|
||||||
** The default setting can be overridden by each database connection using
|
** ^The default setting can be overridden by each database connection using
|
||||||
** either the [PRAGMA mmap_size] command, or by using the
|
** either the [PRAGMA mmap_size] command, or by using the
|
||||||
** [SQLITE_FCNTL_MMAP_SIZE] file control. The maximum allowed mmap size
|
** [SQLITE_FCNTL_MMAP_SIZE] file control. ^(The maximum allowed mmap size
|
||||||
** cannot be changed at run-time. Nor may the maximum allowed mmap size
|
** cannot be changed at run-time. Nor may the maximum allowed mmap size
|
||||||
** exceed the compile-time maximum mmap size set by the
|
** exceed the compile-time maximum mmap size set by the
|
||||||
** [SQLITE_MAX_MMAP_SIZE] compile-time option.
|
** [SQLITE_MAX_MMAP_SIZE] compile-time option.)^
|
||||||
** If either argument to this option is negative, then that argument is
|
** ^If either argument to this option is negative, then that argument is
|
||||||
** changed to its compile-time default.
|
** changed to its compile-time default.
|
||||||
** </dl>
|
** </dl>
|
||||||
*/
|
*/
|
||||||
|
|
Загрузка…
Ссылка в новой задаче