pkgsrc/databases/sqlite3-docs/PLIST

830 lines
34 KiB
Text
Raw Normal View History

Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
@comment $NetBSD: PLIST,v 1.57 2016/08/09 14:54:25 adam Exp $
share/doc/sqlite3/34to35.html
share/doc/sqlite3/35to36.html
share/doc/sqlite3/about.html
share/doc/sqlite3/aff_short.html
Changes 3.8.7: Performance Enhancements: * Many micro-optimizations result in 20.3% more work for the same number of CPU cycles relative to the previous release. The cumulative performance increase since version 3.8.0 is 61%. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 13.10 x64 with gcc 4.8.1 and -Os. Your performance may vary.) * The sorter can use auxiliary helper threads to increase real-time response. This feature is off by default and may be enabled using the PRAGMA threads command or the SQLITE_DEFAULT_WORKER_THREADS compile-time option. * Enhance the skip-scan optimization so that it is able to skip index terms that occur in the middle of the index, not just as the left-hand side of the index. * Improved optimization of CAST operators. * Various improvements in how the query planner uses sqlite_stat4 information to estimate plan costs. New Features: * Added new interfaces with 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_result_blob64(), sqlite3_bind_text64(), and sqlite3_result_text64(). * Added the new interface sqlite3_msize() that returns the size of a memory allocation obtained from sqlite3_malloc64() and its variants. * Added the SQLITE_LIMIT_WORKER_THREADS option to sqlite3_limit() and PRAGMA threads command for configuring the number of available worker threads. * The spellfix1 extension allows the application to optionally specify the rowid for each INSERT. * Added the User Authentication extension. Bug Fixes: * Fix a bug in the partial index implementation that might result in an incorrect answer if a partial index is used in a subquery or in a view. * Fix a query planner bug that might cause a table to be scanned in the wrong direction (thus reversing the order of output) when a DESC index is used to implement the ORDER BY clause on a query that has an identical GROUP BY clause. * Fix a bug in sqlite3_trace() that was causing it to sometimes fail to print an SQL statement if that statement needed to be re-prepared. * Fix a faulty assert() statement.
2014-10-19 22:37:47 +02:00
share/doc/sqlite3/affcase1.html
share/doc/sqlite3/amalgamation.html
share/doc/sqlite3/appfileformat.html
share/doc/sqlite3/arch.html
share/doc/sqlite3/asyncvfs.html
share/doc/sqlite3/atomiccommit.html
share/doc/sqlite3/autoinc.html
share/doc/sqlite3/backup.html
share/doc/sqlite3/books.html
share/doc/sqlite3/c3ref/aggregate_context.html
share/doc/sqlite3/c3ref/aggregate_count.html
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/c3ref/api_routines.html
share/doc/sqlite3/c3ref/auto_extension.html
share/doc/sqlite3/c3ref/backup.html
share/doc/sqlite3/c3ref/backup_finish.html
share/doc/sqlite3/c3ref/bind_blob.html
share/doc/sqlite3/c3ref/bind_parameter_count.html
share/doc/sqlite3/c3ref/bind_parameter_index.html
share/doc/sqlite3/c3ref/bind_parameter_name.html
share/doc/sqlite3/c3ref/blob.html
share/doc/sqlite3/c3ref/blob_bytes.html
share/doc/sqlite3/c3ref/blob_close.html
share/doc/sqlite3/c3ref/blob_open.html
share/doc/sqlite3/c3ref/blob_read.html
share/doc/sqlite3/c3ref/blob_reopen.html
share/doc/sqlite3/c3ref/blob_write.html
share/doc/sqlite3/c3ref/busy_handler.html
share/doc/sqlite3/c3ref/busy_timeout.html
share/doc/sqlite3/c3ref/c_abort.html
share/doc/sqlite3/c3ref/c_abort_rollback.html
share/doc/sqlite3/c3ref/c_access_exists.html
share/doc/sqlite3/c3ref/c_alter_table.html
share/doc/sqlite3/c3ref/c_any.html
share/doc/sqlite3/c3ref/c_blob.html
2011-04-12 21:03:48 +02:00
share/doc/sqlite3/c3ref/c_checkpoint_full.html
Changes 3.7.15: * Added the sqlite3_errstr() interface. * Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors. * Added support for Windows Phone 8 platforms * Enhance IN operator processing to make use of indices with numeric affinities. * Do full-table scans using covering indices when possible, under the theory that an index will be smaller and hence can be scanned with less I/O. * Enhance the query optimizer so that ORDER BY clauses are more aggressively optimized, especially in joins where various terms of the ORDER BY clause come from separate tables of the join. * Add the ability to implement FROM clause subqueries as coroutines rather that manifesting the subquery into a temporary table. * Enhancements the command-line shell: * Added the ".print" command * Negative numbers in the ".width" command cause right-alignment * Add the ".wheretrace" command when compiled with SQLITE_DEBUG * Added the busy_timeout pragma. * Added the instr() SQL function. * Added the SQLITE_FCNTL_BUSYHANDLER file control, used to allow VFS implementations to get access to the busy handler callback. * The xDelete method in the built-in VFSes now return SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist. * Enhanced support for QNX. * Work around an optimizer bug in the MSVC compiler when targeting ARM. * Bug fix: Avoid various concurrency problems in shared cache mode. * Bug fix: Avoid a deadlock or crash if the backup API, shared cache, and the SQLite Encryption Extension are all used at once. * Bug fix: SQL functions created using the TCL interface honor the "nullvalue" setting. * Bug fix: Fix a 32-bit overflow problem on CREATE INDEX for databases larger than 16GB. * Bug fix: Avoid segfault when using the COLLATE operator inside of a CHECK constraint or view in shared cache mode.
2012-12-15 19:42:33 +01:00
share/doc/sqlite3/c3ref/c_config_covering_index_scan.html
2011-04-12 21:03:48 +02:00
share/doc/sqlite3/c3ref/c_dbconfig_enable_fkey.html
share/doc/sqlite3/c3ref/c_dbstatus_options.html
share/doc/sqlite3/c3ref/c_deny.html
share/doc/sqlite3/c3ref/c_deterministic.html
share/doc/sqlite3/c3ref/c_fail.html
Changes 3.7.15: * Added the sqlite3_errstr() interface. * Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors. * Added support for Windows Phone 8 platforms * Enhance IN operator processing to make use of indices with numeric affinities. * Do full-table scans using covering indices when possible, under the theory that an index will be smaller and hence can be scanned with less I/O. * Enhance the query optimizer so that ORDER BY clauses are more aggressively optimized, especially in joins where various terms of the ORDER BY clause come from separate tables of the join. * Add the ability to implement FROM clause subqueries as coroutines rather that manifesting the subquery into a temporary table. * Enhancements the command-line shell: * Added the ".print" command * Negative numbers in the ".width" command cause right-alignment * Add the ".wheretrace" command when compiled with SQLITE_DEBUG * Added the busy_timeout pragma. * Added the instr() SQL function. * Added the SQLITE_FCNTL_BUSYHANDLER file control, used to allow VFS implementations to get access to the busy handler callback. * The xDelete method in the built-in VFSes now return SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist. * Enhanced support for QNX. * Work around an optimizer bug in the MSVC compiler when targeting ARM. * Bug fix: Avoid various concurrency problems in shared cache mode. * Bug fix: Avoid a deadlock or crash if the backup API, shared cache, and the SQLite Encryption Extension are all used at once. * Bug fix: SQL functions created using the TCL interface honor the "nullvalue" setting. * Bug fix: Fix a 32-bit overflow problem on CREATE INDEX for databases larger than 16GB. * Bug fix: Avoid segfault when using the COLLATE operator inside of a CHECK constraint or view in shared cache mode.
2012-12-15 19:42:33 +01:00
share/doc/sqlite3/c3ref/c_fcntl_busyhandler.html
share/doc/sqlite3/c3ref/c_index_constraint_eq.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/c3ref/c_index_scan_unique.html
share/doc/sqlite3/c3ref/c_iocap_atomic.html
share/doc/sqlite3/c3ref/c_limit_attached.html
share/doc/sqlite3/c3ref/c_lock_exclusive.html
share/doc/sqlite3/c3ref/c_mutex_fast.html
share/doc/sqlite3/c3ref/c_open_autoproxy.html
Changes 3.8.8: New Features: * Added the PRAGMA data_version command that can be used to determine if a database file has been modified by another process. * Added the SQLITE_CHECKPOINT_TRUNCATE option to the sqlite3_wal_checkpoint_v2() interface, with corresponding enhancements to PRAGMA wal_checkpoint. * Added the sqlite3_stmt_scanstatus() interface, available only when compiled with SQLITE_ENABLE_STMT_SCANSTATUS. * The sqlite3_table_column_metadata() is enhanced to work correctly on WITHOUT ROWID tables and to check for the existence of a a table if the column name parameter is NULL. The interface is now also included in the build by default, without requiring the SQLITE_ENABLE_COLUMN_METADATA compile-time option. * Added the SQLITE_ENABLE_API_ARMOR compile-time option. * Added the SQLITE_REVERSE_UNORDERED_SELECTS compile-time option. * Added the SQLITE_SORTER_PMASZ compile-time option and SQLITE_CONFIG_PMASZ start-time option. * Added the SQLITE_CONFIG_PCACHE_HDRSZ option to sqlite3_config() which makes it easier for applications to determine the appropriate amount of memory for use with SQLITE_CONFIG_PAGECACHE. * The number of rows in a VALUES clause is no longer limited by SQLITE_LIMIT_COMPOUND_SELECT. * Added the eval.c loadable extension that implements an eval() SQL function that will recursively evaluate SQL. Performance Enhancements: * Reduce the number of memcpy() operations involved in balancing a b-tree, for 3.2% overall performance boost. * Improvements to cost estimates for the skip-scan optimization. * The automatic indexing optimization is now capable of generating a partial index if that is appropriate. Bug fixes: * Ensure durability following a power loss with "PRAGMA journal_mode=TRUNCATE" by calling fsync() right after truncating the journal file. * The query planner now recognizes that any column in the right-hand table of a LEFT JOIN can be NULL, even if that column has a NOT NULL constraint. Avoid trying to optimize out NULL tests in those cases. * Make sure ORDER BY puts rows in ascending order even if the DISTINCT operator is implemented using a descending index. * Fix data races that might occur under stress when running with many threads in shared cache mode where some of the threads are opening and closing connections. * Fix obscure crash bugs found by american fuzzy lop. * Work around a GCC optimizer bug (for gcc 4.2.1 on MacOS 10.7) that caused the R-Tree extension to compute incorrect results when compiled with -O3. Other changes: * Disable the use of the strchrnul() C-library routine unless it is specifically enabled using the -DHAVE_STRCHRNULL compile-time option. * Improvements to the effectiveness and accuracy of the likelihood(), likely(), and unlikely() SQL hint functions.
2015-01-16 22:01:19 +01:00
share/doc/sqlite3/c3ref/c_scanstat_est.html
share/doc/sqlite3/c3ref/c_shm_exclusive.html
share/doc/sqlite3/c3ref/c_shm_nlock.html
share/doc/sqlite3/c3ref/c_source_id.html
share/doc/sqlite3/c3ref/c_static.html
share/doc/sqlite3/c3ref/c_status_malloc_count.html
share/doc/sqlite3/c3ref/c_stmtstatus_counter.html
share/doc/sqlite3/c3ref/c_sync_dataonly.html
share/doc/sqlite3/c3ref/c_testctrl_always.html
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/c3ref/c_trace.html
share/doc/sqlite3/c3ref/c_vtab_constraint_support.html
Changes 3.8.0.1: Add support for partial indexes Cut-over to the next generation query planner for faster and better query plans. The EXPLAIN QUERY PLAN output no longer shows an estimate of the number of rows generated by each loop in a join. Added the FTS4 notindexed option, allowing non-indexed columns in an FTS4 table. Added the SQLITE_STMTSTATUS_VM_STEP option to sqlite3_stmt_status(). Added the cache_spill pragma. Added the query_only pragma. Added the defer_foreign_keys pragma and the sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS,...) C-language interface. Added the "percentile()" function as a loadable extension in the ext/misc subdirectory of the source tree. Added the SQLITE_ALLOW_URI_AUTHORITY compile-time option. Add the sqlite3_cancel_auto_extension(X) interface. A running SELECT statement that lacks a FROM clause (or any other statement that never reads or writes from any database file) will not prevent a read transaction from closing. Add the SQLITE_DEFAULT_AUTOMATIC_INDEX compile-time option. Setting this option to 0 disables automatic indices by default. Issue an SQLITE_WARNING_AUTOINDEX warning on the SQLITE_CONFIG_LOG whenever the query planner uses an automatic index. Added the SQLITE_FTS3_MAX_EXPR_DEPTH compile-time option. Added an optional 5th parameter defining the collating sequence to the next_char() extension SQL function. The SQLITE_BUSY_SNAPSHOT extended error code is returned in WAL mode when a read transaction cannot be upgraded to a write transaction because the read is on an older snapshot. Enhancements to the sqlite3_analyzer utility program to provide size information separately for each individual index of a table, in addition to the aggregate size. Allow read transactions to be freely opened and closed by SQL statements run from within the implementation of application-defined SQL functions if the function is called by a SELECT statement that does not access any database table. Disable the use of posix_fallocate() on all (unix) systems unless the HAVE_POSIX_FALLOCATE compile-time option is used. Update the ".import" command in the command-line shell to support multi-line fields and correct RFC-4180 quoting and to issue warning and/or error messages if the input text is not strictly RFC-4180 compliant. Bug fix: In the unicode61 tokenizer of FTS4, treat all private code points as identifier symbols. Bug fix: Bare identifiers in ORDER BY clauses bind more tightly to output column names, but identifiers in expressions bind more tightly to input column names. Identifiers in GROUP BY clauses always prefer output column names, however. Bug fixes: Multiple problems in the legacy query optimizer were fixed by the move to NGQP.
2013-08-31 13:07:33 +02:00
share/doc/sqlite3/c3ref/cancel_auto_extension.html
share/doc/sqlite3/c3ref/changes.html
share/doc/sqlite3/c3ref/clear_bindings.html
share/doc/sqlite3/c3ref/close.html
share/doc/sqlite3/c3ref/collation_needed.html
share/doc/sqlite3/c3ref/column_blob.html
share/doc/sqlite3/c3ref/column_count.html
share/doc/sqlite3/c3ref/column_database_name.html
share/doc/sqlite3/c3ref/column_decltype.html
share/doc/sqlite3/c3ref/column_name.html
share/doc/sqlite3/c3ref/commit_hook.html
share/doc/sqlite3/c3ref/compileoption_get.html
share/doc/sqlite3/c3ref/complete.html
share/doc/sqlite3/c3ref/config.html
share/doc/sqlite3/c3ref/constlist.html
share/doc/sqlite3/c3ref/context.html
share/doc/sqlite3/c3ref/context_db_handle.html
share/doc/sqlite3/c3ref/create_collation.html
share/doc/sqlite3/c3ref/create_function.html
share/doc/sqlite3/c3ref/create_module.html
share/doc/sqlite3/c3ref/data_count.html
share/doc/sqlite3/c3ref/data_directory.html
Changes 3.10.0: General improvements: --------------------- Added support for LIKE, GLOB, and REGEXP operators on virtual tables. Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. Added the "--transaction" option to sqldiff. Added the sqlite3_db_cacheflush() interface. Added the sqlite3_strlike() interface. When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) Added the json_group_array() and json_group_object() SQL functions in the json extension. Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. Many small performance optimizations. Portability enhancements: ------------------------- Work around a sign-exension bug in the optimizer of the HP C compiler on HP/UX. (details) Enhancements to the command-line shell: --------------------------------------- Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. Translate between MBCS and UTF8 when running in cmd.exe on Windows. Enhancements to makefiles: -------------------------- Added the --enable-editline and --enable-static-shell options to the various autoconf-generated configure scripts. Omit all use of "awk" in the makefiles, to make building easier for MSVC users. Important fixes: ---------------- Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that contains both large integers and floating point values of similar magnitude. Ticket 38a97a87a6. Fix an infinite-loop in the query planner that could occur on malformed common table expressions. Various bug fixes in the sqldiff tool.
2016-01-08 15:43:10 +01:00
share/doc/sqlite3/c3ref/db_cacheflush.html
share/doc/sqlite3/c3ref/db_config.html
Changes 3.7.10: * The default schema format number is changed from 1 to 4. This means that, unless the PRAGMA legacy_file_format=ON statement is run, newly created database files will be unreadable by version of SQLite prior to 3.3.0 (2006-01-10). It also means that the descending indices are enabled by default. * The sqlite3_pcache_methods structure and the SQLITE_CONFIG_PCACHE and SQLITE_CONFIG_GETPCACHE configuration parameters are deprecated. They are replaced by a new sqlite3_pcache_methods2 structure and SQLITE_CONFIG_PCACHE2 and SQLITE_CONFIG_GETPCACHE2 configuration parameters. * Added the powersafe overwrite property to the VFS interface. Provide the SQLITE_IOCAP_POWERSAFE_OVERWRITE I/O capability, the SQLITE_POWERSAFE_OVERWRITE compile-time option, and the "psow=BOOLEAN" query parameter for URI filenames. * Added the sqlite3_db_release_memory() interface and the shrink_memory pragma. * Added the sqlite3_db_filename() interface. * Added the sqlite3_stmt_busy() interface. * Added the sqlite3_uri_boolean() and sqlite3_uri_int64() interfaces. * If the argument to PRAGMA cache_size is negative N, that means to use approximately -1024*N bytes of memory for the page cache regardless of the page size. * Enhanced the default memory allocator to make use of _msize() on windows, malloc_size() on Mac, and malloc_usable_size() on Linux. * Enhanced the query planner to support index queries with range constraints on the rowid. * Enhanced the query planner flattening logic to allow UNION ALL compounds to be promoted upwards to replace a simple wrapper SELECT even if the compounds are joins. * Enhanced the query planner so that the xfer optimization can be used with INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is initially empty. * Enhanced the windows VFS so that all system calls can be overridden using the xSetSystemCall interface. * Updated the "unix-dotfile" VFS to use locking directories with mkdir() and rmdir() instead of locking files with open() and unlink(). * Enhancements to the test_quota.c extension to support stdio-like interfaces with quotas. * Change the unix VFS to be tolerant of read() system calls that return less then the full number of requested bytes. * Change both unix and windows VFSes to report a sector size of 4096 instead of the old default of 512. * In the TCL Interface, add the -uri option to the "sqlite3" TCL command used for creating new database connection objects. * Added the SQLITE_TESTCTRL_EXPLAIN_STMT test-control option with the SQLITE_ENABLE_TREE_EXPLAIN compile-time option to enable the command-line shell to display ASCII-art parse trees of SQL statements that it processes, for debugging and analysis. * Bug fix: Add an additional xSync when restarting a WAL in order to prevent an exceedingly unlikely but theoretically possible database corruption following power-loss. * Bug fix: Change the VDBE so that all registers are initialized to Invalid instead of NULL. * Bug fix: Fix problems that can result from 32-bit integer overflow.
2012-01-17 16:53:13 +01:00
share/doc/sqlite3/c3ref/db_filename.html
share/doc/sqlite3/c3ref/db_handle.html
share/doc/sqlite3/c3ref/db_mutex.html
share/doc/sqlite3/c3ref/db_readonly.html
Changes 3.7.10: * The default schema format number is changed from 1 to 4. This means that, unless the PRAGMA legacy_file_format=ON statement is run, newly created database files will be unreadable by version of SQLite prior to 3.3.0 (2006-01-10). It also means that the descending indices are enabled by default. * The sqlite3_pcache_methods structure and the SQLITE_CONFIG_PCACHE and SQLITE_CONFIG_GETPCACHE configuration parameters are deprecated. They are replaced by a new sqlite3_pcache_methods2 structure and SQLITE_CONFIG_PCACHE2 and SQLITE_CONFIG_GETPCACHE2 configuration parameters. * Added the powersafe overwrite property to the VFS interface. Provide the SQLITE_IOCAP_POWERSAFE_OVERWRITE I/O capability, the SQLITE_POWERSAFE_OVERWRITE compile-time option, and the "psow=BOOLEAN" query parameter for URI filenames. * Added the sqlite3_db_release_memory() interface and the shrink_memory pragma. * Added the sqlite3_db_filename() interface. * Added the sqlite3_stmt_busy() interface. * Added the sqlite3_uri_boolean() and sqlite3_uri_int64() interfaces. * If the argument to PRAGMA cache_size is negative N, that means to use approximately -1024*N bytes of memory for the page cache regardless of the page size. * Enhanced the default memory allocator to make use of _msize() on windows, malloc_size() on Mac, and malloc_usable_size() on Linux. * Enhanced the query planner to support index queries with range constraints on the rowid. * Enhanced the query planner flattening logic to allow UNION ALL compounds to be promoted upwards to replace a simple wrapper SELECT even if the compounds are joins. * Enhanced the query planner so that the xfer optimization can be used with INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is initially empty. * Enhanced the windows VFS so that all system calls can be overridden using the xSetSystemCall interface. * Updated the "unix-dotfile" VFS to use locking directories with mkdir() and rmdir() instead of locking files with open() and unlink(). * Enhancements to the test_quota.c extension to support stdio-like interfaces with quotas. * Change the unix VFS to be tolerant of read() system calls that return less then the full number of requested bytes. * Change both unix and windows VFSes to report a sector size of 4096 instead of the old default of 512. * In the TCL Interface, add the -uri option to the "sqlite3" TCL command used for creating new database connection objects. * Added the SQLITE_TESTCTRL_EXPLAIN_STMT test-control option with the SQLITE_ENABLE_TREE_EXPLAIN compile-time option to enable the command-line shell to display ASCII-art parse trees of SQL statements that it processes, for debugging and analysis. * Bug fix: Add an additional xSync when restarting a WAL in order to prevent an exceedingly unlikely but theoretically possible database corruption following power-loss. * Bug fix: Change the VDBE so that all registers are initialized to Invalid instead of NULL. * Bug fix: Fix problems that can result from 32-bit integer overflow.
2012-01-17 16:53:13 +01:00
share/doc/sqlite3/c3ref/db_release_memory.html
share/doc/sqlite3/c3ref/db_status.html
share/doc/sqlite3/c3ref/declare_vtab.html
share/doc/sqlite3/c3ref/enable_load_extension.html
share/doc/sqlite3/c3ref/enable_shared_cache.html
share/doc/sqlite3/c3ref/errcode.html
share/doc/sqlite3/c3ref/exec.html
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/c3ref/expanded_sql.html
share/doc/sqlite3/c3ref/experimental.html
share/doc/sqlite3/c3ref/extended_result_codes.html
share/doc/sqlite3/c3ref/file.html
share/doc/sqlite3/c3ref/file_control.html
share/doc/sqlite3/c3ref/finalize.html
share/doc/sqlite3/c3ref/free.html
share/doc/sqlite3/c3ref/free_table.html
share/doc/sqlite3/c3ref/funclist.html
share/doc/sqlite3/c3ref/get_autocommit.html
share/doc/sqlite3/c3ref/get_auxdata.html
share/doc/sqlite3/c3ref/index_info.html
share/doc/sqlite3/c3ref/initialize.html
share/doc/sqlite3/c3ref/int64.html
share/doc/sqlite3/c3ref/interrupt.html
share/doc/sqlite3/c3ref/intro.html
share/doc/sqlite3/c3ref/io_methods.html
share/doc/sqlite3/c3ref/last_insert_rowid.html
share/doc/sqlite3/c3ref/libversion.html
share/doc/sqlite3/c3ref/limit.html
share/doc/sqlite3/c3ref/load_extension.html
share/doc/sqlite3/c3ref/log.html
share/doc/sqlite3/c3ref/mem_methods.html
share/doc/sqlite3/c3ref/memory_highwater.html
share/doc/sqlite3/c3ref/module.html
share/doc/sqlite3/c3ref/mprintf.html
share/doc/sqlite3/c3ref/mutex.html
share/doc/sqlite3/c3ref/mutex_alloc.html
share/doc/sqlite3/c3ref/mutex_held.html
share/doc/sqlite3/c3ref/mutex_methods.html
share/doc/sqlite3/c3ref/next_stmt.html
share/doc/sqlite3/c3ref/objlist.html
share/doc/sqlite3/c3ref/open.html
share/doc/sqlite3/c3ref/overload_function.html
share/doc/sqlite3/c3ref/pcache.html
Changes 3.7.10: * The default schema format number is changed from 1 to 4. This means that, unless the PRAGMA legacy_file_format=ON statement is run, newly created database files will be unreadable by version of SQLite prior to 3.3.0 (2006-01-10). It also means that the descending indices are enabled by default. * The sqlite3_pcache_methods structure and the SQLITE_CONFIG_PCACHE and SQLITE_CONFIG_GETPCACHE configuration parameters are deprecated. They are replaced by a new sqlite3_pcache_methods2 structure and SQLITE_CONFIG_PCACHE2 and SQLITE_CONFIG_GETPCACHE2 configuration parameters. * Added the powersafe overwrite property to the VFS interface. Provide the SQLITE_IOCAP_POWERSAFE_OVERWRITE I/O capability, the SQLITE_POWERSAFE_OVERWRITE compile-time option, and the "psow=BOOLEAN" query parameter for URI filenames. * Added the sqlite3_db_release_memory() interface and the shrink_memory pragma. * Added the sqlite3_db_filename() interface. * Added the sqlite3_stmt_busy() interface. * Added the sqlite3_uri_boolean() and sqlite3_uri_int64() interfaces. * If the argument to PRAGMA cache_size is negative N, that means to use approximately -1024*N bytes of memory for the page cache regardless of the page size. * Enhanced the default memory allocator to make use of _msize() on windows, malloc_size() on Mac, and malloc_usable_size() on Linux. * Enhanced the query planner to support index queries with range constraints on the rowid. * Enhanced the query planner flattening logic to allow UNION ALL compounds to be promoted upwards to replace a simple wrapper SELECT even if the compounds are joins. * Enhanced the query planner so that the xfer optimization can be used with INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is initially empty. * Enhanced the windows VFS so that all system calls can be overridden using the xSetSystemCall interface. * Updated the "unix-dotfile" VFS to use locking directories with mkdir() and rmdir() instead of locking files with open() and unlink(). * Enhancements to the test_quota.c extension to support stdio-like interfaces with quotas. * Change the unix VFS to be tolerant of read() system calls that return less then the full number of requested bytes. * Change both unix and windows VFSes to report a sector size of 4096 instead of the old default of 512. * In the TCL Interface, add the -uri option to the "sqlite3" TCL command used for creating new database connection objects. * Added the SQLITE_TESTCTRL_EXPLAIN_STMT test-control option with the SQLITE_ENABLE_TREE_EXPLAIN compile-time option to enable the command-line shell to display ASCII-art parse trees of SQL statements that it processes, for debugging and analysis. * Bug fix: Add an additional xSync when restarting a WAL in order to prevent an exceedingly unlikely but theoretically possible database corruption following power-loss. * Bug fix: Change the VDBE so that all registers are initialized to Invalid instead of NULL. * Bug fix: Fix problems that can result from 32-bit integer overflow.
2012-01-17 16:53:13 +01:00
share/doc/sqlite3/c3ref/pcache_methods2.html
share/doc/sqlite3/c3ref/pcache_page.html
share/doc/sqlite3/c3ref/prepare.html
Release 3.13.0: Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. Merged the session extension into trunk. Added the ".auth ON|OFF" command to the command-line shell. Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. Added the ".eqp full" option to the command-line shell, that does both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. Improved unicode filename handling in the command-line shell on Windows. Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. Added the sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION) interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. Change the temporary directory search algorithm on Unix to allow directories with write and execute permission, but without read permission, to serve as temporary directories. Apply this same standard to the "." fallback directory. Bug Fixes: ---------- Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none of the indexes reference any table columns other than the INTEGER PRIMARY KEY. Ticket 16c9801ceba49. When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. Fix a locking race condition in Windows that can occur when two or more processes attempt to recover the same hot journal at the same time.
2016-05-21 13:19:30 +02:00
share/doc/sqlite3/c3ref/preupdate_count.html
share/doc/sqlite3/c3ref/profile.html
share/doc/sqlite3/c3ref/progress_handler.html
share/doc/sqlite3/c3ref/randomness.html
share/doc/sqlite3/c3ref/release_memory.html
share/doc/sqlite3/c3ref/reset.html
share/doc/sqlite3/c3ref/reset_auto_extension.html
share/doc/sqlite3/c3ref/result_blob.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/c3ref/result_subtype.html
share/doc/sqlite3/c3ref/set_authorizer.html
share/doc/sqlite3/c3ref/sleep.html
Changes 3.10.0: General improvements: --------------------- Added support for LIKE, GLOB, and REGEXP operators on virtual tables. Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. Added the "--transaction" option to sqldiff. Added the sqlite3_db_cacheflush() interface. Added the sqlite3_strlike() interface. When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) Added the json_group_array() and json_group_object() SQL functions in the json extension. Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. Many small performance optimizations. Portability enhancements: ------------------------- Work around a sign-exension bug in the optimizer of the HP C compiler on HP/UX. (details) Enhancements to the command-line shell: --------------------------------------- Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. Translate between MBCS and UTF8 when running in cmd.exe on Windows. Enhancements to makefiles: -------------------------- Added the --enable-editline and --enable-static-shell options to the various autoconf-generated configure scripts. Omit all use of "awk" in the makefiles, to make building easier for MSVC users. Important fixes: ---------------- Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that contains both large integers and floating point values of similar magnitude. Ticket 38a97a87a6. Fix an infinite-loop in the query planner that could occur on malformed common table expressions. Various bug fixes in the sqldiff tool.
2016-01-08 15:43:10 +01:00
share/doc/sqlite3/c3ref/snapshot.html
Release 3.13.0: Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. Merged the session extension into trunk. Added the ".auth ON|OFF" command to the command-line shell. Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. Added the ".eqp full" option to the command-line shell, that does both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. Improved unicode filename handling in the command-line shell on Windows. Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. Added the sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION) interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. Change the temporary directory search algorithm on Unix to allow directories with write and execute permission, but without read permission, to serve as temporary directories. Apply this same standard to the "." fallback directory. Bug Fixes: ---------- Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none of the indexes reference any table columns other than the INTEGER PRIMARY KEY. Ticket 16c9801ceba49. When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. Fix a locking race condition in Windows that can occur when two or more processes attempt to recover the same hot journal at the same time.
2016-05-21 13:19:30 +02:00
share/doc/sqlite3/c3ref/snapshot_cmp.html
Changes 3.10.0: General improvements: --------------------- Added support for LIKE, GLOB, and REGEXP operators on virtual tables. Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. Added the "--transaction" option to sqldiff. Added the sqlite3_db_cacheflush() interface. Added the sqlite3_strlike() interface. When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) Added the json_group_array() and json_group_object() SQL functions in the json extension. Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. Many small performance optimizations. Portability enhancements: ------------------------- Work around a sign-exension bug in the optimizer of the HP C compiler on HP/UX. (details) Enhancements to the command-line shell: --------------------------------------- Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. Translate between MBCS and UTF8 when running in cmd.exe on Windows. Enhancements to makefiles: -------------------------- Added the --enable-editline and --enable-static-shell options to the various autoconf-generated configure scripts. Omit all use of "awk" in the makefiles, to make building easier for MSVC users. Important fixes: ---------------- Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that contains both large integers and floating point values of similar magnitude. Ticket 38a97a87a6. Fix an infinite-loop in the query planner that could occur on malformed common table expressions. Various bug fixes in the sqldiff tool.
2016-01-08 15:43:10 +01:00
share/doc/sqlite3/c3ref/snapshot_free.html
share/doc/sqlite3/c3ref/snapshot_get.html
share/doc/sqlite3/c3ref/snapshot_open.html
share/doc/sqlite3/c3ref/soft_heap_limit.html
share/doc/sqlite3/c3ref/soft_heap_limit64.html
share/doc/sqlite3/c3ref/sqlite3.html
share/doc/sqlite3/c3ref/status.html
share/doc/sqlite3/c3ref/step.html
share/doc/sqlite3/c3ref/stmt.html
Changes 3.7.10: * The default schema format number is changed from 1 to 4. This means that, unless the PRAGMA legacy_file_format=ON statement is run, newly created database files will be unreadable by version of SQLite prior to 3.3.0 (2006-01-10). It also means that the descending indices are enabled by default. * The sqlite3_pcache_methods structure and the SQLITE_CONFIG_PCACHE and SQLITE_CONFIG_GETPCACHE configuration parameters are deprecated. They are replaced by a new sqlite3_pcache_methods2 structure and SQLITE_CONFIG_PCACHE2 and SQLITE_CONFIG_GETPCACHE2 configuration parameters. * Added the powersafe overwrite property to the VFS interface. Provide the SQLITE_IOCAP_POWERSAFE_OVERWRITE I/O capability, the SQLITE_POWERSAFE_OVERWRITE compile-time option, and the "psow=BOOLEAN" query parameter for URI filenames. * Added the sqlite3_db_release_memory() interface and the shrink_memory pragma. * Added the sqlite3_db_filename() interface. * Added the sqlite3_stmt_busy() interface. * Added the sqlite3_uri_boolean() and sqlite3_uri_int64() interfaces. * If the argument to PRAGMA cache_size is negative N, that means to use approximately -1024*N bytes of memory for the page cache regardless of the page size. * Enhanced the default memory allocator to make use of _msize() on windows, malloc_size() on Mac, and malloc_usable_size() on Linux. * Enhanced the query planner to support index queries with range constraints on the rowid. * Enhanced the query planner flattening logic to allow UNION ALL compounds to be promoted upwards to replace a simple wrapper SELECT even if the compounds are joins. * Enhanced the query planner so that the xfer optimization can be used with INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is initially empty. * Enhanced the windows VFS so that all system calls can be overridden using the xSetSystemCall interface. * Updated the "unix-dotfile" VFS to use locking directories with mkdir() and rmdir() instead of locking files with open() and unlink(). * Enhancements to the test_quota.c extension to support stdio-like interfaces with quotas. * Change the unix VFS to be tolerant of read() system calls that return less then the full number of requested bytes. * Change both unix and windows VFSes to report a sector size of 4096 instead of the old default of 512. * In the TCL Interface, add the -uri option to the "sqlite3" TCL command used for creating new database connection objects. * Added the SQLITE_TESTCTRL_EXPLAIN_STMT test-control option with the SQLITE_ENABLE_TREE_EXPLAIN compile-time option to enable the command-line shell to display ASCII-art parse trees of SQL statements that it processes, for debugging and analysis. * Bug fix: Add an additional xSync when restarting a WAL in order to prevent an exceedingly unlikely but theoretically possible database corruption following power-loss. * Bug fix: Change the VDBE so that all registers are initialized to Invalid instead of NULL. * Bug fix: Fix problems that can result from 32-bit integer overflow.
2012-01-17 16:53:13 +01:00
share/doc/sqlite3/c3ref/stmt_busy.html
share/doc/sqlite3/c3ref/stmt_readonly.html
Changes 3.8.8: New Features: * Added the PRAGMA data_version command that can be used to determine if a database file has been modified by another process. * Added the SQLITE_CHECKPOINT_TRUNCATE option to the sqlite3_wal_checkpoint_v2() interface, with corresponding enhancements to PRAGMA wal_checkpoint. * Added the sqlite3_stmt_scanstatus() interface, available only when compiled with SQLITE_ENABLE_STMT_SCANSTATUS. * The sqlite3_table_column_metadata() is enhanced to work correctly on WITHOUT ROWID tables and to check for the existence of a a table if the column name parameter is NULL. The interface is now also included in the build by default, without requiring the SQLITE_ENABLE_COLUMN_METADATA compile-time option. * Added the SQLITE_ENABLE_API_ARMOR compile-time option. * Added the SQLITE_REVERSE_UNORDERED_SELECTS compile-time option. * Added the SQLITE_SORTER_PMASZ compile-time option and SQLITE_CONFIG_PMASZ start-time option. * Added the SQLITE_CONFIG_PCACHE_HDRSZ option to sqlite3_config() which makes it easier for applications to determine the appropriate amount of memory for use with SQLITE_CONFIG_PAGECACHE. * The number of rows in a VALUES clause is no longer limited by SQLITE_LIMIT_COMPOUND_SELECT. * Added the eval.c loadable extension that implements an eval() SQL function that will recursively evaluate SQL. Performance Enhancements: * Reduce the number of memcpy() operations involved in balancing a b-tree, for 3.2% overall performance boost. * Improvements to cost estimates for the skip-scan optimization. * The automatic indexing optimization is now capable of generating a partial index if that is appropriate. Bug fixes: * Ensure durability following a power loss with "PRAGMA journal_mode=TRUNCATE" by calling fsync() right after truncating the journal file. * The query planner now recognizes that any column in the right-hand table of a LEFT JOIN can be NULL, even if that column has a NOT NULL constraint. Avoid trying to optimize out NULL tests in those cases. * Make sure ORDER BY puts rows in ascending order even if the DISTINCT operator is implemented using a descending index. * Fix data races that might occur under stress when running with many threads in shared cache mode where some of the threads are opening and closing connections. * Fix obscure crash bugs found by american fuzzy lop. * Work around a GCC optimizer bug (for gcc 4.2.1 on MacOS 10.7) that caused the R-Tree extension to compute incorrect results when compiled with -O3. Other changes: * Disable the use of the strchrnul() C-library routine unless it is specifically enabled using the -DHAVE_STRCHRNULL compile-time option. * Improvements to the effectiveness and accuracy of the likelihood(), likely(), and unlikely() SQL hint functions.
2015-01-16 22:01:19 +01:00
share/doc/sqlite3/c3ref/stmt_scanstatus.html
share/doc/sqlite3/c3ref/stmt_scanstatus_reset.html
share/doc/sqlite3/c3ref/stmt_status.html
Changes 3.7.17: Add support for memory-mapped I/O. Add the sqlite3_strglob() convenience interface. Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID. Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL. Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log. Added the SQLITE_TRACE_SIZE_LIMIT compile-time option. Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry. Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time. Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways: If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes. The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically. Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does. Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time. Enhance the fts4aux virtual table so that it can be a TEMP table. Added the fts3tokenize virtual table to the full-text search logic. Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops. Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems. Improved tracing and debugging facilities in the Windows VFS. Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction. Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names. Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result. Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used. Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command. Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output. Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation. Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid. Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN. Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 21:17:15 +02:00
share/doc/sqlite3/c3ref/strglob.html
share/doc/sqlite3/c3ref/stricmp.html
Changes 3.10.0: General improvements: --------------------- Added support for LIKE, GLOB, and REGEXP operators on virtual tables. Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. Added the "--transaction" option to sqldiff. Added the sqlite3_db_cacheflush() interface. Added the sqlite3_strlike() interface. When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) Added the json_group_array() and json_group_object() SQL functions in the json extension. Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. Many small performance optimizations. Portability enhancements: ------------------------- Work around a sign-exension bug in the optimizer of the HP C compiler on HP/UX. (details) Enhancements to the command-line shell: --------------------------------------- Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. Translate between MBCS and UTF8 when running in cmd.exe on Windows. Enhancements to makefiles: -------------------------- Added the --enable-editline and --enable-static-shell options to the various autoconf-generated configure scripts. Omit all use of "awk" in the makefiles, to make building easier for MSVC users. Important fixes: ---------------- Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that contains both large integers and floating point values of similar magnitude. Ticket 38a97a87a6. Fix an infinite-loop in the query planner that could occur on malformed common table expressions. Various bug fixes in the sqldiff tool.
2016-01-08 15:43:10 +01:00
share/doc/sqlite3/c3ref/strlike.html
Release 3.12.0 Potentially Disruptive Change: ------------------------------ The SQLITE_DEFAULT_PAGE_SIZE is increased from 1024 to 4096. The SQLITE_DEFAULT_CACHE_SIZE is changed from 2000 to -2000 so the same amount of cache memory is used by default. See the application note on the version 3.12.0 page size change for further information. Performance enhancements: ------------------------- Enhancements to the Lemon parser generator so that it creates a smaller and faster SQL parser. Only create master journal files if two or more attached databases are all modified, do not have PRAGMA synchronous set to OFF, and do not have the journal_mode set to OFF, MEMORY, or WAL. Only create statement journal files when their size exceeds a threshold. Otherwise the journal is held in memory and no I/O occurs. The threshold can be configured at compile-time using SQLITE_STMTJRNL_SPILL or at start-time using sqlite3_config(SQLITE_CONFIG_STMTJRNL_SPILL). The query planner is able to optimize IN operators on virtual tables even if the xBestIndex method does not set the sqlite3_index_constraint_usage.omit flag of the virtual table column to the left of the IN operator. The query planner now does a better job of optimizing virtual table accesses in a 3-way or higher join where constraints on the virtual table are split across two or more other tables of the join. More efficient handling of application-defined SQL functions, especially in cases where the application defines hundreds or thousands of custom functions. The query planner considers the LIMIT clause when estimating the cost of ORDER BY. The configure script (on unix) automatically detects pread() and pwrite() and sets compile-time options to use those OS interfaces if they are available. Reduce the amount of memory needed to hold the schema. Other miscellaneous micro-optimizations for improved performance and reduced memory usage. New Features: ------------- Added the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to sqlite3_db_config() which allows the two-argument version of the fts3_tokenizer() SQL function to be enabled or disabled at run-time. Added the sqlite3rbu_bp_progress() interface to the RBU extension. The PRAGMA defer_foreign_keys=ON statement now also disables RESTRICT actions on foreign key. Added the sqlite3_system_errno() interface. Added the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS compile-time options. The SQLITE_DEFAULT_SYNCHRONOUS compile-time option replaces the SQLITE_EXTRA_DURABLE option, which is no longer supported. Enhanced the ".stats" command in the command-line shell to show more information about I/O performance obtained from /proc, when available. Bug fixes: ---------- Make sure the sqlite3_set_auxdata() values from multiple triggers within a single statement do not interfere with one another. Fix the code generator for expressions of the form "x IN (SELECT...)" where the SELECT statement on the RHS is a correlated subquery. Fix a harmless TSAN warning associated with the sqlite3_db_readonly() interface.
2016-04-08 09:54:27 +02:00
share/doc/sqlite3/c3ref/system_errno.html
share/doc/sqlite3/c3ref/table_column_metadata.html
share/doc/sqlite3/c3ref/temp_directory.html
share/doc/sqlite3/c3ref/test_control.html
share/doc/sqlite3/c3ref/threadsafe.html
share/doc/sqlite3/c3ref/total_changes.html
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/c3ref/trace_v2.html
share/doc/sqlite3/c3ref/unlock_notify.html
share/doc/sqlite3/c3ref/update_hook.html
Changes 3.7.10: * The default schema format number is changed from 1 to 4. This means that, unless the PRAGMA legacy_file_format=ON statement is run, newly created database files will be unreadable by version of SQLite prior to 3.3.0 (2006-01-10). It also means that the descending indices are enabled by default. * The sqlite3_pcache_methods structure and the SQLITE_CONFIG_PCACHE and SQLITE_CONFIG_GETPCACHE configuration parameters are deprecated. They are replaced by a new sqlite3_pcache_methods2 structure and SQLITE_CONFIG_PCACHE2 and SQLITE_CONFIG_GETPCACHE2 configuration parameters. * Added the powersafe overwrite property to the VFS interface. Provide the SQLITE_IOCAP_POWERSAFE_OVERWRITE I/O capability, the SQLITE_POWERSAFE_OVERWRITE compile-time option, and the "psow=BOOLEAN" query parameter for URI filenames. * Added the sqlite3_db_release_memory() interface and the shrink_memory pragma. * Added the sqlite3_db_filename() interface. * Added the sqlite3_stmt_busy() interface. * Added the sqlite3_uri_boolean() and sqlite3_uri_int64() interfaces. * If the argument to PRAGMA cache_size is negative N, that means to use approximately -1024*N bytes of memory for the page cache regardless of the page size. * Enhanced the default memory allocator to make use of _msize() on windows, malloc_size() on Mac, and malloc_usable_size() on Linux. * Enhanced the query planner to support index queries with range constraints on the rowid. * Enhanced the query planner flattening logic to allow UNION ALL compounds to be promoted upwards to replace a simple wrapper SELECT even if the compounds are joins. * Enhanced the query planner so that the xfer optimization can be used with INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is initially empty. * Enhanced the windows VFS so that all system calls can be overridden using the xSetSystemCall interface. * Updated the "unix-dotfile" VFS to use locking directories with mkdir() and rmdir() instead of locking files with open() and unlink(). * Enhancements to the test_quota.c extension to support stdio-like interfaces with quotas. * Change the unix VFS to be tolerant of read() system calls that return less then the full number of requested bytes. * Change both unix and windows VFSes to report a sector size of 4096 instead of the old default of 512. * In the TCL Interface, add the -uri option to the "sqlite3" TCL command used for creating new database connection objects. * Added the SQLITE_TESTCTRL_EXPLAIN_STMT test-control option with the SQLITE_ENABLE_TREE_EXPLAIN compile-time option to enable the command-line shell to display ASCII-art parse trees of SQL statements that it processes, for debugging and analysis. * Bug fix: Add an additional xSync when restarting a WAL in order to prevent an exceedingly unlikely but theoretically possible database corruption following power-loss. * Bug fix: Change the VDBE so that all registers are initialized to Invalid instead of NULL. * Bug fix: Fix problems that can result from 32-bit integer overflow.
2012-01-17 16:53:13 +01:00
share/doc/sqlite3/c3ref/uri_boolean.html
share/doc/sqlite3/c3ref/user_data.html
share/doc/sqlite3/c3ref/value.html
share/doc/sqlite3/c3ref/value_blob.html
Changes 3.8.11: Added the experimental RBU extension. Note that this extension is experimental and subject to change in incompatible ways. Added the experimental FTS5 extension. Note that this extension is experimental and subject to change in incompatible ways. Added the sqlite3_value_dup() and sqlite3_value_free() interfaces. Enhance the spellfix1 extension to support ON CONFLICT clauses. The IS operator is now able to drive indexes. Enhance the query planner to permit automatic indexing on FROM-clause subqueries that are implemented by co-routine. Disallow the use of "rowid" in common table expressions. Added the PRAGMA cell_size_check command for better and earlier detection of database file corruption. Added the matchinfo 'b' flag to the matchinfo() function in FTS3. Improved fuzz-testing of database files, with fixes for problems found. Add the fuzzcheck test program and automatically run this program using both SQL and database test cases on "make test". Added the SQLITE_MUTEX_STATIC_VFS1 static mutex and use it in the Windows VFS. The sqlite3_profile() callback is invoked (by sqlite3_reset() or sqlite3_finalize()) for statements that did not run to completion. Enhance the page cache so that it can preallocate a block of memory to use for the initial set page cache lines. Set the default preallocation to 100 pages. Yields about a 5% performance increase on common workloads. Miscellaneous micro-optimizations result in 22.3% more work for the same number of CPU cycles relative to the previous release. SQLite now runs twice as fast as version 3.8.0 and three times as fast as version 3.3.9. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 14.04 x64 with gcc 4.8.2 and -Os. Your performance may vary.) Added the sqlite3_result_zeroblob64() and sqlite3_bind_zeroblob64() interfaces.
2015-07-28 09:18:22 +02:00
share/doc/sqlite3/c3ref/value_dup.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/c3ref/value_subtype.html
share/doc/sqlite3/c3ref/vfs.html
share/doc/sqlite3/c3ref/vfs_find.html
share/doc/sqlite3/c3ref/vtab.html
share/doc/sqlite3/c3ref/vtab_config.html
share/doc/sqlite3/c3ref/vtab_cursor.html
share/doc/sqlite3/c3ref/vtab_on_conflict.html
share/doc/sqlite3/c3ref/wal_autocheckpoint.html
share/doc/sqlite3/c3ref/wal_checkpoint.html
2011-04-12 21:03:48 +02:00
share/doc/sqlite3/c3ref/wal_checkpoint_v2.html
share/doc/sqlite3/c3ref/wal_hook.html
share/doc/sqlite3/c_interface.html
share/doc/sqlite3/capi3.html
share/doc/sqlite3/capi3ref.html
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/carray.html
share/doc/sqlite3/changes.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/chronology.html
share/doc/sqlite3/cintro.html
Changes 3.8.5: Added support for partial sorting by index. Enhance the query planner so that it always prefers an index that uses a superset of WHERE clause terms relative to some other index. Improvements to the automerge command of FTS4 to better control the index size for a full-text index that is subject to a large number of updates. Added the sqlite3_rtree_query_callback() interface to R-Tree extension Added new URI query parameters "nolock" and "immutable". Use less memory by not remembering CHECK constraints on read-only database connections. Enable the OR optimization for WITHOUT ROWID tables. Render expressions of the form "x IN (?)" (with a single value in the list on the right-hand side of the IN operator) as if they where "x==?", Similarly optimize "x NOT IN (?)" Add the ".system" and ".once" commands to the command-line shell. Added the SQLITE_IOCAP_IMMUTABLE bit to the set of bits that can be returned by the xDeviceCharacteristics method of a VFS. Added the SQLITE_TESTCTRL_BYTEORDER test control. Bug Fixes: ---------- OFFSET clause ignored on queries without a FROM clause. Assertion fault on queries involving expressions of the form "x IN (?)". Incorrect column datatype reported. Duplicate row returned on a query against a table with more than 16 indices, each on a separate column, and all used via OR-connected constraints. Partial index causes assertion fault on UPDATE OR REPLACE. Crash when calling undocumented SQL function sqlite_rename_parent() with NULL parameters. ORDER BY ignored if the query has an identical GROUP BY. The group_concat(x,'') SQL function returns NULL instead of an empty string when all inputs are empty strings. Fix a bug in the VDBE code generator that caused crashes when doing an INSERT INTO ... SELECT statement where the number of columns being inserted is larger than the number of columns in the destination table. Fix a problem in CSV import in the command-line shell where if the leftmost field of the first row in the CSV file was both zero bytes in size and unquoted no data would be imported. Fix a problem in FTS4 where the left-most column that contained the notindexed column name as a prefix was not indexed rather than the column whose name matched exactly. Fix the sqlite3_db_readonly() interface so that it returns true if the database is read-only due to the file format write version number being too large.
2014-06-05 17:10:20 +02:00
share/doc/sqlite3/cli.html
share/doc/sqlite3/compile.html
share/doc/sqlite3/conflict.html
share/doc/sqlite3/consortium.html
share/doc/sqlite3/consortium_agreement-20071201.html
share/doc/sqlite3/copyright-release.html
share/doc/sqlite3/copyright-release.pdf
share/doc/sqlite3/copyright.html
share/doc/sqlite3/crew.html
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/csv.html
share/doc/sqlite3/custombuild.html
share/doc/sqlite3/cvstrac.css
share/doc/sqlite3/datatype3.html
share/doc/sqlite3/datatypes.html
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/dbhash.html
share/doc/sqlite3/dbstat.html
share/doc/sqlite3/dev.html
share/doc/sqlite3/different.html
share/doc/sqlite3/doc_backlink_crossref.html
share/doc/sqlite3/doc_keyword_crossref.html
share/doc/sqlite3/doc_pagelink_crossref.html
share/doc/sqlite3/doc_target_crossref.html
share/doc/sqlite3/doclist.html
share/doc/sqlite3/docs.html
share/doc/sqlite3/download.html
share/doc/sqlite3/eqp.html
Changes 3.7.17: Add support for memory-mapped I/O. Add the sqlite3_strglob() convenience interface. Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID. Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL. Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log. Added the SQLITE_TRACE_SIZE_LIMIT compile-time option. Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry. Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time. Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways: If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes. The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically. Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does. Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time. Enhance the fts4aux virtual table so that it can be a TEMP table. Added the fts3tokenize virtual table to the full-text search logic. Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops. Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems. Improved tracing and debugging facilities in the Windows VFS. Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction. Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names. Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result. Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used. Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command. Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output. Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation. Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid. Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN. Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 21:17:15 +02:00
share/doc/sqlite3/errlog.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/expridx.html
share/doc/sqlite3/famous.html
share/doc/sqlite3/faq.html
share/doc/sqlite3/favicon.ico
share/doc/sqlite3/features.html
Changes 3.8.5: Added support for partial sorting by index. Enhance the query planner so that it always prefers an index that uses a superset of WHERE clause terms relative to some other index. Improvements to the automerge command of FTS4 to better control the index size for a full-text index that is subject to a large number of updates. Added the sqlite3_rtree_query_callback() interface to R-Tree extension Added new URI query parameters "nolock" and "immutable". Use less memory by not remembering CHECK constraints on read-only database connections. Enable the OR optimization for WITHOUT ROWID tables. Render expressions of the form "x IN (?)" (with a single value in the list on the right-hand side of the IN operator) as if they where "x==?", Similarly optimize "x NOT IN (?)" Add the ".system" and ".once" commands to the command-line shell. Added the SQLITE_IOCAP_IMMUTABLE bit to the set of bits that can be returned by the xDeviceCharacteristics method of a VFS. Added the SQLITE_TESTCTRL_BYTEORDER test control. Bug Fixes: ---------- OFFSET clause ignored on queries without a FROM clause. Assertion fault on queries involving expressions of the form "x IN (?)". Incorrect column datatype reported. Duplicate row returned on a query against a table with more than 16 indices, each on a separate column, and all used via OR-connected constraints. Partial index causes assertion fault on UPDATE OR REPLACE. Crash when calling undocumented SQL function sqlite_rename_parent() with NULL parameters. ORDER BY ignored if the query has an identical GROUP BY. The group_concat(x,'') SQL function returns NULL instead of an empty string when all inputs are empty strings. Fix a bug in the VDBE code generator that caused crashes when doing an INSERT INTO ... SELECT statement where the number of columns being inserted is larger than the number of columns in the destination table. Fix a problem in CSV import in the command-line shell where if the leftmost field of the first row in the CSV file was both zero bytes in size and unquoted no data would be imported. Fix a problem in FTS4 where the left-most column that contained the notindexed column name as a prefix was not indexed rather than the column whose name matched exactly. Fix the sqlite3_db_readonly() interface so that it returns true if the database is read-only due to the file format write version number being too large.
2014-06-05 17:10:20 +02:00
share/doc/sqlite3/fileformat.html
share/doc/sqlite3/fileformat2.html
share/doc/sqlite3/fileio.html
share/doc/sqlite3/footprint.html
share/doc/sqlite3/foreignkeys.html
share/doc/sqlite3/formatchng.html
share/doc/sqlite3/fts3.html
share/doc/sqlite3/fts5.html
share/doc/sqlite3/getthecode.html
share/doc/sqlite3/howtocompile.html
share/doc/sqlite3/howtocorrupt.html
Changes 3.8.0.1: Add support for partial indexes Cut-over to the next generation query planner for faster and better query plans. The EXPLAIN QUERY PLAN output no longer shows an estimate of the number of rows generated by each loop in a join. Added the FTS4 notindexed option, allowing non-indexed columns in an FTS4 table. Added the SQLITE_STMTSTATUS_VM_STEP option to sqlite3_stmt_status(). Added the cache_spill pragma. Added the query_only pragma. Added the defer_foreign_keys pragma and the sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS,...) C-language interface. Added the "percentile()" function as a loadable extension in the ext/misc subdirectory of the source tree. Added the SQLITE_ALLOW_URI_AUTHORITY compile-time option. Add the sqlite3_cancel_auto_extension(X) interface. A running SELECT statement that lacks a FROM clause (or any other statement that never reads or writes from any database file) will not prevent a read transaction from closing. Add the SQLITE_DEFAULT_AUTOMATIC_INDEX compile-time option. Setting this option to 0 disables automatic indices by default. Issue an SQLITE_WARNING_AUTOINDEX warning on the SQLITE_CONFIG_LOG whenever the query planner uses an automatic index. Added the SQLITE_FTS3_MAX_EXPR_DEPTH compile-time option. Added an optional 5th parameter defining the collating sequence to the next_char() extension SQL function. The SQLITE_BUSY_SNAPSHOT extended error code is returned in WAL mode when a read transaction cannot be upgraded to a write transaction because the read is on an older snapshot. Enhancements to the sqlite3_analyzer utility program to provide size information separately for each individual index of a table, in addition to the aggregate size. Allow read transactions to be freely opened and closed by SQL statements run from within the implementation of application-defined SQL functions if the function is called by a SELECT statement that does not access any database table. Disable the use of posix_fallocate() on all (unix) systems unless the HAVE_POSIX_FALLOCATE compile-time option is used. Update the ".import" command in the command-line shell to support multi-line fields and correct RFC-4180 quoting and to issue warning and/or error messages if the input text is not strictly RFC-4180 compliant. Bug fix: In the unicode61 tokenizer of FTS4, treat all private code points as identifier symbols. Bug fix: Bare identifiers in ORDER BY clauses bind more tightly to output column names, but identifiers in expressions bind more tightly to input column names. Identifiers in GROUP BY clauses always prefer output column names, however. Bug fixes: Multiple problems in the legacy query optimizer were fixed by the move to NGQP.
2013-08-31 13:07:33 +02:00
share/doc/sqlite3/hp1.html
share/doc/sqlite3/images/2005osaward.gif
share/doc/sqlite3/images/SQLite.gif
share/doc/sqlite3/images/SQLite_big.gif
share/doc/sqlite3/images/ac/commit-0.gif
share/doc/sqlite3/images/ac/commit-1.gif
share/doc/sqlite3/images/ac/commit-2.gif
share/doc/sqlite3/images/ac/commit-3.gif
share/doc/sqlite3/images/ac/commit-4.gif
share/doc/sqlite3/images/ac/commit-5.gif
share/doc/sqlite3/images/ac/commit-6.gif
share/doc/sqlite3/images/ac/commit-7.gif
share/doc/sqlite3/images/ac/commit-8.gif
share/doc/sqlite3/images/ac/commit-9.gif
share/doc/sqlite3/images/ac/commit-A.gif
share/doc/sqlite3/images/ac/commit-B.gif
share/doc/sqlite3/images/ac/multi-0.gif
share/doc/sqlite3/images/ac/multi-1.gif
share/doc/sqlite3/images/ac/multi-2.gif
share/doc/sqlite3/images/ac/multi-3.gif
share/doc/sqlite3/images/ac/multi-4.gif
share/doc/sqlite3/images/ac/multi-5.gif
share/doc/sqlite3/images/ac/rollback-0.gif
share/doc/sqlite3/images/ac/rollback-1.gif
share/doc/sqlite3/images/ac/rollback-2.gif
share/doc/sqlite3/images/ac/rollback-3.gif
share/doc/sqlite3/images/ac/rollback-4.gif
share/doc/sqlite3/images/ac/rollback-5.gif
Changes 3.7.15: * Added the sqlite3_errstr() interface. * Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors. * Added support for Windows Phone 8 platforms * Enhance IN operator processing to make use of indices with numeric affinities. * Do full-table scans using covering indices when possible, under the theory that an index will be smaller and hence can be scanned with less I/O. * Enhance the query optimizer so that ORDER BY clauses are more aggressively optimized, especially in joins where various terms of the ORDER BY clause come from separate tables of the join. * Add the ability to implement FROM clause subqueries as coroutines rather that manifesting the subquery into a temporary table. * Enhancements the command-line shell: * Added the ".print" command * Negative numbers in the ".width" command cause right-alignment * Add the ".wheretrace" command when compiled with SQLITE_DEBUG * Added the busy_timeout pragma. * Added the instr() SQL function. * Added the SQLITE_FCNTL_BUSYHANDLER file control, used to allow VFS implementations to get access to the busy handler callback. * The xDelete method in the built-in VFSes now return SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist. * Enhanced support for QNX. * Work around an optimizer bug in the MSVC compiler when targeting ARM. * Bug fix: Avoid various concurrency problems in shared cache mode. * Bug fix: Avoid a deadlock or crash if the backup API, shared cache, and the SQLite Encryption Extension are all used at once. * Bug fix: SQL functions created using the TCL interface honor the "nullvalue" setting. * Bug fix: Fix a 32-bit overflow problem on CREATE INDEX for databases larger than 16GB. * Bug fix: Avoid segfault when using the COLLATE operator inside of a CHECK constraint or view in shared cache mode.
2012-12-15 19:42:33 +01:00
share/doc/sqlite3/images/apple-touch-icon.png
share/doc/sqlite3/images/arch.gif
share/doc/sqlite3/images/arch.png
share/doc/sqlite3/images/arch2.gif
Changes 3.8.7: Performance Enhancements: * Many micro-optimizations result in 20.3% more work for the same number of CPU cycles relative to the previous release. The cumulative performance increase since version 3.8.0 is 61%. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 13.10 x64 with gcc 4.8.1 and -Os. Your performance may vary.) * The sorter can use auxiliary helper threads to increase real-time response. This feature is off by default and may be enabled using the PRAGMA threads command or the SQLITE_DEFAULT_WORKER_THREADS compile-time option. * Enhance the skip-scan optimization so that it is able to skip index terms that occur in the middle of the index, not just as the left-hand side of the index. * Improved optimization of CAST operators. * Various improvements in how the query planner uses sqlite_stat4 information to estimate plan costs. New Features: * Added new interfaces with 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_result_blob64(), sqlite3_bind_text64(), and sqlite3_result_text64(). * Added the new interface sqlite3_msize() that returns the size of a memory allocation obtained from sqlite3_malloc64() and its variants. * Added the SQLITE_LIMIT_WORKER_THREADS option to sqlite3_limit() and PRAGMA threads command for configuring the number of available worker threads. * The spellfix1 extension allows the application to optionally specify the rowid for each INSERT. * Added the User Authentication extension. Bug Fixes: * Fix a bug in the partial index implementation that might result in an incorrect answer if a partial index is used in a subquery or in a view. * Fix a query planner bug that might cause a table to be scanned in the wrong direction (thus reversing the order of output) when a DESC index is used to implement the ORDER BY clause on a query that has an identical GROUP BY clause. * Fix a bug in sqlite3_trace() that was causing it to sometimes fail to print an SQL statement if that statement needed to be re-prepared. * Fix a faulty assert() statement.
2014-10-19 22:37:47 +02:00
share/doc/sqlite3/images/books/aditya.jpg
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/images/books/darocha2016.jpg
Changes 3.8.6: Added support for hexadecimal integer literals in the SQL parser. (Ex: 0x123abc) Enhanced the PRAGMA integrity_check command to detect UNIQUE and NOT NULL constraint violations. Increase the maximum value of SQLITE_MAX_ATTACHED from 62 to 125. Increase the timeout in WAL mode before issuing an SQLITE_PROTOCOL error from 1 second to 10 seconds. Added the likely(X) SQL function. The unicode61 tokenizer is now included in FTS4 by default. Trigger automatic reprepares on all prepared statements when ANALYZE is run. Added a new loadable extension source code file to the source tree: fileio.c Add extension functions readfile(X) and writefile(X,Y) (using code copy/pasted from fileio.c in the previous bullet) to the command-line shell. Added the .fullschema dot-command to the command-line shell. Performance Enhancements: ------------------------- Deactivate the DISTINCT keyword on subqueries on the right-hand side of the IN operator. Add the capability of evaluating an IN operator as a sequence of comparisons as an alternative to using a table lookup. Use the sequence of comparisons implementation in circumstances where it is likely to be faster, such as when the right-hand side of the IN operator is small and/or changes frequently. The query planner now uses sqlite_stat4 information (created by ANALYZE) to help determine if the skip-scan optimization is appropriate. Ensure that the query planner never tries to use a self-made transient index in place of a schema-defined index. Other minor tweaks to improve the quality of VDBE code. Bug Fixes: ---------- Fix a bug in CREATE UNIQUE INDEX, introduced when WITHOUT ROWID support added in version 3.8.2, that allows a non-unique NOT NULL column to be given a UNIQUE index. Fix a bug in R-Tree extension, introduced in the previous release, that can cause an incorrect results for queries that use the rowid of the R-Tree on the left-hand side of an IN operator. Fix the sqlite3_stmt_busy() interface so that it gives the correct answer for ROLLBACK statements that have been stepped but never reset. Fix a bug in that would cause a null pointer to be dereferenced if a column with a DEFAULT that is an aggregate function tried to usee its DEFAULT. CSV output from the command-line shell now always uses CRNL for the row separator and avoids inserting CR in front of NLs contained in data. Fix a column affinity problem with the IN operator. Fix the ANALYZE command so that it adds correct samples for WITHOUT ROWID tables in the sqlite_stat4 table.
2014-08-17 10:16:06 +02:00
share/doc/sqlite3/images/books/das.jpg
share/doc/sqlite3/images/books/droessler.jpg
share/doc/sqlite3/images/books/haldar.gif
Changes 3.8.11: Added the experimental RBU extension. Note that this extension is experimental and subject to change in incompatible ways. Added the experimental FTS5 extension. Note that this extension is experimental and subject to change in incompatible ways. Added the sqlite3_value_dup() and sqlite3_value_free() interfaces. Enhance the spellfix1 extension to support ON CONFLICT clauses. The IS operator is now able to drive indexes. Enhance the query planner to permit automatic indexing on FROM-clause subqueries that are implemented by co-routine. Disallow the use of "rowid" in common table expressions. Added the PRAGMA cell_size_check command for better and earlier detection of database file corruption. Added the matchinfo 'b' flag to the matchinfo() function in FTS3. Improved fuzz-testing of database files, with fixes for problems found. Add the fuzzcheck test program and automatically run this program using both SQL and database test cases on "make test". Added the SQLITE_MUTEX_STATIC_VFS1 static mutex and use it in the Windows VFS. The sqlite3_profile() callback is invoked (by sqlite3_reset() or sqlite3_finalize()) for statements that did not run to completion. Enhance the page cache so that it can preallocate a block of memory to use for the initial set page cache lines. Set the default preallocation to 100 pages. Yields about a 5% performance increase on common workloads. Miscellaneous micro-optimizations result in 22.3% more work for the same number of CPU cycles relative to the previous release. SQLite now runs twice as fast as version 3.8.0 and three times as fast as version 3.3.9. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 14.04 x64 with gcc 4.8.2 and -Os. Your performance may vary.) Added the sqlite3_result_zeroblob64() and sqlite3_bind_zeroblob64() interfaces.
2015-07-28 09:18:22 +02:00
share/doc/sqlite3/images/books/haldar2.jpg
share/doc/sqlite3/images/books/kreibich.gif
share/doc/sqlite3/images/books/newman.jpg
share/doc/sqlite3/images/books/nishizawa2.jpg
share/doc/sqlite3/images/books/owens.jpg
share/doc/sqlite3/images/books/symbiansql.jpg
share/doc/sqlite3/images/books/vanderLans.jpg
share/doc/sqlite3/images/btreemodule_balance_deeper.svg
share/doc/sqlite3/images/btreemodule_balance_quick.svg
share/doc/sqlite3/images/btreemodule_balance_shallower.svg
share/doc/sqlite3/images/btreemodule_delete1.svg
share/doc/sqlite3/images/btreemodule_overview.svg
share/doc/sqlite3/images/chw.jpg
share/doc/sqlite3/images/dan1.jpg
share/doc/sqlite3/images/direct1b.gif
share/doc/sqlite3/images/drh1.jpg
share/doc/sqlite3/images/fileformat/db_connection.gif
share/doc/sqlite3/images/fileformat/examplepop.gif
share/doc/sqlite3/images/fileformat/fileio_diagrams.odg
share/doc/sqlite3/images/fileformat/filesystem1.gif
share/doc/sqlite3/images/fileformat/filesystem2.gif
share/doc/sqlite3/images/fileformat/freelistpage.gif
share/doc/sqlite3/images/fileformat/indexlongrecord.gif
share/doc/sqlite3/images/fileformat/indexpage.gif
share/doc/sqlite3/images/fileformat/indexpage.odg
share/doc/sqlite3/images/fileformat/indexshortrecord.gif
share/doc/sqlite3/images/fileformat/indextree.gif
share/doc/sqlite3/images/fileformat/journal_format.gif
share/doc/sqlite3/images/fileformat/journal_header.gif
share/doc/sqlite3/images/fileformat/journal_record.gif
share/doc/sqlite3/images/fileformat/master_journal_ptr.gif
share/doc/sqlite3/images/fileformat/overflowpage.gif
share/doc/sqlite3/images/fileformat/pointermapentry.gif
share/doc/sqlite3/images/fileformat/recordformat.gif
share/doc/sqlite3/images/fileformat/rtdocs.css
share/doc/sqlite3/images/fileformat/rtdocs.js
share/doc/sqlite3/images/fileformat/tablelongrecord.gif
share/doc/sqlite3/images/fileformat/tablenodecell.gif
share/doc/sqlite3/images/fileformat/tableshortrecord.gif
share/doc/sqlite3/images/fileformat/tabletree.gif
share/doc/sqlite3/images/fileformat/vfs_role.gif
share/doc/sqlite3/images/fileformat/write_transaction.gif
share/doc/sqlite3/images/foreignlogos/adobe-logo.gif
share/doc/sqlite3/images/foreignlogos/adobe.gif
share/doc/sqlite3/images/foreignlogos/airbus1.gif
share/doc/sqlite3/images/foreignlogos/airbus2.gif
share/doc/sqlite3/images/foreignlogos/apple.gif
share/doc/sqlite3/images/foreignlogos/bentley.gif
share/doc/sqlite3/images/foreignlogos/bentley.jpg
share/doc/sqlite3/images/foreignlogos/bloomberg.gif
share/doc/sqlite3/images/foreignlogos/bosch_logo1.gif
share/doc/sqlite3/images/foreignlogos/dropbox.gif
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/images/foreignlogos/expensify.png
Changes 3.10.0: General improvements: --------------------- Added support for LIKE, GLOB, and REGEXP operators on virtual tables. Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. Added the "--transaction" option to sqldiff. Added the sqlite3_db_cacheflush() interface. Added the sqlite3_strlike() interface. When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) Added the json_group_array() and json_group_object() SQL functions in the json extension. Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. Many small performance optimizations. Portability enhancements: ------------------------- Work around a sign-exension bug in the optimizer of the HP C compiler on HP/UX. (details) Enhancements to the command-line shell: --------------------------------------- Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. Translate between MBCS and UTF8 when running in cmd.exe on Windows. Enhancements to makefiles: -------------------------- Added the --enable-editline and --enable-static-shell options to the various autoconf-generated configure scripts. Omit all use of "awk" in the makefiles, to make building easier for MSVC users. Important fixes: ---------------- Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that contains both large integers and floating point values of similar magnitude. Ticket 38a97a87a6. Fix an infinite-loop in the query planner that could occur on malformed common table expressions. Various bug fixes in the sqldiff tool.
2016-01-08 15:43:10 +01:00
share/doc/sqlite3/images/foreignlogos/fb.gif
share/doc/sqlite3/images/foreignlogos/firefox.gif
share/doc/sqlite3/images/foreignlogos/flame.gif
share/doc/sqlite3/images/foreignlogos/ge.gif
share/doc/sqlite3/images/foreignlogos/google.gif
2011-04-12 21:03:48 +02:00
share/doc/sqlite3/images/foreignlogos/intuit.gif
share/doc/sqlite3/images/foreignlogos/mcaffee.gif
share/doc/sqlite3/images/foreignlogos/microsoft.gif
share/doc/sqlite3/images/foreignlogos/monotone.gif
share/doc/sqlite3/images/foreignlogos/mozilla.gif
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/images/foreignlogos/nds.png
2011-04-12 21:03:48 +02:00
share/doc/sqlite3/images/foreignlogos/nokia.gif
share/doc/sqlite3/images/foreignlogos/oracle.gif
share/doc/sqlite3/images/foreignlogos/philips.gif
share/doc/sqlite3/images/foreignlogos/php.gif
share/doc/sqlite3/images/foreignlogos/python.gif
share/doc/sqlite3/images/foreignlogos/realbasic.gif
Changes 3.10.0: General improvements: --------------------- Added support for LIKE, GLOB, and REGEXP operators on virtual tables. Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. Added the "--transaction" option to sqldiff. Added the sqlite3_db_cacheflush() interface. Added the sqlite3_strlike() interface. When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) Added the json_group_array() and json_group_object() SQL functions in the json extension. Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. Many small performance optimizations. Portability enhancements: ------------------------- Work around a sign-exension bug in the optimizer of the HP C compiler on HP/UX. (details) Enhancements to the command-line shell: --------------------------------------- Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. Translate between MBCS and UTF8 when running in cmd.exe on Windows. Enhancements to makefiles: -------------------------- Added the --enable-editline and --enable-static-shell options to the various autoconf-generated configure scripts. Omit all use of "awk" in the makefiles, to make building easier for MSVC users. Important fixes: ---------------- Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that contains both large integers and floating point values of similar magnitude. Ticket 38a97a87a6. Fix an infinite-loop in the query planner that could occur on malformed common table expressions. Various bug fixes in the sqldiff tool.
2016-01-08 15:43:10 +01:00
share/doc/sqlite3/images/foreignlogos/rpm_logo.png
share/doc/sqlite3/images/foreignlogos/skype.gif
share/doc/sqlite3/images/foreignlogos/sony.gif
share/doc/sqlite3/images/foreignlogos/sunmicro.gif
share/doc/sqlite3/images/foreignlogos/symbian.gif
share/doc/sqlite3/images/foreignlogos/tcl.gif
share/doc/sqlite3/images/foreignlogos/toshiba.gif
share/doc/sqlite3/images/fts3_doclist.png
share/doc/sqlite3/images/fts3_doclist.svg
share/doc/sqlite3/images/fts3_doclist2.png
share/doc/sqlite3/images/fts3_doclist2.svg
share/doc/sqlite3/images/fts3_interior_node.png
share/doc/sqlite3/images/fts3_interior_node.svg
share/doc/sqlite3/images/fts3_leaf_node.png
share/doc/sqlite3/images/fts3_leaf_node.svg
share/doc/sqlite3/images/fts5_formula.odf
share/doc/sqlite3/images/fts5_formula1.png
share/doc/sqlite3/images/fts5_formula2.png
share/doc/sqlite3/images/fts5_formula3.png
share/doc/sqlite3/images/fullscanb.gif
share/doc/sqlite3/images/harmony.gif
share/doc/sqlite3/images/index-ex1-x-b.gif
share/doc/sqlite3/images/indirect1b1.gif
share/doc/sqlite3/images/joe1.jpg
share/doc/sqlite3/images/ne.gif
share/doc/sqlite3/images/ne.png
share/doc/sqlite3/images/nocopy.gif
share/doc/sqlite3/images/nw.gif
share/doc/sqlite3/images/nw.png
share/doc/sqlite3/images/powered_by_sqlite.gif
share/doc/sqlite3/images/private_branch.gif
Changes 3.8.0.1: Add support for partial indexes Cut-over to the next generation query planner for faster and better query plans. The EXPLAIN QUERY PLAN output no longer shows an estimate of the number of rows generated by each loop in a join. Added the FTS4 notindexed option, allowing non-indexed columns in an FTS4 table. Added the SQLITE_STMTSTATUS_VM_STEP option to sqlite3_stmt_status(). Added the cache_spill pragma. Added the query_only pragma. Added the defer_foreign_keys pragma and the sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS,...) C-language interface. Added the "percentile()" function as a loadable extension in the ext/misc subdirectory of the source tree. Added the SQLITE_ALLOW_URI_AUTHORITY compile-time option. Add the sqlite3_cancel_auto_extension(X) interface. A running SELECT statement that lacks a FROM clause (or any other statement that never reads or writes from any database file) will not prevent a read transaction from closing. Add the SQLITE_DEFAULT_AUTOMATIC_INDEX compile-time option. Setting this option to 0 disables automatic indices by default. Issue an SQLITE_WARNING_AUTOINDEX warning on the SQLITE_CONFIG_LOG whenever the query planner uses an automatic index. Added the SQLITE_FTS3_MAX_EXPR_DEPTH compile-time option. Added an optional 5th parameter defining the collating sequence to the next_char() extension SQL function. The SQLITE_BUSY_SNAPSHOT extended error code is returned in WAL mode when a read transaction cannot be upgraded to a write transaction because the read is on an older snapshot. Enhancements to the sqlite3_analyzer utility program to provide size information separately for each individual index of a table, in addition to the aggregate size. Allow read transactions to be freely opened and closed by SQL statements run from within the implementation of application-defined SQL functions if the function is called by a SELECT statement that does not access any database table. Disable the use of posix_fallocate() on all (unix) systems unless the HAVE_POSIX_FALLOCATE compile-time option is used. Update the ".import" command in the command-line shell to support multi-line fields and correct RFC-4180 quoting and to issue warning and/or error messages if the input text is not strictly RFC-4180 compliant. Bug fix: In the unicode61 tokenizer of FTS4, treat all private code points as identifier symbols. Bug fix: Bare identifiers in ORDER BY clauses bind more tightly to output column names, but identifiers in expressions bind more tightly to input column names. Identifiers in GROUP BY clauses always prefer output column names, however. Bug fixes: Multiple problems in the legacy query optimizer were fixed by the move to NGQP.
2013-08-31 13:07:33 +02:00
share/doc/sqlite3/images/qp/fqp1.gif
share/doc/sqlite3/images/qp/fruitobstate.gif
share/doc/sqlite3/images/qp/fruitobstate0.gif
share/doc/sqlite3/images/qp/fullscan.gif
share/doc/sqlite3/images/qp/idx1.gif
share/doc/sqlite3/images/qp/idx1lu1.gif
share/doc/sqlite3/images/qp/idx1lu2.gif
share/doc/sqlite3/images/qp/idx1lu3.gif
share/doc/sqlite3/images/qp/idx2.gif
share/doc/sqlite3/images/qp/idx2lu1.gif
share/doc/sqlite3/images/qp/idx3.gif
share/doc/sqlite3/images/qp/idx3lu1.gif
share/doc/sqlite3/images/qp/idx3lu2.gif
share/doc/sqlite3/images/qp/idx4.gif
share/doc/sqlite3/images/qp/idx4lu1.gif
share/doc/sqlite3/images/qp/obfruitidx1.gif
share/doc/sqlite3/images/qp/obfruitidx4.gif
share/doc/sqlite3/images/qp/obfruitnoidx.gif
share/doc/sqlite3/images/qp/obrowid.gif
share/doc/sqlite3/images/qp/orquery.gif
Changes 3.8.5: Added support for partial sorting by index. Enhance the query planner so that it always prefers an index that uses a superset of WHERE clause terms relative to some other index. Improvements to the automerge command of FTS4 to better control the index size for a full-text index that is subject to a large number of updates. Added the sqlite3_rtree_query_callback() interface to R-Tree extension Added new URI query parameters "nolock" and "immutable". Use less memory by not remembering CHECK constraints on read-only database connections. Enable the OR optimization for WITHOUT ROWID tables. Render expressions of the form "x IN (?)" (with a single value in the list on the right-hand side of the IN operator) as if they where "x==?", Similarly optimize "x NOT IN (?)" Add the ".system" and ".once" commands to the command-line shell. Added the SQLITE_IOCAP_IMMUTABLE bit to the set of bits that can be returned by the xDeviceCharacteristics method of a VFS. Added the SQLITE_TESTCTRL_BYTEORDER test control. Bug Fixes: ---------- OFFSET clause ignored on queries without a FROM clause. Assertion fault on queries involving expressions of the form "x IN (?)". Incorrect column datatype reported. Duplicate row returned on a query against a table with more than 16 indices, each on a separate column, and all used via OR-connected constraints. Partial index causes assertion fault on UPDATE OR REPLACE. Crash when calling undocumented SQL function sqlite_rename_parent() with NULL parameters. ORDER BY ignored if the query has an identical GROUP BY. The group_concat(x,'') SQL function returns NULL instead of an empty string when all inputs are empty strings. Fix a bug in the VDBE code generator that caused crashes when doing an INSERT INTO ... SELECT statement where the number of columns being inserted is larger than the number of columns in the destination table. Fix a problem in CSV import in the command-line shell where if the leftmost field of the first row in the CSV file was both zero bytes in size and unquoted no data would be imported. Fix a problem in FTS4 where the left-most column that contained the notindexed column name as a prefix was not indexed rather than the column whose name matched exactly. Fix the sqlite3_db_readonly() interface so that it returns true if the database is read-only due to the file format write version number being too large.
2014-06-05 17:10:20 +02:00
share/doc/sqlite3/images/qp/partial-sort.gif
share/doc/sqlite3/images/qp/rowidlu.gif
share/doc/sqlite3/images/qp/tab.gif
Changes 3.7.17: Add support for memory-mapped I/O. Add the sqlite3_strglob() convenience interface. Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID. Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL. Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log. Added the SQLITE_TRACE_SIZE_LIMIT compile-time option. Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry. Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time. Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways: If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes. The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically. Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does. Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time. Enhance the fts4aux virtual table so that it can be a TEMP table. Added the fts3tokenize virtual table to the full-text search logic. Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops. Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems. Improved tracing and debugging facilities in the Windows VFS. Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction. Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names. Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result. Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used. Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command. Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output. Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation. Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid. Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN. Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 21:17:15 +02:00
share/doc/sqlite3/images/qp/tpchq8.gif
share/doc/sqlite3/images/se.gif
share/doc/sqlite3/images/se.png
share/doc/sqlite3/images/shane1.jpg
share/doc/sqlite3/images/shared.gif
share/doc/sqlite3/images/sqlite370.jpg
share/doc/sqlite3/images/sqlite370_banner.gif
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/images/sqlitepie.jpg
share/doc/sqlite3/images/src_logo.gif
share/doc/sqlite3/images/sw.gif
share/doc/sqlite3/images/sw.png
share/doc/sqlite3/images/syntax/alter-table-stmt.gif
share/doc/sqlite3/images/syntax/analyze-stmt.gif
share/doc/sqlite3/images/syntax/attach-stmt.gif
share/doc/sqlite3/images/syntax/begin-stmt.gif
share/doc/sqlite3/images/syntax/column-constraint.gif
share/doc/sqlite3/images/syntax/column-def.gif
share/doc/sqlite3/images/syntax/comment-syntax.gif
share/doc/sqlite3/images/syntax/commit-stmt.gif
share/doc/sqlite3/images/syntax/common-table-expression.gif
share/doc/sqlite3/images/syntax/compound-operator.gif
share/doc/sqlite3/images/syntax/compound-select-stmt.gif
share/doc/sqlite3/images/syntax/conflict-clause.gif
share/doc/sqlite3/images/syntax/create-index-stmt.gif
share/doc/sqlite3/images/syntax/create-table-stmt.gif
share/doc/sqlite3/images/syntax/create-trigger-stmt.gif
share/doc/sqlite3/images/syntax/create-view-stmt.gif
share/doc/sqlite3/images/syntax/create-virtual-table-stmt.gif
share/doc/sqlite3/images/syntax/cte-table-name.gif
share/doc/sqlite3/images/syntax/delete-stmt-limited.gif
share/doc/sqlite3/images/syntax/delete-stmt.gif
share/doc/sqlite3/images/syntax/detach-stmt.gif
share/doc/sqlite3/images/syntax/drop-index-stmt.gif
share/doc/sqlite3/images/syntax/drop-table-stmt.gif
share/doc/sqlite3/images/syntax/drop-trigger-stmt.gif
share/doc/sqlite3/images/syntax/drop-view-stmt.gif
share/doc/sqlite3/images/syntax/expr.gif
share/doc/sqlite3/images/syntax/factored-select-stmt.gif
share/doc/sqlite3/images/syntax/foreign-key-clause.gif
share/doc/sqlite3/images/syntax/indexed-column.gif
share/doc/sqlite3/images/syntax/insert-stmt.gif
share/doc/sqlite3/images/syntax/join-clause.gif
share/doc/sqlite3/images/syntax/join-constraint.gif
share/doc/sqlite3/images/syntax/join-operator.gif
share/doc/sqlite3/images/syntax/literal-value.gif
share/doc/sqlite3/images/syntax/numeric-literal.gif
share/doc/sqlite3/images/syntax/ordering-term.gif
share/doc/sqlite3/images/syntax/pragma-stmt.gif
share/doc/sqlite3/images/syntax/pragma-value.gif
share/doc/sqlite3/images/syntax/qualified-table-name.gif
share/doc/sqlite3/images/syntax/raise-function.gif
share/doc/sqlite3/images/syntax/recursive-cte.gif
share/doc/sqlite3/images/syntax/reindex-stmt.gif
share/doc/sqlite3/images/syntax/release-stmt.gif
share/doc/sqlite3/images/syntax/result-column.gif
share/doc/sqlite3/images/syntax/rollback-stmt.gif
share/doc/sqlite3/images/syntax/savepoint-stmt.gif
share/doc/sqlite3/images/syntax/select-core.gif
share/doc/sqlite3/images/syntax/select-stmt.gif
share/doc/sqlite3/images/syntax/signed-number.gif
share/doc/sqlite3/images/syntax/simple-select-stmt.gif
share/doc/sqlite3/images/syntax/sql-stmt-list.gif
share/doc/sqlite3/images/syntax/sql-stmt.gif
share/doc/sqlite3/images/syntax/table-constraint.gif
share/doc/sqlite3/images/syntax/table-or-subquery.gif
share/doc/sqlite3/images/syntax/type-name.gif
share/doc/sqlite3/images/syntax/update-stmt-limited.gif
share/doc/sqlite3/images/syntax/update-stmt.gif
share/doc/sqlite3/images/syntax/vacuum-stmt.gif
share/doc/sqlite3/images/syntax/with-clause.gif
share/doc/sqlite3/images/table-ex1b2.gif
share/doc/sqlite3/images/vfs1.gif
share/doc/sqlite3/index.html
share/doc/sqlite3/inmemorydb.html
Changes 3.7.9: * If a search token (on the right-hand side of the MATCH operator) in FTS4 begins with "^" then that token must be the first in its field of the document. ** Potentially Incompatible Change ** * Added options SQLITE_DBSTATUS_CACHE_HIT and SQLITE_DBSTATUS_CACHE_MISS to the sqlite3_db_status() interface. * Removed support for SQLITE_ENABLE_STAT2, replacing it with the much more capable SQLITE_ENABLE_STAT3 option. * Enhancements to the sqlite3_analyzer utility program, including the --pageinfo and --stats options and support for multiplexed databases. * Enhance the sqlite3_data_count() interface so that it can be used to determine if SQLITE_DONE has been seen on the prepared statement. * Added the SQLITE_FCNTL_OVERWRITE file-control by which the SQLite core indicates to the VFS that the current transaction will overwrite the entire database file. * Increase the default lookaside memory allocator allocation size from 100 to 128 bytes. * Enhanced the query planner so that it can factor terms in and out of OR expressions in the WHERE clause in an effort to find better indices. * Added the SQLITE_DIRECT_OVERFLOW_READ compile-time option, causing overflow pages to be read directly from the database file, bypassing the page cache. * Remove limits on the magnitude of precision and width value in the format specifiers of the sqlite3_mprintf() family of string rendering routines. * Fix a bug that prevent ALTER TABLE ... RENAME from working on some virtual tables in a database with a UTF16 encoding. * Fix a bug in ASCII-to-float conversion that causes slow performance and incorrect results when converting numbers with ridiculously large exponents. * Fix a bug that causes incorrect results in aggregate queries that use multiple aggregate functions whose arguments contain complicated expressions that differ only in the case of string literals contained within those expressions. * Fix a bug that prevented the page_count and quick_check pragmas from working correctly if their names were capitalized. * Fix a bug that caused VACUUM to fail if the count_changes pragma was engaged. * Fix a bug in virtual table implementation that causes a crash if an FTS4 table is dropped inside a transaction and a SAVEPOINT occurs afterwards.
2011-11-05 20:09:07 +01:00
share/doc/sqlite3/intern-v-extern-blob.html
Changes 3.8.0.1: Add support for partial indexes Cut-over to the next generation query planner for faster and better query plans. The EXPLAIN QUERY PLAN output no longer shows an estimate of the number of rows generated by each loop in a join. Added the FTS4 notindexed option, allowing non-indexed columns in an FTS4 table. Added the SQLITE_STMTSTATUS_VM_STEP option to sqlite3_stmt_status(). Added the cache_spill pragma. Added the query_only pragma. Added the defer_foreign_keys pragma and the sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS,...) C-language interface. Added the "percentile()" function as a loadable extension in the ext/misc subdirectory of the source tree. Added the SQLITE_ALLOW_URI_AUTHORITY compile-time option. Add the sqlite3_cancel_auto_extension(X) interface. A running SELECT statement that lacks a FROM clause (or any other statement that never reads or writes from any database file) will not prevent a read transaction from closing. Add the SQLITE_DEFAULT_AUTOMATIC_INDEX compile-time option. Setting this option to 0 disables automatic indices by default. Issue an SQLITE_WARNING_AUTOINDEX warning on the SQLITE_CONFIG_LOG whenever the query planner uses an automatic index. Added the SQLITE_FTS3_MAX_EXPR_DEPTH compile-time option. Added an optional 5th parameter defining the collating sequence to the next_char() extension SQL function. The SQLITE_BUSY_SNAPSHOT extended error code is returned in WAL mode when a read transaction cannot be upgraded to a write transaction because the read is on an older snapshot. Enhancements to the sqlite3_analyzer utility program to provide size information separately for each individual index of a table, in addition to the aggregate size. Allow read transactions to be freely opened and closed by SQL statements run from within the implementation of application-defined SQL functions if the function is called by a SELECT statement that does not access any database table. Disable the use of posix_fallocate() on all (unix) systems unless the HAVE_POSIX_FALLOCATE compile-time option is used. Update the ".import" command in the command-line shell to support multi-line fields and correct RFC-4180 quoting and to issue warning and/or error messages if the input text is not strictly RFC-4180 compliant. Bug fix: In the unicode61 tokenizer of FTS4, treat all private code points as identifier symbols. Bug fix: Bare identifiers in ORDER BY clauses bind more tightly to output column names, but identifiers in expressions bind more tightly to input column names. Identifiers in GROUP BY clauses always prefer output column names, however. Bug fixes: Multiple problems in the legacy query optimizer were fixed by the move to NGQP.
2013-08-31 13:07:33 +02:00
share/doc/sqlite3/isolation.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/json1.html
share/doc/sqlite3/keyword_index.html
share/doc/sqlite3/lang.html
share/doc/sqlite3/lang_aggfunc.html
share/doc/sqlite3/lang_altertable.html
share/doc/sqlite3/lang_analyze.html
share/doc/sqlite3/lang_attach.html
share/doc/sqlite3/lang_comment.html
share/doc/sqlite3/lang_conflict.html
share/doc/sqlite3/lang_corefunc.html
share/doc/sqlite3/lang_createindex.html
share/doc/sqlite3/lang_createtable.html
share/doc/sqlite3/lang_createtrigger.html
share/doc/sqlite3/lang_createview.html
share/doc/sqlite3/lang_createvtab.html
share/doc/sqlite3/lang_datefunc.html
share/doc/sqlite3/lang_delete.html
share/doc/sqlite3/lang_detach.html
share/doc/sqlite3/lang_dropindex.html
share/doc/sqlite3/lang_droptable.html
share/doc/sqlite3/lang_droptrigger.html
share/doc/sqlite3/lang_dropview.html
share/doc/sqlite3/lang_explain.html
share/doc/sqlite3/lang_expr.html
share/doc/sqlite3/lang_indexedby.html
share/doc/sqlite3/lang_insert.html
share/doc/sqlite3/lang_keywords.html
share/doc/sqlite3/lang_naming.html
share/doc/sqlite3/lang_reindex.html
share/doc/sqlite3/lang_replace.html
share/doc/sqlite3/lang_savepoint.html
share/doc/sqlite3/lang_select.html
share/doc/sqlite3/lang_transaction.html
share/doc/sqlite3/lang_update.html
share/doc/sqlite3/lang_vacuum.html
share/doc/sqlite3/lang_with.html
share/doc/sqlite3/limits.html
Changes 3.7.17: Add support for memory-mapped I/O. Add the sqlite3_strglob() convenience interface. Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID. Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL. Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log. Added the SQLITE_TRACE_SIZE_LIMIT compile-time option. Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry. Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time. Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways: If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes. The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically. Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does. Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time. Enhance the fts4aux virtual table so that it can be a TEMP table. Added the fts3tokenize virtual table to the full-text search logic. Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops. Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems. Improved tracing and debugging facilities in the Windows VFS. Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction. Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names. Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result. Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used. Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command. Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output. Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation. Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid. Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN. Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 21:17:15 +02:00
share/doc/sqlite3/loadext.html
share/doc/sqlite3/lockingv3.html
share/doc/sqlite3/malloc.html
share/doc/sqlite3/mingw.html
Changes 3.7.17: Add support for memory-mapped I/O. Add the sqlite3_strglob() convenience interface. Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID. Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL. Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log. Added the SQLITE_TRACE_SIZE_LIMIT compile-time option. Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry. Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time. Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways: If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes. The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically. Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does. Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time. Enhance the fts4aux virtual table so that it can be a TEMP table. Added the fts3tokenize virtual table to the full-text search logic. Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops. Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems. Improved tracing and debugging facilities in the Windows VFS. Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction. Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names. Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result. Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used. Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command. Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output. Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation. Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid. Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN. Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 21:17:15 +02:00
share/doc/sqlite3/mmap.html
share/doc/sqlite3/mostdeployed.html
share/doc/sqlite3/news.html
Changes 3.8.7: Performance Enhancements: * Many micro-optimizations result in 20.3% more work for the same number of CPU cycles relative to the previous release. The cumulative performance increase since version 3.8.0 is 61%. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 13.10 x64 with gcc 4.8.1 and -Os. Your performance may vary.) * The sorter can use auxiliary helper threads to increase real-time response. This feature is off by default and may be enabled using the PRAGMA threads command or the SQLITE_DEFAULT_WORKER_THREADS compile-time option. * Enhance the skip-scan optimization so that it is able to skip index terms that occur in the middle of the index, not just as the left-hand side of the index. * Improved optimization of CAST operators. * Various improvements in how the query planner uses sqlite_stat4 information to estimate plan costs. New Features: * Added new interfaces with 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_result_blob64(), sqlite3_bind_text64(), and sqlite3_result_text64(). * Added the new interface sqlite3_msize() that returns the size of a memory allocation obtained from sqlite3_malloc64() and its variants. * Added the SQLITE_LIMIT_WORKER_THREADS option to sqlite3_limit() and PRAGMA threads command for configuring the number of available worker threads. * The spellfix1 extension allows the application to optionally specify the rowid for each INSERT. * Added the User Authentication extension. Bug Fixes: * Fix a bug in the partial index implementation that might result in an incorrect answer if a partial index is used in a subquery or in a view. * Fix a query planner bug that might cause a table to be scanned in the wrong direction (thus reversing the order of output) when a DESC index is used to implement the ORDER BY clause on a query that has an identical GROUP BY clause. * Fix a bug in sqlite3_trace() that was causing it to sometimes fail to print an SQL statement if that statement needed to be re-prepared. * Fix a faulty assert() statement.
2014-10-19 22:37:47 +02:00
share/doc/sqlite3/not-found.html
share/doc/sqlite3/nulls.html
share/doc/sqlite3/oldnews.html
share/doc/sqlite3/omitted.html
share/doc/sqlite3/onefile.html
share/doc/sqlite3/opcode.html
share/doc/sqlite3/optoverview.html
Changes 3.8.0.1: Add support for partial indexes Cut-over to the next generation query planner for faster and better query plans. The EXPLAIN QUERY PLAN output no longer shows an estimate of the number of rows generated by each loop in a join. Added the FTS4 notindexed option, allowing non-indexed columns in an FTS4 table. Added the SQLITE_STMTSTATUS_VM_STEP option to sqlite3_stmt_status(). Added the cache_spill pragma. Added the query_only pragma. Added the defer_foreign_keys pragma and the sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS,...) C-language interface. Added the "percentile()" function as a loadable extension in the ext/misc subdirectory of the source tree. Added the SQLITE_ALLOW_URI_AUTHORITY compile-time option. Add the sqlite3_cancel_auto_extension(X) interface. A running SELECT statement that lacks a FROM clause (or any other statement that never reads or writes from any database file) will not prevent a read transaction from closing. Add the SQLITE_DEFAULT_AUTOMATIC_INDEX compile-time option. Setting this option to 0 disables automatic indices by default. Issue an SQLITE_WARNING_AUTOINDEX warning on the SQLITE_CONFIG_LOG whenever the query planner uses an automatic index. Added the SQLITE_FTS3_MAX_EXPR_DEPTH compile-time option. Added an optional 5th parameter defining the collating sequence to the next_char() extension SQL function. The SQLITE_BUSY_SNAPSHOT extended error code is returned in WAL mode when a read transaction cannot be upgraded to a write transaction because the read is on an older snapshot. Enhancements to the sqlite3_analyzer utility program to provide size information separately for each individual index of a table, in addition to the aggregate size. Allow read transactions to be freely opened and closed by SQL statements run from within the implementation of application-defined SQL functions if the function is called by a SELECT statement that does not access any database table. Disable the use of posix_fallocate() on all (unix) systems unless the HAVE_POSIX_FALLOCATE compile-time option is used. Update the ".import" command in the command-line shell to support multi-line fields and correct RFC-4180 quoting and to issue warning and/or error messages if the input text is not strictly RFC-4180 compliant. Bug fix: In the unicode61 tokenizer of FTS4, treat all private code points as identifier symbols. Bug fix: Bare identifiers in ORDER BY clauses bind more tightly to output column names, but identifiers in expressions bind more tightly to input column names. Identifiers in GROUP BY clauses always prefer output column names, however. Bug fixes: Multiple problems in the legacy query optimizer were fixed by the move to NGQP.
2013-08-31 13:07:33 +02:00
share/doc/sqlite3/partialindex.html
Release 3.12.0 Potentially Disruptive Change: ------------------------------ The SQLITE_DEFAULT_PAGE_SIZE is increased from 1024 to 4096. The SQLITE_DEFAULT_CACHE_SIZE is changed from 2000 to -2000 so the same amount of cache memory is used by default. See the application note on the version 3.12.0 page size change for further information. Performance enhancements: ------------------------- Enhancements to the Lemon parser generator so that it creates a smaller and faster SQL parser. Only create master journal files if two or more attached databases are all modified, do not have PRAGMA synchronous set to OFF, and do not have the journal_mode set to OFF, MEMORY, or WAL. Only create statement journal files when their size exceeds a threshold. Otherwise the journal is held in memory and no I/O occurs. The threshold can be configured at compile-time using SQLITE_STMTJRNL_SPILL or at start-time using sqlite3_config(SQLITE_CONFIG_STMTJRNL_SPILL). The query planner is able to optimize IN operators on virtual tables even if the xBestIndex method does not set the sqlite3_index_constraint_usage.omit flag of the virtual table column to the left of the IN operator. The query planner now does a better job of optimizing virtual table accesses in a 3-way or higher join where constraints on the virtual table are split across two or more other tables of the join. More efficient handling of application-defined SQL functions, especially in cases where the application defines hundreds or thousands of custom functions. The query planner considers the LIMIT clause when estimating the cost of ORDER BY. The configure script (on unix) automatically detects pread() and pwrite() and sets compile-time options to use those OS interfaces if they are available. Reduce the amount of memory needed to hold the schema. Other miscellaneous micro-optimizations for improved performance and reduced memory usage. New Features: ------------- Added the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to sqlite3_db_config() which allows the two-argument version of the fts3_tokenizer() SQL function to be enabled or disabled at run-time. Added the sqlite3rbu_bp_progress() interface to the RBU extension. The PRAGMA defer_foreign_keys=ON statement now also disables RESTRICT actions on foreign key. Added the sqlite3_system_errno() interface. Added the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS compile-time options. The SQLITE_DEFAULT_SYNCHRONOUS compile-time option replaces the SQLITE_EXTRA_DURABLE option, which is no longer supported. Enhanced the ".stats" command in the command-line shell to show more information about I/O performance obtained from /proc, when available. Bug fixes: ---------- Make sure the sqlite3_set_auxdata() values from multiple triggers within a single statement do not interfere with one another. Fix the code generator for expressions of the form "x IN (SELECT...)" where the SELECT statement on the RHS is a correlated subquery. Fix a harmless TSAN warning associated with the sqlite3_db_readonly() interface.
2016-04-08 09:54:27 +02:00
share/doc/sqlite3/pgszchng2016.html
share/doc/sqlite3/pragma.html
share/doc/sqlite3/pressrelease-20071212.html
share/doc/sqlite3/privatebranch.html
Changes 3.7.10: * The default schema format number is changed from 1 to 4. This means that, unless the PRAGMA legacy_file_format=ON statement is run, newly created database files will be unreadable by version of SQLite prior to 3.3.0 (2006-01-10). It also means that the descending indices are enabled by default. * The sqlite3_pcache_methods structure and the SQLITE_CONFIG_PCACHE and SQLITE_CONFIG_GETPCACHE configuration parameters are deprecated. They are replaced by a new sqlite3_pcache_methods2 structure and SQLITE_CONFIG_PCACHE2 and SQLITE_CONFIG_GETPCACHE2 configuration parameters. * Added the powersafe overwrite property to the VFS interface. Provide the SQLITE_IOCAP_POWERSAFE_OVERWRITE I/O capability, the SQLITE_POWERSAFE_OVERWRITE compile-time option, and the "psow=BOOLEAN" query parameter for URI filenames. * Added the sqlite3_db_release_memory() interface and the shrink_memory pragma. * Added the sqlite3_db_filename() interface. * Added the sqlite3_stmt_busy() interface. * Added the sqlite3_uri_boolean() and sqlite3_uri_int64() interfaces. * If the argument to PRAGMA cache_size is negative N, that means to use approximately -1024*N bytes of memory for the page cache regardless of the page size. * Enhanced the default memory allocator to make use of _msize() on windows, malloc_size() on Mac, and malloc_usable_size() on Linux. * Enhanced the query planner to support index queries with range constraints on the rowid. * Enhanced the query planner flattening logic to allow UNION ALL compounds to be promoted upwards to replace a simple wrapper SELECT even if the compounds are joins. * Enhanced the query planner so that the xfer optimization can be used with INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is initially empty. * Enhanced the windows VFS so that all system calls can be overridden using the xSetSystemCall interface. * Updated the "unix-dotfile" VFS to use locking directories with mkdir() and rmdir() instead of locking files with open() and unlink(). * Enhancements to the test_quota.c extension to support stdio-like interfaces with quotas. * Change the unix VFS to be tolerant of read() system calls that return less then the full number of requested bytes. * Change both unix and windows VFSes to report a sector size of 4096 instead of the old default of 512. * In the TCL Interface, add the -uri option to the "sqlite3" TCL command used for creating new database connection objects. * Added the SQLITE_TESTCTRL_EXPLAIN_STMT test-control option with the SQLITE_ENABLE_TREE_EXPLAIN compile-time option to enable the command-line shell to display ASCII-art parse trees of SQL statements that it processes, for debugging and analysis. * Bug fix: Add an additional xSync when restarting a WAL in order to prevent an exceedingly unlikely but theoretically possible database corruption following power-loss. * Bug fix: Change the VDBE so that all registers are initialized to Invalid instead of NULL. * Bug fix: Fix problems that can result from 32-bit integer overflow.
2012-01-17 16:53:13 +01:00
share/doc/sqlite3/psow.html
Changes 3.7.17: Add support for memory-mapped I/O. Add the sqlite3_strglob() convenience interface. Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID. Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL. Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log. Added the SQLITE_TRACE_SIZE_LIMIT compile-time option. Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry. Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time. Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways: If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes. The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically. Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does. Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time. Enhance the fts4aux virtual table so that it can be a TEMP table. Added the fts3tokenize virtual table to the full-text search logic. Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops. Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems. Improved tracing and debugging facilities in the Windows VFS. Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction. Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names. Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result. Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used. Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command. Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output. Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation. Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid. Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN. Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 21:17:15 +02:00
share/doc/sqlite3/queryplanner-ng.html
share/doc/sqlite3/queryplanner.html
share/doc/sqlite3/quickstart.html
Changes 3.8.11: Added the experimental RBU extension. Note that this extension is experimental and subject to change in incompatible ways. Added the experimental FTS5 extension. Note that this extension is experimental and subject to change in incompatible ways. Added the sqlite3_value_dup() and sqlite3_value_free() interfaces. Enhance the spellfix1 extension to support ON CONFLICT clauses. The IS operator is now able to drive indexes. Enhance the query planner to permit automatic indexing on FROM-clause subqueries that are implemented by co-routine. Disallow the use of "rowid" in common table expressions. Added the PRAGMA cell_size_check command for better and earlier detection of database file corruption. Added the matchinfo 'b' flag to the matchinfo() function in FTS3. Improved fuzz-testing of database files, with fixes for problems found. Add the fuzzcheck test program and automatically run this program using both SQL and database test cases on "make test". Added the SQLITE_MUTEX_STATIC_VFS1 static mutex and use it in the Windows VFS. The sqlite3_profile() callback is invoked (by sqlite3_reset() or sqlite3_finalize()) for statements that did not run to completion. Enhance the page cache so that it can preallocate a block of memory to use for the initial set page cache lines. Set the default preallocation to 100 pages. Yields about a 5% performance increase on common workloads. Miscellaneous micro-optimizations result in 22.3% more work for the same number of CPU cycles relative to the previous release. SQLite now runs twice as fast as version 3.8.0 and three times as fast as version 3.3.9. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 14.04 x64 with gcc 4.8.2 and -Os. Your performance may vary.) Added the sqlite3_result_zeroblob64() and sqlite3_bind_zeroblob64() interfaces.
2015-07-28 09:18:22 +02:00
share/doc/sqlite3/rbu.html
share/doc/sqlite3/releaselog/3_0_0.html
share/doc/sqlite3/releaselog/3_0_1.html
share/doc/sqlite3/releaselog/3_0_2.html
share/doc/sqlite3/releaselog/3_0_3.html
share/doc/sqlite3/releaselog/3_0_4.html
share/doc/sqlite3/releaselog/3_0_5.html
share/doc/sqlite3/releaselog/3_0_6.html
share/doc/sqlite3/releaselog/3_0_7.html
share/doc/sqlite3/releaselog/3_0_8.html
Changes 3.10.0: General improvements: --------------------- Added support for LIKE, GLOB, and REGEXP operators on virtual tables. Added the colUsed field to sqlite3_index_info for use by the sqlite3_module.xBestIndex method. Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter which is the threshold below which cache spilling is prohibited. On unix, if a symlink to a database file is opened, then the corresponding journal files are based on the actual filename, not the symlink name. Added the "--transaction" option to sqldiff. Added the sqlite3_db_cacheflush() interface. Added the sqlite3_strlike() interface. When using memory-mapped I/O map the database file read-only so that stray pointers and/or array overruns in the application cannot accidently modify the database file. Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and sqlite3_snapshot_free() interfaces. These are subject to change or removal in a subsequent release. Enhance the 'utc' modifier in the date and time functions so that it is a no-op if the date/time is known to already be in UTC. (This is not a compatibility break since the behavior has long been documented as "undefined" in that case.) Added the json_group_array() and json_group_object() SQL functions in the json extension. Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. Many small performance optimizations. Portability enhancements: ------------------------- Work around a sign-exension bug in the optimizer of the HP C compiler on HP/UX. (details) Enhancements to the command-line shell: --------------------------------------- Added the ".changes ON|OFF" and ".vfsinfo" dot-commands. Translate between MBCS and UTF8 when running in cmd.exe on Windows. Enhancements to makefiles: -------------------------- Added the --enable-editline and --enable-static-shell options to the various autoconf-generated configure scripts. Omit all use of "awk" in the makefiles, to make building easier for MSVC users. Important fixes: ---------------- Fix inconsistent integer to floating-point comparison operations that could result in a corrupt index if the index is created on a table column that contains both large integers and floating point values of similar magnitude. Ticket 38a97a87a6. Fix an infinite-loop in the query planner that could occur on malformed common table expressions. Various bug fixes in the sqldiff tool.
2016-01-08 15:43:10 +01:00
share/doc/sqlite3/releaselog/3_10_0.html
share/doc/sqlite3/releaselog/3_10_1.html
share/doc/sqlite3/releaselog/3_10_2.html
Changes 3.11.0: General improvements: Enhanced WAL mode so that it works efficiently with transactions that are larger than the cache_size. Added the FTS5 detail option. Added the "EXTRA" option to PRAGMA synchronous that does a sync of the containing directory when a rollback journal is unlinked in DELETE mode, for better durability. The SQLITE_EXTRA_DURABLE compile-time option enables PRAGMA synchronous=EXTRA by default. Enhanced the query planner so that it is able to use a covering index as part of the OR optimization. Avoid recomputing NOT NULL and CHECK constraints on unchanged columns in UPDATE statement. Many micro-optimizations, resulting in a library that is faster than the previous release. Enhancements to the command-line shell: By default, the shell is now in "auto-explain" mode. The output of EXPLAIN commands is automatically formatted. Added the ".vfslist" dot-command. The SQLITE_ENABLE_EXPLAIN_COMMENTS compile-time option is now turned on by default in the standard builds. Enhancements to the TCL Interface: If a database connection is opened with the "-uri 1" option, then URI filenames are honored by the "backup" and "restore" commands. Added the "-sourceid" option to the "sqlite3" command. Makefile improvements: Improved pthreads detection in configure scripts. Add the ability to do MSVC Windows builds from the amalgamation tarball. Bug fixes Fix an issue with incorrect sharing of VDBE temporary registers between co-routines that could cause incorrect query results in obscure cases. Ticket d06a25c84454a. Fix a problem in the sqlite3_result_subtype() interface that could cause problems for the json1 extension under obscure circumstances. Fix for ticket f45ac567eaa9f9. Escape control characters in JSON strings. Fix for ticket ad2559db380abf8. Reenable the xCurrentTime and xGetLastError methods in the built-in unix VFSes as long as SQLITE_OMIT_DEPRECATED is not defined. Backwards Compatibility: Because of continuing security concerns, the two-argument version of of the seldom-used and little-known fts3_tokenizer() function is disabled unless SQLite is compiled with the SQLITE_ENABLE_FTS3_TOKENIZER.
2016-02-16 14:46:04 +01:00
share/doc/sqlite3/releaselog/3_11_0.html
share/doc/sqlite3/releaselog/3_11_1.html
Release 3.12.0 Potentially Disruptive Change: ------------------------------ The SQLITE_DEFAULT_PAGE_SIZE is increased from 1024 to 4096. The SQLITE_DEFAULT_CACHE_SIZE is changed from 2000 to -2000 so the same amount of cache memory is used by default. See the application note on the version 3.12.0 page size change for further information. Performance enhancements: ------------------------- Enhancements to the Lemon parser generator so that it creates a smaller and faster SQL parser. Only create master journal files if two or more attached databases are all modified, do not have PRAGMA synchronous set to OFF, and do not have the journal_mode set to OFF, MEMORY, or WAL. Only create statement journal files when their size exceeds a threshold. Otherwise the journal is held in memory and no I/O occurs. The threshold can be configured at compile-time using SQLITE_STMTJRNL_SPILL or at start-time using sqlite3_config(SQLITE_CONFIG_STMTJRNL_SPILL). The query planner is able to optimize IN operators on virtual tables even if the xBestIndex method does not set the sqlite3_index_constraint_usage.omit flag of the virtual table column to the left of the IN operator. The query planner now does a better job of optimizing virtual table accesses in a 3-way or higher join where constraints on the virtual table are split across two or more other tables of the join. More efficient handling of application-defined SQL functions, especially in cases where the application defines hundreds or thousands of custom functions. The query planner considers the LIMIT clause when estimating the cost of ORDER BY. The configure script (on unix) automatically detects pread() and pwrite() and sets compile-time options to use those OS interfaces if they are available. Reduce the amount of memory needed to hold the schema. Other miscellaneous micro-optimizations for improved performance and reduced memory usage. New Features: ------------- Added the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to sqlite3_db_config() which allows the two-argument version of the fts3_tokenizer() SQL function to be enabled or disabled at run-time. Added the sqlite3rbu_bp_progress() interface to the RBU extension. The PRAGMA defer_foreign_keys=ON statement now also disables RESTRICT actions on foreign key. Added the sqlite3_system_errno() interface. Added the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS compile-time options. The SQLITE_DEFAULT_SYNCHRONOUS compile-time option replaces the SQLITE_EXTRA_DURABLE option, which is no longer supported. Enhanced the ".stats" command in the command-line shell to show more information about I/O performance obtained from /proc, when available. Bug fixes: ---------- Make sure the sqlite3_set_auxdata() values from multiple triggers within a single statement do not interfere with one another. Fix the code generator for expressions of the form "x IN (SELECT...)" where the SELECT statement on the RHS is a correlated subquery. Fix a harmless TSAN warning associated with the sqlite3_db_readonly() interface.
2016-04-08 09:54:27 +02:00
share/doc/sqlite3/releaselog/3_12_0.html
share/doc/sqlite3/releaselog/3_12_1.html
share/doc/sqlite3/releaselog/3_12_2.html
Release 3.13.0: Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. Merged the session extension into trunk. Added the ".auth ON|OFF" command to the command-line shell. Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. Added the ".eqp full" option to the command-line shell, that does both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. Improved unicode filename handling in the command-line shell on Windows. Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. Added the sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION) interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. Change the temporary directory search algorithm on Unix to allow directories with write and execute permission, but without read permission, to serve as temporary directories. Apply this same standard to the "." fallback directory. Bug Fixes: ---------- Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none of the indexes reference any table columns other than the INTEGER PRIMARY KEY. Ticket 16c9801ceba49. When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. Fix a locking race condition in Windows that can occur when two or more processes attempt to recover the same hot journal at the same time.
2016-05-21 13:19:30 +02:00
share/doc/sqlite3/releaselog/3_13_0.html
Changes 3.14.0: Added support for WITHOUT ROWID virtual tables. Improved the query planner so that the OR optimization can be used on virtual tables even if one or more of the disjuncts use the LIKE, GLOB, REGEXP, MATCH operators. Added the CSV virtual table for reading RFC 4180 formatted comma-separated value files. Added the carray() table-valued function extension. Enabled persistent loadable extensions using the new SQLITE_OK_LOAD_PERMANENTLY return code from the extension entry point. Added the SQLITE_DBSTATUS_CACHE_USED_SHARED option to sqlite3_db_status(). Add the vfsstat.c loadable extension - a VFS shim that measures I/O together with an eponymous virtual table that provides access to the measurements. Improved algorithm for running queries with both an ORDER BY and a LIMIT where only the inner-most loop naturally generates rows in the correct order. Enhancements to Lemon parser generator, so that it generates a faster parser. The PRAGMA compile_options command now attempts to show the version number of the compiler that generated the library. Enhance PRAGMA table_info so that it provides information about eponymous virtual tables. Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like the default "win32" VFS except that it ignores all file locks. The query planner uses a full scan of a partial index instead of a full scan of the main table, in cases where that makes sense. Allow table-valued functions to appear on the right-hand side of an IN operator. Created the dbhash.exe command-line utility. Added two new C-language interfaces: sqlite3_expanded_sql() and sqlite3_trace_v2(). These new interfaces subsume the functions of sqlite3_trace() and sqlite3_profile() which are now deprecated. Added the json_quote() SQL function to the json1 extension. Disable the authorizer callback while reparsing the schema. Added the SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option and turned that option on by default when building the command-line shell. Bug Fixes: Fix the ALTER TABLE command so that it does not corrupt descending indexes when adding a column to a legacy file format database. Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE clause references a non-existent collating sequence. Improved the cost estimation for an index scan which includes a WHERE clause that can be partially or fully evaluated using columns in the index and without having to do a table lookup. This fixes a performance regression that occurred for some obscure queries following the ORDER BY LIMIT optimization introduced in version 3.12.0.
2016-08-09 16:54:25 +02:00
share/doc/sqlite3/releaselog/3_14.html
share/doc/sqlite3/releaselog/3_1_0.html
share/doc/sqlite3/releaselog/3_1_1.html
share/doc/sqlite3/releaselog/3_1_2.html
share/doc/sqlite3/releaselog/3_1_3.html
share/doc/sqlite3/releaselog/3_1_4.html
share/doc/sqlite3/releaselog/3_1_5.html
share/doc/sqlite3/releaselog/3_1_6.html
share/doc/sqlite3/releaselog/3_2_0.html
share/doc/sqlite3/releaselog/3_2_1.html
share/doc/sqlite3/releaselog/3_2_2.html
share/doc/sqlite3/releaselog/3_2_3.html
share/doc/sqlite3/releaselog/3_2_4.html
share/doc/sqlite3/releaselog/3_2_5.html
share/doc/sqlite3/releaselog/3_2_6.html
share/doc/sqlite3/releaselog/3_2_7.html
share/doc/sqlite3/releaselog/3_2_8.html
share/doc/sqlite3/releaselog/3_3_0.html
share/doc/sqlite3/releaselog/3_3_1.html
share/doc/sqlite3/releaselog/3_3_10.html
share/doc/sqlite3/releaselog/3_3_11.html
share/doc/sqlite3/releaselog/3_3_12.html
share/doc/sqlite3/releaselog/3_3_13.html
share/doc/sqlite3/releaselog/3_3_14.html
share/doc/sqlite3/releaselog/3_3_15.html
share/doc/sqlite3/releaselog/3_3_16.html
share/doc/sqlite3/releaselog/3_3_17.html
share/doc/sqlite3/releaselog/3_3_2.html
share/doc/sqlite3/releaselog/3_3_3.html
share/doc/sqlite3/releaselog/3_3_4.html
share/doc/sqlite3/releaselog/3_3_5.html
share/doc/sqlite3/releaselog/3_3_6.html
share/doc/sqlite3/releaselog/3_3_7.html
share/doc/sqlite3/releaselog/3_3_8.html
share/doc/sqlite3/releaselog/3_3_9.html
share/doc/sqlite3/releaselog/3_4_0.html
share/doc/sqlite3/releaselog/3_4_1.html
share/doc/sqlite3/releaselog/3_4_2.html
share/doc/sqlite3/releaselog/3_5_0.html
share/doc/sqlite3/releaselog/3_5_1.html
share/doc/sqlite3/releaselog/3_5_2.html
share/doc/sqlite3/releaselog/3_5_3.html
share/doc/sqlite3/releaselog/3_5_4.html
share/doc/sqlite3/releaselog/3_5_5.html
share/doc/sqlite3/releaselog/3_5_6.html
share/doc/sqlite3/releaselog/3_5_7.html
share/doc/sqlite3/releaselog/3_5_8.html
share/doc/sqlite3/releaselog/3_5_9.html
share/doc/sqlite3/releaselog/3_6_0.html
share/doc/sqlite3/releaselog/3_6_1.html
share/doc/sqlite3/releaselog/3_6_10.html
share/doc/sqlite3/releaselog/3_6_11.html
share/doc/sqlite3/releaselog/3_6_12.html
share/doc/sqlite3/releaselog/3_6_13.html
share/doc/sqlite3/releaselog/3_6_14.html
share/doc/sqlite3/releaselog/3_6_14_1.html
share/doc/sqlite3/releaselog/3_6_14_2.html
share/doc/sqlite3/releaselog/3_6_15.html
share/doc/sqlite3/releaselog/3_6_16.html
share/doc/sqlite3/releaselog/3_6_16_1.html
share/doc/sqlite3/releaselog/3_6_17.html
share/doc/sqlite3/releaselog/3_6_18.html
share/doc/sqlite3/releaselog/3_6_19.html
share/doc/sqlite3/releaselog/3_6_2.html
share/doc/sqlite3/releaselog/3_6_20.html
share/doc/sqlite3/releaselog/3_6_21.html
share/doc/sqlite3/releaselog/3_6_22.html
share/doc/sqlite3/releaselog/3_6_23.html
share/doc/sqlite3/releaselog/3_6_23_1.html
share/doc/sqlite3/releaselog/3_6_3.html
share/doc/sqlite3/releaselog/3_6_4.html
share/doc/sqlite3/releaselog/3_6_5.html
share/doc/sqlite3/releaselog/3_6_6.html
share/doc/sqlite3/releaselog/3_6_6_1.html
share/doc/sqlite3/releaselog/3_6_6_2.html
share/doc/sqlite3/releaselog/3_6_7.html
share/doc/sqlite3/releaselog/3_6_8.html
share/doc/sqlite3/releaselog/3_6_9.html
share/doc/sqlite3/releaselog/3_7_0.html
share/doc/sqlite3/releaselog/3_7_0_1.html
share/doc/sqlite3/releaselog/3_7_1.html
Changes 3.7.10: * The default schema format number is changed from 1 to 4. This means that, unless the PRAGMA legacy_file_format=ON statement is run, newly created database files will be unreadable by version of SQLite prior to 3.3.0 (2006-01-10). It also means that the descending indices are enabled by default. * The sqlite3_pcache_methods structure and the SQLITE_CONFIG_PCACHE and SQLITE_CONFIG_GETPCACHE configuration parameters are deprecated. They are replaced by a new sqlite3_pcache_methods2 structure and SQLITE_CONFIG_PCACHE2 and SQLITE_CONFIG_GETPCACHE2 configuration parameters. * Added the powersafe overwrite property to the VFS interface. Provide the SQLITE_IOCAP_POWERSAFE_OVERWRITE I/O capability, the SQLITE_POWERSAFE_OVERWRITE compile-time option, and the "psow=BOOLEAN" query parameter for URI filenames. * Added the sqlite3_db_release_memory() interface and the shrink_memory pragma. * Added the sqlite3_db_filename() interface. * Added the sqlite3_stmt_busy() interface. * Added the sqlite3_uri_boolean() and sqlite3_uri_int64() interfaces. * If the argument to PRAGMA cache_size is negative N, that means to use approximately -1024*N bytes of memory for the page cache regardless of the page size. * Enhanced the default memory allocator to make use of _msize() on windows, malloc_size() on Mac, and malloc_usable_size() on Linux. * Enhanced the query planner to support index queries with range constraints on the rowid. * Enhanced the query planner flattening logic to allow UNION ALL compounds to be promoted upwards to replace a simple wrapper SELECT even if the compounds are joins. * Enhanced the query planner so that the xfer optimization can be used with INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is initially empty. * Enhanced the windows VFS so that all system calls can be overridden using the xSetSystemCall interface. * Updated the "unix-dotfile" VFS to use locking directories with mkdir() and rmdir() instead of locking files with open() and unlink(). * Enhancements to the test_quota.c extension to support stdio-like interfaces with quotas. * Change the unix VFS to be tolerant of read() system calls that return less then the full number of requested bytes. * Change both unix and windows VFSes to report a sector size of 4096 instead of the old default of 512. * In the TCL Interface, add the -uri option to the "sqlite3" TCL command used for creating new database connection objects. * Added the SQLITE_TESTCTRL_EXPLAIN_STMT test-control option with the SQLITE_ENABLE_TREE_EXPLAIN compile-time option to enable the command-line shell to display ASCII-art parse trees of SQL statements that it processes, for debugging and analysis. * Bug fix: Add an additional xSync when restarting a WAL in order to prevent an exceedingly unlikely but theoretically possible database corruption following power-loss. * Bug fix: Change the VDBE so that all registers are initialized to Invalid instead of NULL. * Bug fix: Fix problems that can result from 32-bit integer overflow.
2012-01-17 16:53:13 +01:00
share/doc/sqlite3/releaselog/3_7_10.html
share/doc/sqlite3/releaselog/3_7_11.html
Changes 3.7.12: * Add the SQLITE_DBSTATUS_CACHE_WRITE option for sqlite3_db_status(). * Optimize the typeof() and length() SQL functions so that they avoid unnecessary reading of database content from disk. * Add the FTS4 "merge" command, the FTS4 "automerge" command, and the FTS4 "integrity-check" command. * Report the name of specific CHECK constraints that fail. * In the command-line shell, use popen() instead of fopen() if the first character of the argument to the ".output" command is "|". * Make use of OVERLAPPED in the windows VFS to avoid some system calls and thereby obtain a performance improvement. * More aggressive optimization of the AND operator when one side or the other is always false. * Improved performance of queries with many OR-connected terms in the WHERE clause that can all be indexed. * Add the SQLITE_RTREE_INT_ONLY compile-time option to force the R*Tree Extension Module to use integer instead of floating point values for both storage and computation. * Enhance the PRAGMA integrity_check command to use much less memory when processing multi-gigabyte databases. * New interfaces added to the test_quota.c add-on module. * Added the ".trace" dot-command to the command-line shell. * Allow virtual table constructors to be invoked recursively. * Improved optimization of ORDER BY clauses on compound queries. * Improved optimization of aggregate subqueries contained within an aggregate query. * Bug fix: Fix the RELEASE command so that it does not cancel pending queries. This repairs a problem introduced in 3.7.11. * Bug fix: Do not discard the DISTINCT as superfluous unless a subset of the result set is subject to a UNIQUE constraint and it none of the columns in that subset can be NULL. * Bug fix: Do not optimize away an ORDER BY clause that has the same terms as a UNIQUE index unless those terms are also NOT NULL.
2012-05-15 10:09:25 +02:00
share/doc/sqlite3/releaselog/3_7_12.html
share/doc/sqlite3/releaselog/3_7_12_1.html
share/doc/sqlite3/releaselog/3_7_13.html
share/doc/sqlite3/releaselog/3_7_14.html
Changes 3.7.15: * Added the sqlite3_errstr() interface. * Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors. * Added support for Windows Phone 8 platforms * Enhance IN operator processing to make use of indices with numeric affinities. * Do full-table scans using covering indices when possible, under the theory that an index will be smaller and hence can be scanned with less I/O. * Enhance the query optimizer so that ORDER BY clauses are more aggressively optimized, especially in joins where various terms of the ORDER BY clause come from separate tables of the join. * Add the ability to implement FROM clause subqueries as coroutines rather that manifesting the subquery into a temporary table. * Enhancements the command-line shell: * Added the ".print" command * Negative numbers in the ".width" command cause right-alignment * Add the ".wheretrace" command when compiled with SQLITE_DEBUG * Added the busy_timeout pragma. * Added the instr() SQL function. * Added the SQLITE_FCNTL_BUSYHANDLER file control, used to allow VFS implementations to get access to the busy handler callback. * The xDelete method in the built-in VFSes now return SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist. * Enhanced support for QNX. * Work around an optimizer bug in the MSVC compiler when targeting ARM. * Bug fix: Avoid various concurrency problems in shared cache mode. * Bug fix: Avoid a deadlock or crash if the backup API, shared cache, and the SQLite Encryption Extension are all used at once. * Bug fix: SQL functions created using the TCL interface honor the "nullvalue" setting. * Bug fix: Fix a 32-bit overflow problem on CREATE INDEX for databases larger than 16GB. * Bug fix: Avoid segfault when using the COLLATE operator inside of a CHECK constraint or view in shared cache mode.
2012-12-15 19:42:33 +01:00
share/doc/sqlite3/releaselog/3_7_14_1.html
share/doc/sqlite3/releaselog/3_7_15.html
share/doc/sqlite3/releaselog/3_7_15_1.html
2013-01-11 23:49:48 +01:00
share/doc/sqlite3/releaselog/3_7_15_2.html
share/doc/sqlite3/releaselog/3_7_16.html
share/doc/sqlite3/releaselog/3_7_16_1.html
share/doc/sqlite3/releaselog/3_7_16_2.html
Changes 3.7.17: Add support for memory-mapped I/O. Add the sqlite3_strglob() convenience interface. Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID. Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL. Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log. Added the SQLITE_TRACE_SIZE_LIMIT compile-time option. Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry. Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time. Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways: If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes. The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically. Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does. Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time. Enhance the fts4aux virtual table so that it can be a TEMP table. Added the fts3tokenize virtual table to the full-text search logic. Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops. Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems. Improved tracing and debugging facilities in the Windows VFS. Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction. Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names. Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result. Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used. Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command. Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output. Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation. Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid. Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN. Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 21:17:15 +02:00
share/doc/sqlite3/releaselog/3_7_17.html
share/doc/sqlite3/releaselog/3_7_2.html
share/doc/sqlite3/releaselog/3_7_3.html
share/doc/sqlite3/releaselog/3_7_4.html
share/doc/sqlite3/releaselog/3_7_5.html
2011-04-12 21:03:48 +02:00
share/doc/sqlite3/releaselog/3_7_6.html
share/doc/sqlite3/releaselog/3_7_6_1.html
share/doc/sqlite3/releaselog/3_7_6_2.html
share/doc/sqlite3/releaselog/3_7_6_3.html
share/doc/sqlite3/releaselog/3_7_7.html
share/doc/sqlite3/releaselog/3_7_7_1.html
share/doc/sqlite3/releaselog/3_7_8.html
Changes 3.7.9: * If a search token (on the right-hand side of the MATCH operator) in FTS4 begins with "^" then that token must be the first in its field of the document. ** Potentially Incompatible Change ** * Added options SQLITE_DBSTATUS_CACHE_HIT and SQLITE_DBSTATUS_CACHE_MISS to the sqlite3_db_status() interface. * Removed support for SQLITE_ENABLE_STAT2, replacing it with the much more capable SQLITE_ENABLE_STAT3 option. * Enhancements to the sqlite3_analyzer utility program, including the --pageinfo and --stats options and support for multiplexed databases. * Enhance the sqlite3_data_count() interface so that it can be used to determine if SQLITE_DONE has been seen on the prepared statement. * Added the SQLITE_FCNTL_OVERWRITE file-control by which the SQLite core indicates to the VFS that the current transaction will overwrite the entire database file. * Increase the default lookaside memory allocator allocation size from 100 to 128 bytes. * Enhanced the query planner so that it can factor terms in and out of OR expressions in the WHERE clause in an effort to find better indices. * Added the SQLITE_DIRECT_OVERFLOW_READ compile-time option, causing overflow pages to be read directly from the database file, bypassing the page cache. * Remove limits on the magnitude of precision and width value in the format specifiers of the sqlite3_mprintf() family of string rendering routines. * Fix a bug that prevent ALTER TABLE ... RENAME from working on some virtual tables in a database with a UTF16 encoding. * Fix a bug in ASCII-to-float conversion that causes slow performance and incorrect results when converting numbers with ridiculously large exponents. * Fix a bug that causes incorrect results in aggregate queries that use multiple aggregate functions whose arguments contain complicated expressions that differ only in the case of string literals contained within those expressions. * Fix a bug that prevented the page_count and quick_check pragmas from working correctly if their names were capitalized. * Fix a bug that caused VACUUM to fail if the count_changes pragma was engaged. * Fix a bug in virtual table implementation that causes a crash if an FTS4 table is dropped inside a transaction and a SAVEPOINT occurs afterwards.
2011-11-05 20:09:07 +01:00
share/doc/sqlite3/releaselog/3_7_9.html
Changes 3.8.0.1: Add support for partial indexes Cut-over to the next generation query planner for faster and better query plans. The EXPLAIN QUERY PLAN output no longer shows an estimate of the number of rows generated by each loop in a join. Added the FTS4 notindexed option, allowing non-indexed columns in an FTS4 table. Added the SQLITE_STMTSTATUS_VM_STEP option to sqlite3_stmt_status(). Added the cache_spill pragma. Added the query_only pragma. Added the defer_foreign_keys pragma and the sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS,...) C-language interface. Added the "percentile()" function as a loadable extension in the ext/misc subdirectory of the source tree. Added the SQLITE_ALLOW_URI_AUTHORITY compile-time option. Add the sqlite3_cancel_auto_extension(X) interface. A running SELECT statement that lacks a FROM clause (or any other statement that never reads or writes from any database file) will not prevent a read transaction from closing. Add the SQLITE_DEFAULT_AUTOMATIC_INDEX compile-time option. Setting this option to 0 disables automatic indices by default. Issue an SQLITE_WARNING_AUTOINDEX warning on the SQLITE_CONFIG_LOG whenever the query planner uses an automatic index. Added the SQLITE_FTS3_MAX_EXPR_DEPTH compile-time option. Added an optional 5th parameter defining the collating sequence to the next_char() extension SQL function. The SQLITE_BUSY_SNAPSHOT extended error code is returned in WAL mode when a read transaction cannot be upgraded to a write transaction because the read is on an older snapshot. Enhancements to the sqlite3_analyzer utility program to provide size information separately for each individual index of a table, in addition to the aggregate size. Allow read transactions to be freely opened and closed by SQL statements run from within the implementation of application-defined SQL functions if the function is called by a SELECT statement that does not access any database table. Disable the use of posix_fallocate() on all (unix) systems unless the HAVE_POSIX_FALLOCATE compile-time option is used. Update the ".import" command in the command-line shell to support multi-line fields and correct RFC-4180 quoting and to issue warning and/or error messages if the input text is not strictly RFC-4180 compliant. Bug fix: In the unicode61 tokenizer of FTS4, treat all private code points as identifier symbols. Bug fix: Bare identifiers in ORDER BY clauses bind more tightly to output column names, but identifiers in expressions bind more tightly to input column names. Identifiers in GROUP BY clauses always prefer output column names, however. Bug fixes: Multiple problems in the legacy query optimizer were fixed by the move to NGQP.
2013-08-31 13:07:33 +02:00
share/doc/sqlite3/releaselog/3_8_0.html
share/doc/sqlite3/releaselog/3_8_0_1.html
share/doc/sqlite3/releaselog/3_8_0_2.html
Changes 3.8.1: Added the unlikely() and likelihood() SQL functions to be used as hints to the query planner. Enhancements to the query planner: Take into account the fact WHERE clause terms that cannot be used with indices still probably reduce the number of output rows. Estimate the sizes of table and index rows and use the smallest applicable B-Tree for full scans and "count(*)" operations. Added the soft_heap_limit pragma. Added support for SQLITE_ENABLE_STAT4 Added support for "sz=NNN" parameters at the end of sqlite_stat1.stat fields used to specify the average length in bytes for table and index rows. Avoid running foreign-key constraint checks on an UPDATE if none of the modified columns are associated with foreign keys. Added the SQLITE_MINIMUM_FILE_DESCRIPTOR compile-time option Added the win32-longpath VFS on windows, permitting filenames up to 32K characters in length. The Date And Time Functions are enhanced so that the current time (ex: julianday('now')) is always the same for multiple function invocations within the same sqlite3_step() call. Add the "totype.c" extension, implementing the tointeger() and toreal() SQL functions. FTS4 queries are better able to make use of docid<$limit constraints to limit the amount of I/O required. Added the hidden fts4aux languageid column to the fts4aux virtual table. The VACUUM command packs the database about 1% tighter. The sqlite3_analyzer utility program is updated to provide better descriptions and to compute a more accurate estimate for "Non-sequential pages" Refactor the implementation of PRAGMA statements to improve parsing performance. The directory used to hold temporary files on unix can now be set using the SQLITE_TMPDIR environment variable, which takes precedence over the TMPDIR environment variable. The sqlite3_temp_directory global variable still has higher precedence than both environment variables, however. Added the PRAGMA stats statement. Bug fix: Return the correct answer for "SELECT count(*) FROM table" even if there is a partial index on the table.
2013-10-19 10:48:08 +02:00
share/doc/sqlite3/releaselog/3_8_1.html
share/doc/sqlite3/releaselog/3_8_10.html
share/doc/sqlite3/releaselog/3_8_10_1.html
share/doc/sqlite3/releaselog/3_8_10_2.html
Changes 3.8.11: Added the experimental RBU extension. Note that this extension is experimental and subject to change in incompatible ways. Added the experimental FTS5 extension. Note that this extension is experimental and subject to change in incompatible ways. Added the sqlite3_value_dup() and sqlite3_value_free() interfaces. Enhance the spellfix1 extension to support ON CONFLICT clauses. The IS operator is now able to drive indexes. Enhance the query planner to permit automatic indexing on FROM-clause subqueries that are implemented by co-routine. Disallow the use of "rowid" in common table expressions. Added the PRAGMA cell_size_check command for better and earlier detection of database file corruption. Added the matchinfo 'b' flag to the matchinfo() function in FTS3. Improved fuzz-testing of database files, with fixes for problems found. Add the fuzzcheck test program and automatically run this program using both SQL and database test cases on "make test". Added the SQLITE_MUTEX_STATIC_VFS1 static mutex and use it in the Windows VFS. The sqlite3_profile() callback is invoked (by sqlite3_reset() or sqlite3_finalize()) for statements that did not run to completion. Enhance the page cache so that it can preallocate a block of memory to use for the initial set page cache lines. Set the default preallocation to 100 pages. Yields about a 5% performance increase on common workloads. Miscellaneous micro-optimizations result in 22.3% more work for the same number of CPU cycles relative to the previous release. SQLite now runs twice as fast as version 3.8.0 and three times as fast as version 3.3.9. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 14.04 x64 with gcc 4.8.2 and -Os. Your performance may vary.) Added the sqlite3_result_zeroblob64() and sqlite3_bind_zeroblob64() interfaces.
2015-07-28 09:18:22 +02:00
share/doc/sqlite3/releaselog/3_8_11.html
share/doc/sqlite3/releaselog/3_8_11_1.html
share/doc/sqlite3/releaselog/3_8_2.html
share/doc/sqlite3/releaselog/3_8_3.html
share/doc/sqlite3/releaselog/3_8_3_1.html
Changes 3.8.4: Code optimization and refactoring for improved performance. Add the ".clone" and ".save" commands to the command-line shell. Update the banner on the command-line shell to alert novice users when they are using an ephemeral in-memory database. Fix editline support in the command-line shell. Add support for coverage testing of VDBE programs using the SQLITE_TESTCTRL_VDBE_COVERAGE verb of sqlite3_test_control(). Update the _FILE_OFFSET_BITS macro so that builds work again on QNX. Change the datatype of SrcList.nSrc from type u8 to type int to work around an issue in the C compiler on AIX. Get extension loading working on Cygwin. Bug fix: Fix the char() SQL function so that it returns an empty string rather than an "out of memory" error when called with zero arguments. Bug fix: DISTINCT now recognizes that a zeroblob and a blob of all 0x00 bytes are the same thing. Ticket [fccbde530a] Bug fix: Compute the correct answer for queries that contain an IS NOT NULL term in the WHERE clause and also contain an OR term in the WHERE clause and are compiled with SQLITE_ENABLE_STAT4. Ticket [4c86b126f2] Bug fix: Make sure "rowid" columns are correctly resolved in joins between normal tables and WITHOUT ROWID tables. Ticket [c34d0557f7] Bug fix: Make sure the same temporary registers are not used in concurrent co-routines used to implement compound SELECT statements containing ORDER BY clauses, as such use can lead to incorrect answers. Ticket [8c63ff0eca] Bug fix: Ensure that "ORDER BY random()" clauses do not get optimized out. Ticket [65bdeb9739] Bug fix: Repair a name-resolution error that can occur in sub-select statements contained within a TRIGGER. Ticket [4ef7e3cfca] Bug fix: Fix column default values expressions of the form "DEFAULT(-(-9223372036854775808))" so that they work correctly, initializing the column to a floating point value approximately equal to +9223372036854775808.0.
2014-03-10 18:03:29 +01:00
share/doc/sqlite3/releaselog/3_8_4.html
share/doc/sqlite3/releaselog/3_8_4_1.html
share/doc/sqlite3/releaselog/3_8_4_2.html
share/doc/sqlite3/releaselog/3_8_4_3.html
Changes 3.8.5: Added support for partial sorting by index. Enhance the query planner so that it always prefers an index that uses a superset of WHERE clause terms relative to some other index. Improvements to the automerge command of FTS4 to better control the index size for a full-text index that is subject to a large number of updates. Added the sqlite3_rtree_query_callback() interface to R-Tree extension Added new URI query parameters "nolock" and "immutable". Use less memory by not remembering CHECK constraints on read-only database connections. Enable the OR optimization for WITHOUT ROWID tables. Render expressions of the form "x IN (?)" (with a single value in the list on the right-hand side of the IN operator) as if they where "x==?", Similarly optimize "x NOT IN (?)" Add the ".system" and ".once" commands to the command-line shell. Added the SQLITE_IOCAP_IMMUTABLE bit to the set of bits that can be returned by the xDeviceCharacteristics method of a VFS. Added the SQLITE_TESTCTRL_BYTEORDER test control. Bug Fixes: ---------- OFFSET clause ignored on queries without a FROM clause. Assertion fault on queries involving expressions of the form "x IN (?)". Incorrect column datatype reported. Duplicate row returned on a query against a table with more than 16 indices, each on a separate column, and all used via OR-connected constraints. Partial index causes assertion fault on UPDATE OR REPLACE. Crash when calling undocumented SQL function sqlite_rename_parent() with NULL parameters. ORDER BY ignored if the query has an identical GROUP BY. The group_concat(x,'') SQL function returns NULL instead of an empty string when all inputs are empty strings. Fix a bug in the VDBE code generator that caused crashes when doing an INSERT INTO ... SELECT statement where the number of columns being inserted is larger than the number of columns in the destination table. Fix a problem in CSV import in the command-line shell where if the leftmost field of the first row in the CSV file was both zero bytes in size and unquoted no data would be imported. Fix a problem in FTS4 where the left-most column that contained the notindexed column name as a prefix was not indexed rather than the column whose name matched exactly. Fix the sqlite3_db_readonly() interface so that it returns true if the database is read-only due to the file format write version number being too large.
2014-06-05 17:10:20 +02:00
share/doc/sqlite3/releaselog/3_8_5.html
Changes 3.8.6: Added support for hexadecimal integer literals in the SQL parser. (Ex: 0x123abc) Enhanced the PRAGMA integrity_check command to detect UNIQUE and NOT NULL constraint violations. Increase the maximum value of SQLITE_MAX_ATTACHED from 62 to 125. Increase the timeout in WAL mode before issuing an SQLITE_PROTOCOL error from 1 second to 10 seconds. Added the likely(X) SQL function. The unicode61 tokenizer is now included in FTS4 by default. Trigger automatic reprepares on all prepared statements when ANALYZE is run. Added a new loadable extension source code file to the source tree: fileio.c Add extension functions readfile(X) and writefile(X,Y) (using code copy/pasted from fileio.c in the previous bullet) to the command-line shell. Added the .fullschema dot-command to the command-line shell. Performance Enhancements: ------------------------- Deactivate the DISTINCT keyword on subqueries on the right-hand side of the IN operator. Add the capability of evaluating an IN operator as a sequence of comparisons as an alternative to using a table lookup. Use the sequence of comparisons implementation in circumstances where it is likely to be faster, such as when the right-hand side of the IN operator is small and/or changes frequently. The query planner now uses sqlite_stat4 information (created by ANALYZE) to help determine if the skip-scan optimization is appropriate. Ensure that the query planner never tries to use a self-made transient index in place of a schema-defined index. Other minor tweaks to improve the quality of VDBE code. Bug Fixes: ---------- Fix a bug in CREATE UNIQUE INDEX, introduced when WITHOUT ROWID support added in version 3.8.2, that allows a non-unique NOT NULL column to be given a UNIQUE index. Fix a bug in R-Tree extension, introduced in the previous release, that can cause an incorrect results for queries that use the rowid of the R-Tree on the left-hand side of an IN operator. Fix the sqlite3_stmt_busy() interface so that it gives the correct answer for ROLLBACK statements that have been stepped but never reset. Fix a bug in that would cause a null pointer to be dereferenced if a column with a DEFAULT that is an aggregate function tried to usee its DEFAULT. CSV output from the command-line shell now always uses CRNL for the row separator and avoids inserting CR in front of NLs contained in data. Fix a column affinity problem with the IN operator. Fix the ANALYZE command so that it adds correct samples for WITHOUT ROWID tables in the sqlite_stat4 table.
2014-08-17 10:16:06 +02:00
share/doc/sqlite3/releaselog/3_8_6.html
Changes 3.8.7: Performance Enhancements: * Many micro-optimizations result in 20.3% more work for the same number of CPU cycles relative to the previous release. The cumulative performance increase since version 3.8.0 is 61%. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 13.10 x64 with gcc 4.8.1 and -Os. Your performance may vary.) * The sorter can use auxiliary helper threads to increase real-time response. This feature is off by default and may be enabled using the PRAGMA threads command or the SQLITE_DEFAULT_WORKER_THREADS compile-time option. * Enhance the skip-scan optimization so that it is able to skip index terms that occur in the middle of the index, not just as the left-hand side of the index. * Improved optimization of CAST operators. * Various improvements in how the query planner uses sqlite_stat4 information to estimate plan costs. New Features: * Added new interfaces with 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_result_blob64(), sqlite3_bind_text64(), and sqlite3_result_text64(). * Added the new interface sqlite3_msize() that returns the size of a memory allocation obtained from sqlite3_malloc64() and its variants. * Added the SQLITE_LIMIT_WORKER_THREADS option to sqlite3_limit() and PRAGMA threads command for configuring the number of available worker threads. * The spellfix1 extension allows the application to optionally specify the rowid for each INSERT. * Added the User Authentication extension. Bug Fixes: * Fix a bug in the partial index implementation that might result in an incorrect answer if a partial index is used in a subquery or in a view. * Fix a query planner bug that might cause a table to be scanned in the wrong direction (thus reversing the order of output) when a DESC index is used to implement the ORDER BY clause on a query that has an identical GROUP BY clause. * Fix a bug in sqlite3_trace() that was causing it to sometimes fail to print an SQL statement if that statement needed to be re-prepared. * Fix a faulty assert() statement.
2014-10-19 22:37:47 +02:00
share/doc/sqlite3/releaselog/3_8_7.html
share/doc/sqlite3/releaselog/3_8_7_1.html
share/doc/sqlite3/releaselog/3_8_7_2.html
share/doc/sqlite3/releaselog/3_8_7_3.html
share/doc/sqlite3/releaselog/3_8_7_4.html
Changes 3.8.8: New Features: * Added the PRAGMA data_version command that can be used to determine if a database file has been modified by another process. * Added the SQLITE_CHECKPOINT_TRUNCATE option to the sqlite3_wal_checkpoint_v2() interface, with corresponding enhancements to PRAGMA wal_checkpoint. * Added the sqlite3_stmt_scanstatus() interface, available only when compiled with SQLITE_ENABLE_STMT_SCANSTATUS. * The sqlite3_table_column_metadata() is enhanced to work correctly on WITHOUT ROWID tables and to check for the existence of a a table if the column name parameter is NULL. The interface is now also included in the build by default, without requiring the SQLITE_ENABLE_COLUMN_METADATA compile-time option. * Added the SQLITE_ENABLE_API_ARMOR compile-time option. * Added the SQLITE_REVERSE_UNORDERED_SELECTS compile-time option. * Added the SQLITE_SORTER_PMASZ compile-time option and SQLITE_CONFIG_PMASZ start-time option. * Added the SQLITE_CONFIG_PCACHE_HDRSZ option to sqlite3_config() which makes it easier for applications to determine the appropriate amount of memory for use with SQLITE_CONFIG_PAGECACHE. * The number of rows in a VALUES clause is no longer limited by SQLITE_LIMIT_COMPOUND_SELECT. * Added the eval.c loadable extension that implements an eval() SQL function that will recursively evaluate SQL. Performance Enhancements: * Reduce the number of memcpy() operations involved in balancing a b-tree, for 3.2% overall performance boost. * Improvements to cost estimates for the skip-scan optimization. * The automatic indexing optimization is now capable of generating a partial index if that is appropriate. Bug fixes: * Ensure durability following a power loss with "PRAGMA journal_mode=TRUNCATE" by calling fsync() right after truncating the journal file. * The query planner now recognizes that any column in the right-hand table of a LEFT JOIN can be NULL, even if that column has a NOT NULL constraint. Avoid trying to optimize out NULL tests in those cases. * Make sure ORDER BY puts rows in ascending order even if the DISTINCT operator is implemented using a descending index. * Fix data races that might occur under stress when running with many threads in shared cache mode where some of the threads are opening and closing connections. * Fix obscure crash bugs found by american fuzzy lop. * Work around a GCC optimizer bug (for gcc 4.2.1 on MacOS 10.7) that caused the R-Tree extension to compute incorrect results when compiled with -O3. Other changes: * Disable the use of the strchrnul() C-library routine unless it is specifically enabled using the -DHAVE_STRCHRNULL compile-time option. * Improvements to the effectiveness and accuracy of the likelihood(), likely(), and unlikely() SQL hint functions.
2015-01-16 22:01:19 +01:00
share/doc/sqlite3/releaselog/3_8_8.html
share/doc/sqlite3/releaselog/3_8_8_1.html
share/doc/sqlite3/releaselog/3_8_8_2.html
share/doc/sqlite3/releaselog/3_8_8_3.html
share/doc/sqlite3/releaselog/3_8_9.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/releaselog/3_9_0.html
share/doc/sqlite3/releaselog/3_9_1.html
share/doc/sqlite3/releaselog/3_9_2.html
share/doc/sqlite3/releaselog/3_9_3.html
Changes 3.8.1: Added the unlikely() and likelihood() SQL functions to be used as hints to the query planner. Enhancements to the query planner: Take into account the fact WHERE clause terms that cannot be used with indices still probably reduce the number of output rows. Estimate the sizes of table and index rows and use the smallest applicable B-Tree for full scans and "count(*)" operations. Added the soft_heap_limit pragma. Added support for SQLITE_ENABLE_STAT4 Added support for "sz=NNN" parameters at the end of sqlite_stat1.stat fields used to specify the average length in bytes for table and index rows. Avoid running foreign-key constraint checks on an UPDATE if none of the modified columns are associated with foreign keys. Added the SQLITE_MINIMUM_FILE_DESCRIPTOR compile-time option Added the win32-longpath VFS on windows, permitting filenames up to 32K characters in length. The Date And Time Functions are enhanced so that the current time (ex: julianday('now')) is always the same for multiple function invocations within the same sqlite3_step() call. Add the "totype.c" extension, implementing the tointeger() and toreal() SQL functions. FTS4 queries are better able to make use of docid<$limit constraints to limit the amount of I/O required. Added the hidden fts4aux languageid column to the fts4aux virtual table. The VACUUM command packs the database about 1% tighter. The sqlite3_analyzer utility program is updated to provide better descriptions and to compute a more accurate estimate for "Non-sequential pages" Refactor the implementation of PRAGMA statements to improve parsing performance. The directory used to hold temporary files on unix can now be set using the SQLITE_TMPDIR environment variable, which takes precedence over the TMPDIR environment variable. The sqlite3_temp_directory global variable still has higher precedence than both environment variables, however. Added the PRAGMA stats statement. Bug fix: Return the correct answer for "SELECT count(*) FROM table" even if there is a partial index on the table.
2013-10-19 10:48:08 +02:00
share/doc/sqlite3/releaselog/current.html
share/doc/sqlite3/requirements.html
Changes 3.8.6: Added support for hexadecimal integer literals in the SQL parser. (Ex: 0x123abc) Enhanced the PRAGMA integrity_check command to detect UNIQUE and NOT NULL constraint violations. Increase the maximum value of SQLITE_MAX_ATTACHED from 62 to 125. Increase the timeout in WAL mode before issuing an SQLITE_PROTOCOL error from 1 second to 10 seconds. Added the likely(X) SQL function. The unicode61 tokenizer is now included in FTS4 by default. Trigger automatic reprepares on all prepared statements when ANALYZE is run. Added a new loadable extension source code file to the source tree: fileio.c Add extension functions readfile(X) and writefile(X,Y) (using code copy/pasted from fileio.c in the previous bullet) to the command-line shell. Added the .fullschema dot-command to the command-line shell. Performance Enhancements: ------------------------- Deactivate the DISTINCT keyword on subqueries on the right-hand side of the IN operator. Add the capability of evaluating an IN operator as a sequence of comparisons as an alternative to using a table lookup. Use the sequence of comparisons implementation in circumstances where it is likely to be faster, such as when the right-hand side of the IN operator is small and/or changes frequently. The query planner now uses sqlite_stat4 information (created by ANALYZE) to help determine if the skip-scan optimization is appropriate. Ensure that the query planner never tries to use a self-made transient index in place of a schema-defined index. Other minor tweaks to improve the quality of VDBE code. Bug Fixes: ---------- Fix a bug in CREATE UNIQUE INDEX, introduced when WITHOUT ROWID support added in version 3.8.2, that allows a non-unique NOT NULL column to be given a UNIQUE index. Fix a bug in R-Tree extension, introduced in the previous release, that can cause an incorrect results for queries that use the rowid of the R-Tree on the left-hand side of an IN operator. Fix the sqlite3_stmt_busy() interface so that it gives the correct answer for ROLLBACK statements that have been stepped but never reset. Fix a bug in that would cause a null pointer to be dereferenced if a column with a DEFAULT that is an aggregate function tried to usee its DEFAULT. CSV output from the command-line shell now always uses CRNL for the row separator and avoids inserting CR in front of NLs contained in data. Fix a column affinity problem with the IN operator. Fix the ANALYZE command so that it adds correct samples for WITHOUT ROWID tables in the sqlite_stat4 table.
2014-08-17 10:16:06 +02:00
share/doc/sqlite3/rescode.html
share/doc/sqlite3/robots.txt
Release 3.13.0: Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. Merged the session extension into trunk. Added the ".auth ON|OFF" command to the command-line shell. Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. Added the ".eqp full" option to the command-line shell, that does both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. Improved unicode filename handling in the command-line shell on Windows. Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. Added the sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION) interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. Change the temporary directory search algorithm on Unix to allow directories with write and execute permission, but without read permission, to serve as temporary directories. Apply this same standard to the "." fallback directory. Bug Fixes: ---------- Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none of the indexes reference any table columns other than the INTEGER PRIMARY KEY. Ticket 16c9801ceba49. When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. Fix a locking race condition in Windows that can occur when two or more processes attempt to recover the same hot journal at the same time.
2016-05-21 13:19:30 +02:00
share/doc/sqlite3/rowidtable.html
share/doc/sqlite3/rtree.html
share/doc/sqlite3/selfcontained.html
share/doc/sqlite3/serverless.html
2011-04-12 21:03:48 +02:00
share/doc/sqlite3/session.html
Release 3.13.0: Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. Merged the session extension into trunk. Added the ".auth ON|OFF" command to the command-line shell. Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. Added the ".eqp full" option to the command-line shell, that does both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. Improved unicode filename handling in the command-line shell on Windows. Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. Added the sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION) interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. Change the temporary directory search algorithm on Unix to allow directories with write and execute permission, but without read permission, to serve as temporary directories. Apply this same standard to the "." fallback directory. Bug Fixes: ---------- Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none of the indexes reference any table columns other than the INTEGER PRIMARY KEY. Ticket 16c9801ceba49. When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. Fix a locking race condition in Windows that can occur when two or more processes attempt to recover the same hot journal at the same time.
2016-05-21 13:19:30 +02:00
share/doc/sqlite3/session/c_changeset_abort.html
share/doc/sqlite3/session/c_changeset_conflict.html
share/doc/sqlite3/session/changeset_iter.html
2011-04-12 21:03:48 +02:00
share/doc/sqlite3/session/constlist.html
share/doc/sqlite3/session/funclist.html
share/doc/sqlite3/session/intro.html
share/doc/sqlite3/session/objlist.html
Release 3.13.0: Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. Merged the session extension into trunk. Added the ".auth ON|OFF" command to the command-line shell. Added the "--indent" option to the ".schema" and ".fullschema" commands of the command-line shell, to turn on pretty-printing. Added the ".eqp full" option to the command-line shell, that does both EXPLAIN and EXPLAIN QUERY PLAN on each statement that is evaluated. Improved unicode filename handling in the command-line shell on Windows. Improved resistance against goofy query planner decisions caused by incomplete or incorrect modifications to the sqlite_stat1 table by the application. Added the sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION) interface which allows the sqlite3_load_extension() C-API to be enabled while keeping the load_extension() SQL function disabled for security. Change the temporary directory search algorithm on Unix to allow directories with write and execute permission, but without read permission, to serve as temporary directories. Apply this same standard to the "." fallback directory. Bug Fixes: ---------- Fix a problem with the multi-row one-pass DELETE optimization that was causing it to compute incorrect answers with a self-referential subquery in the WHERE clause. Fix for ticket dc6ebeda9396087 Fix a possible segfault with DELETE when table is a rowid table with an INTEGER PRIMARY KEY and the WHERE clause contains a OR and the table has one or more indexes that are able to trigger the OR optimization, but none of the indexes reference any table columns other than the INTEGER PRIMARY KEY. Ticket 16c9801ceba49. When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket f7f8c97e97597. Fix a locking race condition in Windows that can occur when two or more processes attempt to recover the same hot journal at the same time.
2016-05-21 13:19:30 +02:00
share/doc/sqlite3/session/session.html
share/doc/sqlite3/session/sqlite3changegroup_add_strm.html
share/doc/sqlite3/session/sqlite3changegroup_new.html
share/doc/sqlite3/session/sqlite3changeset_apply.html
share/doc/sqlite3/session/sqlite3changeset_concat.html
share/doc/sqlite3/session/sqlite3changeset_conflict.html
share/doc/sqlite3/session/sqlite3changeset_finalize.html
share/doc/sqlite3/session/sqlite3changeset_fk_conflicts.html
share/doc/sqlite3/session/sqlite3changeset_invert.html
share/doc/sqlite3/session/sqlite3changeset_new.html
share/doc/sqlite3/session/sqlite3changeset_next.html
share/doc/sqlite3/session/sqlite3changeset_old.html
share/doc/sqlite3/session/sqlite3changeset_op.html
share/doc/sqlite3/session/sqlite3changeset_pk.html
share/doc/sqlite3/session/sqlite3changeset_start.html
share/doc/sqlite3/session/sqlite3session_attach.html
share/doc/sqlite3/session/sqlite3session_changeset.html
share/doc/sqlite3/session/sqlite3session_create.html
share/doc/sqlite3/session/sqlite3session_delete.html
share/doc/sqlite3/session/sqlite3session_diff.html
share/doc/sqlite3/session/sqlite3session_enable.html
share/doc/sqlite3/session/sqlite3session_indirect.html
share/doc/sqlite3/session/sqlite3session_isempty.html
share/doc/sqlite3/session/sqlite3session_patchset.html
share/doc/sqlite3/session/sqlite3session_table_filter.html
share/doc/sqlite3/sessionintro.html
share/doc/sqlite3/sharedcache.html
share/doc/sqlite3/shortnames.html
share/doc/sqlite3/sitemap.html
share/doc/sqlite3/speed.html
Changes 3.7.15: * Added the sqlite3_errstr() interface. * Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors. * Added support for Windows Phone 8 platforms * Enhance IN operator processing to make use of indices with numeric affinities. * Do full-table scans using covering indices when possible, under the theory that an index will be smaller and hence can be scanned with less I/O. * Enhance the query optimizer so that ORDER BY clauses are more aggressively optimized, especially in joins where various terms of the ORDER BY clause come from separate tables of the join. * Add the ability to implement FROM clause subqueries as coroutines rather that manifesting the subquery into a temporary table. * Enhancements the command-line shell: * Added the ".print" command * Negative numbers in the ".width" command cause right-alignment * Add the ".wheretrace" command when compiled with SQLITE_DEBUG * Added the busy_timeout pragma. * Added the instr() SQL function. * Added the SQLITE_FCNTL_BUSYHANDLER file control, used to allow VFS implementations to get access to the busy handler callback. * The xDelete method in the built-in VFSes now return SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist. * Enhanced support for QNX. * Work around an optimizer bug in the MSVC compiler when targeting ARM. * Bug fix: Avoid various concurrency problems in shared cache mode. * Bug fix: Avoid a deadlock or crash if the backup API, shared cache, and the SQLite Encryption Extension are all used at once. * Bug fix: SQL functions created using the TCL interface honor the "nullvalue" setting. * Bug fix: Fix a 32-bit overflow problem on CREATE INDEX for databases larger than 16GB. * Bug fix: Avoid segfault when using the COLLATE operator inside of a CHECK constraint or view in shared cache mode.
2012-12-15 19:42:33 +01:00
share/doc/sqlite3/spellfix1.html
share/doc/sqlite3/sqlanalyze.html
share/doc/sqlite3/sqldiff.html
share/doc/sqlite3/sqlite.html
share/doc/sqlite3/support.html
Changes 3.8.7: Performance Enhancements: * Many micro-optimizations result in 20.3% more work for the same number of CPU cycles relative to the previous release. The cumulative performance increase since version 3.8.0 is 61%. (Measured using cachegrind on the speedtest1.c workload on Ubuntu 13.10 x64 with gcc 4.8.1 and -Os. Your performance may vary.) * The sorter can use auxiliary helper threads to increase real-time response. This feature is off by default and may be enabled using the PRAGMA threads command or the SQLITE_DEFAULT_WORKER_THREADS compile-time option. * Enhance the skip-scan optimization so that it is able to skip index terms that occur in the middle of the index, not just as the left-hand side of the index. * Improved optimization of CAST operators. * Various improvements in how the query planner uses sqlite_stat4 information to estimate plan costs. New Features: * Added new interfaces with 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_result_blob64(), sqlite3_bind_text64(), and sqlite3_result_text64(). * Added the new interface sqlite3_msize() that returns the size of a memory allocation obtained from sqlite3_malloc64() and its variants. * Added the SQLITE_LIMIT_WORKER_THREADS option to sqlite3_limit() and PRAGMA threads command for configuring the number of available worker threads. * The spellfix1 extension allows the application to optionally specify the rowid for each INSERT. * Added the User Authentication extension. Bug Fixes: * Fix a bug in the partial index implementation that might result in an incorrect answer if a partial index is used in a subquery or in a view. * Fix a query planner bug that might cause a table to be scanned in the wrong direction (thus reversing the order of output) when a DESC index is used to implement the ORDER BY clause on a query that has an identical GROUP BY clause. * Fix a bug in sqlite3_trace() that was causing it to sometimes fail to print an SQL statement if that statement needed to be re-prepared. * Fix a faulty assert() statement.
2014-10-19 22:37:47 +02:00
share/doc/sqlite3/syntax.html
share/doc/sqlite3/syntax/alter-table-stmt.html
share/doc/sqlite3/syntax/analyze-stmt.html
share/doc/sqlite3/syntax/attach-stmt.html
share/doc/sqlite3/syntax/begin-stmt.html
share/doc/sqlite3/syntax/column-constraint.html
share/doc/sqlite3/syntax/column-def.html
share/doc/sqlite3/syntax/comment-syntax.html
share/doc/sqlite3/syntax/commit-stmt.html
share/doc/sqlite3/syntax/common-table-expression.html
share/doc/sqlite3/syntax/compound-operator.html
share/doc/sqlite3/syntax/compound-select-stmt.html
share/doc/sqlite3/syntax/conflict-clause.html
share/doc/sqlite3/syntax/create-index-stmt.html
share/doc/sqlite3/syntax/create-table-stmt.html
share/doc/sqlite3/syntax/create-trigger-stmt.html
share/doc/sqlite3/syntax/create-view-stmt.html
share/doc/sqlite3/syntax/create-virtual-table-stmt.html
share/doc/sqlite3/syntax/cte-table-name.html
share/doc/sqlite3/syntax/delete-stmt-limited.html
share/doc/sqlite3/syntax/delete-stmt.html
share/doc/sqlite3/syntax/detach-stmt.html
share/doc/sqlite3/syntax/drop-index-stmt.html
share/doc/sqlite3/syntax/drop-table-stmt.html
share/doc/sqlite3/syntax/drop-trigger-stmt.html
share/doc/sqlite3/syntax/drop-view-stmt.html
share/doc/sqlite3/syntax/expr.html
share/doc/sqlite3/syntax/factored-select-stmt.html
share/doc/sqlite3/syntax/foreign-key-clause.html
share/doc/sqlite3/syntax/indexed-column.html
share/doc/sqlite3/syntax/insert-stmt.html
share/doc/sqlite3/syntax/join-clause.html
share/doc/sqlite3/syntax/join-constraint.html
share/doc/sqlite3/syntax/join-operator.html
share/doc/sqlite3/syntax/literal-value.html
share/doc/sqlite3/syntax/numeric-literal.html
share/doc/sqlite3/syntax/ordering-term.html
share/doc/sqlite3/syntax/pragma-stmt.html
share/doc/sqlite3/syntax/pragma-value.html
share/doc/sqlite3/syntax/qualified-table-name.html
share/doc/sqlite3/syntax/raise-function.html
share/doc/sqlite3/syntax/recursive-cte.html
share/doc/sqlite3/syntax/reindex-stmt.html
share/doc/sqlite3/syntax/release-stmt.html
share/doc/sqlite3/syntax/result-column.html
share/doc/sqlite3/syntax/rollback-stmt.html
share/doc/sqlite3/syntax/savepoint-stmt.html
share/doc/sqlite3/syntax/select-core.html
share/doc/sqlite3/syntax/select-stmt.html
share/doc/sqlite3/syntax/signed-number.html
share/doc/sqlite3/syntax/simple-select-stmt.html
share/doc/sqlite3/syntax/sql-stmt-list.html
share/doc/sqlite3/syntax/sql-stmt.html
share/doc/sqlite3/syntax/table-constraint.html
share/doc/sqlite3/syntax/table-or-subquery.html
share/doc/sqlite3/syntax/type-name.html
share/doc/sqlite3/syntax/update-stmt-limited.html
share/doc/sqlite3/syntax/update-stmt.html
share/doc/sqlite3/syntax/vacuum-stmt.html
share/doc/sqlite3/syntax/with-clause.html
share/doc/sqlite3/syntaxdiagrams.html
share/doc/sqlite3/tclsqlite.html
share/doc/sqlite3/tempfiles.html
share/doc/sqlite3/testing.html
share/doc/sqlite3/th3.html
share/doc/sqlite3/threadsafe.html
share/doc/sqlite3/toc.db
share/doc/sqlite3/transactional.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/undoredo.html
share/doc/sqlite3/unlock_notify.html
share/doc/sqlite3/uri.html
share/doc/sqlite3/vdbe.html
share/doc/sqlite3/version3.html
Changes 3.9.0: Policy Changes: * The version numbering conventions for SQLite are revised to use the emerging standard of semantic versioning. New Features And Enhancements: * Added the json1 extension module in the source tree, and in the amalgamation. Enable support using the SQLITE_ENABLE_JSON1 compile-time option. * Added Full Text Search version 5 (FTS5) to the amalgamation, enabled using SQLITE_ENABLE_FTS5. FTS5 will be considered "experimental" (subject to incompatible changes) for at least one more release cycle. * The CREATE VIEW statement now accepts an optional list of column names following the view name. * Added support for indexes on expressions. * Added support for table-valued functions in the FROM clause of a SELECT statement. * Added support for eponymous virtual tables. * A VIEW may now reference undefined tables and functions when initially created. Missing tables and functions are reported when the VIEW is used in a query. * Added the sqlite3_value_subtype() and sqlite3_result_subtype() interfaced (used by the json1 extension). * The query planner is now able to use partial indexes that contain AND-connected terms in the WHERE clause. * The sqlite3_analyzer.exe utility is updated to report the depth of each btree and to show the average fanout for indexes and WITHOUT ROWID tables. * Enhanced the dbstat virtual table so that it can be used as a table-valued function where the argument is the schema to be analyzed. Other changes: * The sqlite3_memory_alarm() interface, which has been deprecated and undocumented for 8 years, is changed into a no-op. Important fixes: * Fixed a critical bug in the SQLite Encryption Extension that could cause the database to become unreadable and unrecoverable if a VACUUM command changed the size of the encryption nonce. * Added a memory barrier in the implementation of sqlite3_initialize() to help ensure that it is thread-safe. * Fix the OR optimization so that it always ignores subplans that do not use an index. * Do not apply the WHERE-clause pushdown optimization on terms that originate in the ON or USING clause of a LEFT JOIN.
2015-10-15 19:31:32 +02:00
share/doc/sqlite3/versionnumbers.html
share/doc/sqlite3/vfs.html
share/doc/sqlite3/vtab.html
share/doc/sqlite3/wal.html
share/doc/sqlite3/whentouse.html
share/doc/sqlite3/withoutrowid.html
share/doc/sqlite3/zeroconf.html