# change_content

c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
Added the <a href="../c3ref/db_release_memory.html">sqlite3_db_release_memory()</a> interface and the
    <a href="../pragma.html#pragma_shrink_memory">shrink_memory pragma</a>.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
Added the <a href="../c3ref/uri_boolean.html">sqlite3_uri_boolean()</a> and <a href="../c3ref/uri_boolean.html">sqlite3_uri_int64()</a> interfaces.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
If the argument to <a href="../pragma.html#pragma_cache_size">PRAGMA cache_size</a> is negative N, that means to use
    approximately -1024*N bytes of memory for the page cache regardless of
    the page size.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
Enhanced the default memory allocator to make use of _msize() on windows,
    malloc_size() on Mac, and malloc_usable_size() on Linux.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
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.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
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.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
Enhanced the windows <a href="../vfs.html">VFS</a> so that all system calls can be overridden
    using the xSetSystemCall interface.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
Updated the "unix-dotfile" <a href="../vfs.html">VFS</a> to use locking directories with mkdir()
    and rmdir() instead of locking files with open() and unlink().


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
Change the unix <a href="../vfs.html">VFS</a> to be tolerant of read() system calls that return 
    less then the full number of requested bytes.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
Change both unix and windows <a href="../vfs.html">VFSes</a> to report a sector size of 4096
    instead of the old default of 512.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
In the <a href="../tclsqlite.html">TCL Interface</a>, add the -uri option to the "sqlite3" TCL command
    used for creating new database connection objects.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
Added the <a href="../c3ref/c_testctrl_always.html">SQLITE_TESTCTRL_EXPLAIN_STMT</a> test-control option with the
    <a href="../compile.html#enable_tree_explain">SQLITE_ENABLE_TREE_EXPLAIN</a> compile-time option to enable the
    <a href="../cli.html">command-line shell</a> to display ASCII-art parse trees of SQL statements
    that it processes, for debugging and analysis.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
<b>Bug fix:</b>
    Add an additional xSync when restarting a WAL in order to prevent an
    exceedingly unlikely but theoretically possible
    database corruption following power-loss.
    Ticket <a href="http://www.sqlite.org/src/info/ff5be73dee">ff5be73dee</a>.


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
<b>Bug fix:</b>
    Change the VDBE so that all registers are initialized to Invalid
    instead of NULL.
    Ticket <a href="http://www.sqlite.org/src/info/7bbfb7d442">7bbfb7d442</a>


c0: releaselog/3_7_10.html
c1: 3.7.10
c3:
<b>Bug fix:</b>
    Fix problems that can result from 32-bit integer overflow.
    Ticket <a href="http://www.sqlite.org/src/info/ac0ff496b7e2">ac00f496b7e2</a>


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
If a search token (on the right-hand side of the MATCH operator) in
    <a href="../fts3.html#fts4">FTS4</a> begins with "&#94;" then that token must be the first in its field
    of the document.  <b>** Potentially Incompatible Change **</b>


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Added options <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatuscachehit">SQLITE_DBSTATUS_CACHE_HIT</a> and <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatuscachemiss">SQLITE_DBSTATUS_CACHE_MISS</a>
    to the <a href="../c3ref/db_status.html">sqlite3_db_status()</a> interface.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Removed support for <a href="../compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a>, replacing it with the much
    more capable <a href="../compile.html#enable_stat3">SQLITE_ENABLE_STAT3</a> option.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Enhancements to the sqlite3_analyzer utility program, including the
    --pageinfo and --stats options and support for multiplexed databases.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Enhance the <a href="../c3ref/data_count.html">sqlite3_data_count()</a> interface so that it can be used to
    determine if SQLITE_DONE has been seen on the prepared statement.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Added the <a href="../c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntloverwrite">SQLITE_FCNTL_OVERWRITE</a> file-control by which the SQLite core
    indicates to the VFS that the current transaction will overwrite the
    entire database file.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Increase the default <a href="../malloc.html#lookaside">lookaside memory allocator</a> allocation size from
    100 to 128 bytes.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
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.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Added the <a href="../compile.html#direct_overflow_read">SQLITE_DIRECT_OVERFLOW_READ</a> compile-time option, causing
    <a href="../fileformat2.html#ovflpgs">overflow pages</a> to be read directly from the database file, 
    bypassing the <a href="../c3ref/pcache_methods2.html">page cache</a>.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Remove limits on the magnitude of precision and width value in the
    format specifiers of the <a href="../c3ref/mprintf.html">sqlite3_mprintf()</a> family of string rendering
    routines.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Fix a bug that prevent <a href="../lang_altertable.html">ALTER TABLE ... RENAME</a> from working
    on some virtual tables in a database with a UTF16 encoding.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Fix a bug in ASCII-to-float conversion that causes slow performance and
    incorrect results when converting numbers with ridiculously large exponents.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
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.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Fix a bug that prevented the <a href="../pragma.html#pragma_page_count">page_count</a> and <a href="../pragma.html#pragma_quick_check">quick_check</a> pragmas from
    working correctly if their names were capitalized.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Fix a bug that caused <a href="../lang_vacuum.html">VACUUM</a> to fail if the <a href="../pragma.html#pragma_count_changes">count_changes pragma</a> was
    engaged.


c0: releaselog/3_7_9.html
c1: 3.7.9
c3:
Fix a bug in <a href="../vtab.html">virtual table</a> implementation that causes a crash if
    an <a href="../fts3.html#fts4">FTS4</a> table is <a href="../lang_droptable.html">dropped</a> inside a transaction and
    a <a href="../lang_savepoint.html">SAVEPOINT</a> occurs afterwards.


c0: releaselog/3_7_8.html
c1: 3.7.8
c3:
 Orders of magnitude performance improvement for <a href="../lang_createindex.html">CREATE INDEX</a> on
     very large tables.


c0: releaselog/3_7_8.html
c1: 3.7.8
c3:
 Allow more system calls to be overridden in the unix VFS - to provide
     better support for chromium sandboxes.


c0: releaselog/3_7_8.html
c1: 3.7.8
c3:
 Bug fixes: Correctly handle nested correlated subqueries used with
     indices in a WHERE clause.


c0: releaselog/3_7_7_1.html
c1: 3.7.7.1
c3:
 Fix <a href="http://www.sqlite.org/src/info/25ee812710">a bug</a> causing 
     <a href="../pragma.html#pragma_case_sensitive_like">PRAGMA case_sensitive_like</a> statements compiled using sqlite3_prepare()
     to fail with an <a href="../rescode.html#schema">SQLITE_SCHEMA</a> error.


c0: releaselog/3_7_7.html
c1: 3.7.7
c3:
 Add the <a href="../c3ref/vtab_config.html">sqlite3_vtab_config()</a> interface in
     support of <a href="../lang_conflict.html">ON CONFLICT</a> clauses with <a href="../vtab.html">virtual tables</a>.


c0: releaselog/3_7_7.html
c1: 3.7.7
c3:
 Add the <a href="../vtab.html#xsavepoint">xSavepoint</a>, <a href="../vtab.html#xsavepoint">xRelease</a> and <a href="../vtab.html#xsavepoint">xRollbackTo</a> methods in
     <a href="../vtab.html">virtual tables</a> in support of <a href="../lang_savepoint.html">SAVEPOINT</a> for virtual tables.


c0: releaselog/3_7_7.html
c1: 3.7.7
c3:
 Update the built-in <a href="../fts3.html">FTS3/FTS4</a> and <a href="../rtree.html">RTREE</a> virtual tables to support
     <a href="../lang_conflict.html">ON CONFLICT</a> clauses and <a href="../lang_replace.html">REPLACE</a>.


c0: releaselog/3_7_7.html
c1: 3.7.7
c3:
 Added support for the <a href="../fts3.html#fts4prefix">FTS4 prefix option</a> and the <a href="../fts3.html#fts4order">FTS4 order option</a>.


c0: releaselog/3_7_7.html
c1: 3.7.7
c3:
 Allow <a href="../wal.html">WAL-mode</a> databases to be opened read-only as long as
     there is an existing read/write connection.


c0: releaselog/3_7_6_3.html
c1: 3.7.6.3
c3:
 Fix a problem with <a href="../wal.html">WAL mode</a> which could cause transactions to
     silently rollback if the <a href="../pragma.html#pragma_cache_size">cache_size</a> is set very small (less than 10)
     and SQLite comes under memory pressure.


c0: releaselog/3_7_6_2.html
c1: 3.7.6.2
c3:
 Fix the function prototype for the open(2) system call to agree with
     POSIX.  Without this fix, pthreads does not work correctly on NetBSD.


c0: releaselog/3_7_6_1.html
c1: 3.7.6.1
c3:
 Fix a bug in 3.7.6 that only appears if the <a href="../c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlsizehint">SQLITE_FCNTL_SIZE_HINT</a>
     file control is used with a build of SQLite that makes use of the
     HAVE_POSIX_FALLOCATE compile-time option and which has
     SQLITE_ENABLE_LOCKING_MODE turned off.


c0: releaselog/3_7_6.html
c1: 3.7.6
c3:
 Added the <a href="../c3ref/wal_checkpoint_v2.html">sqlite3_wal_checkpoint_v2()</a> interface and enhanced the
     <a href="../pragma.html#pragma_wal_checkpoint">wal_checkpoint pragma</a> to support blocking checkpoints.


c0: releaselog/3_7_6.html
c1: 3.7.6
c3:
 Improvements to the query planner so that it makes better estimates of
     plan costs and hence does a better job of choosing the right plan,
     especially when <a href="../compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a> is used.


c0: releaselog/3_7_6.html
c1: 3.7.6
c3:
 Fix a bug which prevented deferred foreign key constraints from being
     enforced when <a href="../c3ref/finalize.html">sqlite3_finalize()</a> was not
     called by one statement with a failed foreign key constraint prior to
     another statement with foreign key constraints running.


c0: releaselog/3_7_6.html
c1: 3.7.6
c3:
 Integer arithmetic operations that would have resulted in overflow
     are now performed using floating-point instead.


c0: releaselog/3_7_6.html
c1: 3.7.6
c3:
 Increased the version number on the <a href="../c3ref/vfs.html">VFS object</a> to
     3 and added new methods xSetSysCall, xGetSysCall, and xNextSysCall
     used for doing full-coverage testing.


c0: releaselog/3_7_6.html
c1: 3.7.6
c3:
 Increase the maximum value of <a href="../limits.html#max_attached">SQLITE_MAX_ATTACHED</a> from 30 to 62
     (though the default value remains at 10).


c0: releaselog/3_7_6.html
c1: 3.7.6
c3:
 Enhancements to FTS4:
     <ol type="a">
     <li> Added the <a href="../fts3.html#fts4aux">fts4aux</a> table
     </li><li> Added support for <a href="../fts3.html#*fts4compression">compressed FTS4 content</a>
     </li></ol>


c0: releaselog/3_7_6.html
c1: 3.7.6
c3:
 Enhance the <a href="../lang_analyze.html">ANALYZE</a> command to support the name of an index
     as its argument, in order to analyze just that one index.


c0: releaselog/3_7_5.html
c1: 3.7.5
c3:
 Added the <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatuslookasidehit">SQLITE_DBSTATUS_LOOKASIDE_HIT</a>,
     <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatuslookasidemisssize">SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE</a>, and
     <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatuslookasidemissfull">SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL</a> options for the
     <a href="../c3ref/db_status.html">sqlite3_db_status()</a> interface.


c0: releaselog/3_7_5.html
c1: 3.7.5
c3:
 Added the <a href="../compile.html#default_foreign_keys">SQLITE_DEFAULT_FOREIGN_KEYS</a> compile-time option.


c0: releaselog/3_7_5.html
c1: 3.7.5
c3:
 Updates to <a href="../c3ref/stmt_readonly.html">sqlite3_stmt_readonly()</a> so that its result is well-defined
     for all prepared statements and so that it works with <a href="../lang_vacuum.html">VACUUM</a>.


c0: releaselog/3_7_5.html
c1: 3.7.5
c3:
 Fix <a href="http://www.sqlite.org/src/info/5d863f876e">a bug</a> involving
     frequent changes in and out of WAL mode and
     VACUUM that could (in theory) cause database corruption.


c0: releaselog/3_7_5.html
c1: 3.7.5
c3:
 Enhance the <a href="../c3ref/profile.html">sqlite3_trace()</a> mechanism so that nested SQL statements
     such as might be generated by virtual tables are shown but are shown
     in comments and without parameter expansion.  This 
     greatly improves tracing output when using the FTS3/4 and/or RTREE
     virtual tables.


c0: releaselog/3_7_5.html
c1: 3.7.5
c3:
 Change the xFileControl() methods on all built-in VFSes to return
     <a href="../rescode.html#notfound">SQLITE_NOTFOUND</a> instead of <a href="../rescode.html#error">SQLITE_ERROR</a> for an unrecognized
     operation code.


c0: releaselog/3_7_5.html
c1: 3.7.5
c3:
 The SQLite core invokes the <a href="../c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlsyncomitted">SQLITE_FCNTL_SYNC_OMITTED</a> 
     <a href="../c3ref/file_control.html">file control</a>
     to the VFS in place of a call to xSync if the database has
     <a href="../pragma.html#pragma_synchronous">PRAGMA synchronous</a> set to OFF.


c0: releaselog/3_7_4.html
c1: 3.7.4
c3:
 Added the <a href="../c3ref/blob_reopen.html">sqlite3_blob_reopen()</a> interface to allow an existing
     <a href="../c3ref/blob.html">sqlite3_blob</a> object to be rebound to a new row.


c0: releaselog/3_7_4.html
c1: 3.7.4
c3:
 Use the new <a href="../c3ref/blob_reopen.html">sqlite3_blob_reopen()</a> interface to improve the performance
     of FTS.


c0: releaselog/3_7_4.html
c1: 3.7.4
c3:
 <a href="../c3ref/vfs.html">VFSes</a> that do not support shared memory are allowed
     to access <a href="../wal.html">WAL</a> databases if <a href="../pragma.html#pragma_locking_mode">PRAGMA locking_mode</a> is set to EXCLUSIVE.


c0: releaselog/3_7_4.html
c1: 3.7.4
c3:
 Added the <a href="../c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlfilepointer">SQLITE_FCNTL_FILE_POINTER</a> option
     to <a href="../c3ref/file_control.html">sqlite3_file_control()</a>.


c0: releaselog/3_7_4.html
c1: 3.7.4
c3:
 Added support for <a href="../fts3.html#fts4">FTS4</a> and enhancements 
     to the FTS <a href="../fts3.html#matchinfo">matchinfo()</a> function.


c0: releaselog/3_7_4.html
c1: 3.7.4
c3:
 Added the test_superlock.c module which provides example
     code for obtaining an exclusive lock to a rollback
     or WAL database.  


c0: releaselog/3_7_4.html
c1: 3.7.4
c3:
 Added the test_multiplex.c module which provides
     an example VFS that provides multiplexing (sharding)
     of a DB, splitting it over multiple files of fixed size.


c0: releaselog/3_7_4.html
c1: 3.7.4
c3:
 A <a href="http://www.sqlite.org/src/info/80ba201079">very obscure bug</a>
     associated with the <a href="../optoverview.html#or_opt">or optimization</a> was fixed.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 Added the <a href="../c3ref/create_function.html">sqlite3_create_function_v2()</a> interface that includes a
     destructor callback.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 Added support for <a href="../rtree.html#customquery">custom r-tree queries</a> using application-supplied
     callback routines to define the boundary of the query region.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 The default page cache strives more diligently to avoid using memory
     beyond what is allocated to it by <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigpagecache">SQLITE_CONFIG_PAGECACHE</a>.  Or if
     using page cache is allocating from the heap, it strives to avoid
     going over the <a href="../c3ref/hard_heap_limit64.html">sqlite3_soft_heap_limit64()</a>, even if
     <a href="../compile.html#enable_memory_management">SQLITE_ENABLE_MEMORY_MANAGEMENT</a> is not set.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 Added the <a href="../c3ref/hard_heap_limit64.html">sqlite3_soft_heap_limit64()</a> interface as a replacement for
     <a href="../c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit()</a>.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 The <a href="../lang_analyze.html">ANALYZE</a> command now gathers statistics on tables even if they 
     have no indices.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 Tweaks to the query planner to help it do a better job of finding the
     most efficient query plan for each query.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 Enhanced the internal text-to-numeric conversion routines so that they
     work with UTF8 or UTF16, thereby avoiding some UTF16-to-UTF8 text
     conversions.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 Fix a problem that was causing excess memory usage with large <a href="../wal.html">WAL</a>
     transactions in win32 systems.


c0: releaselog/3_7_3.html
c1: 3.7.3
c3:
 The interface between the VDBE and B-Tree layer is enhanced such that
     the VDBE provides hints to the B-Tree layer letting the B-Tree layer
     know when it is safe to use hashing instead of B-Trees for transient
     tables.


c0: releaselog/3_7_2.html
c1: 3.7.2
c3:
 Fix an <a href="http://www.sqlite.org/src/info/5e10420e8d">
     old and very obscure bug</a> that can lead to corruption of the
     database <a href="../fileformat2.html#freelist">free-page list</a> when <a href="../pragma.html#pragma_incremental_vacuum">incremental_vacuum</a> is used.


c0: releaselog/3_7_1.html
c1: 3.7.1
c3:
 Added new commands <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatusschemaused">SQLITE_DBSTATUS_SCHEMA_USED</a> and
     <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatusstmtused">SQLITE_DBSTATUS_STMT_USED</a> to the <a href="../c3ref/db_status.html">sqlite3_db_status()</a> interface, in
     order to report out the amount of memory used to hold the schema and
     prepared statements of a connection.


c0: releaselog/3_7_1.html
c1: 3.7.1
c3:
 Use the <a href="../optoverview.html#like_opt">LIKE optimization</a> even if the right-hand side string contains
     no wildcards.


c0: releaselog/3_7_1.html
c1: 3.7.1
c3:
 Added the <a href="../c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlchunksize">SQLITE_FCNTL_CHUNK_SIZE</a> verb to the <a href="../c3ref/file_control.html">sqlite3_file_control()</a>
     interface for both unix and windows, to cause database files to grow in
     large chunks in order to reduce disk fragmentation.


c0: releaselog/3_7_1.html
c1: 3.7.1
c3:
 Fixed a bug in the query planner that caused performance regressions
     relative to 3.6.23.1 on some complex joins.


c0: releaselog/3_7_1.html
c1: 3.7.1
c3:
 The SQLITE_MAX_PAGE_SIZE compile-time option is now silently ignored.
     The maximum page size is hard-coded at 65536 bytes.


c0: releaselog/3_7_0_1.html
c1: 3.7.0.1
c3:
 Fix a potential database corruption bug that can occur if version 3.7.0
     and version 3.6.23.1 alternately write to the same database file.
     <a href="http://www.sqlite.org/src/info/51ae9cad317a1">
     Ticket &#91;51ae9cad317a1&#93;</a>


c0: releaselog/3_7_0.html
c1: 3.7.0
c3:
 Query planner enhancement - automatic transient indices are created
     when doing so reduces the estimated query time.


c0: releaselog/3_7_0.html
c1: 3.7.0
c3:
 Query planner enhancement - the ORDER BY becomes a no-op if the query
     also contains a GROUP BY clause that forces the correct output order.


c0: releaselog/3_7_0.html
c1: 3.7.0
c3:
 Add the <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatuscacheused">SQLITE_DBSTATUS_CACHE_USED</a> verb for <a href="../c3ref/db_status.html">sqlite3_db_status()</a>.


c0: releaselog/3_7_0.html
c1: 3.7.0
c3:
 The logical database size is now stored in the database header so that
     bytes can be appended to the end of the database file without corrupting
     it and so that SQLite will work correctly on systems that lack support
     for ftruncate().


c0: releaselog/3_6_23_1.html
c1: 3.6.23.1
c3:
 Fix a missing "sync" that when omitted could lead to database
     corruption if a power failure or OS crash occurred just as a
     ROLLBACK operation was finishing.


c0: releaselog/3_6_23.html
c1: 3.6.23
c3:
 Added the <a href="../c3ref/compileoption_get.html">sqlite3_compileoption_used()</a> and
     <a href="../c3ref/compileoption_get.html">sqlite3_compileoption_get()</a> interfaces as well as the
     <a href="../pragma.html#pragma_compile_options">compile_options pragma</a> and the <a href="../lang_corefunc.html#sqlite_compileoption_used">sqlite_compileoption_used()</a> and
     <a href="../lang_corefunc.html#sqlite_compileoption_get">sqlite_compileoption_get()</a> SQL functions.


c0: releaselog/3_6_23.html
c1: 3.6.23
c3:
 Added the <a href="../c3ref/log.html">sqlite3_log()</a> interface together with the
     <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfiglog">SQLITE_CONFIG_LOG</a> verb to <a href="../c3ref/config.html">sqlite3_config()</a>.  The ".log" command
     is added to the <a href="../cli.html">Command Line Interface</a>.


c0: releaselog/3_6_23.html
c1: 3.6.23
c3:
 Improvements and bug-fixes in support for <a href="../compile.html#omit_floating_point">SQLITE_OMIT_FLOATING_POINT</a>.


c0: releaselog/3_6_23.html
c1: 3.6.23
c3:
 The <a href="../pragma.html#pragma_integrity_check">integrity_check pragma</a> is enhanced to detect out-of-order rowids.


c0: releaselog/3_6_23.html
c1: 3.6.23
c3:
 The ".genfkey" operator has been removed from the
     <a href="../cli.html">Command Line Interface</a>.


c0: releaselog/3_6_23.html
c1: 3.6.23
c3:
 Updates to the co-hosted <a href="../lemon.html">Lemon LALR(1) parser generator</a>. (These
     updates did not affect SQLite.)


c0: releaselog/3_6_22.html
c1: 3.6.22
c3:
Fix bugs that can (rarely) lead to incorrect query results when
    the CAST or OR operators are used in the WHERE clause of a query.


c0: releaselog/3_6_21.html
c1: 3.6.21
c3:
The SQL output resulting from <a href="../c3ref/profile.html">sqlite3_trace()</a> is now modified to include
the values of <a href="../lang_expr.html#varparam">bound parameters</a>.


c0: releaselog/3_6_21.html
c1: 3.6.21
c3:
Performance optimizations targeting a specific use case from
a single high-profile user of SQLite.  A 12% reduction in the number of
CPU operations is achieved (as measured by Valgrind).  Actual performance
improvements in practice may vary depending on workload.  Changes
include:
<ol type="a">
  <li>The <a href="../lang_corefunc.html#ifnull">ifnull()</a> and <a href="../lang_corefunc.html#coalesce">coalesce()</a> SQL functions are now implemented
  using in-line VDBE code rather than calling external functions, so that
  unused arguments need never be evaluated.
  </li><li>The <a href="../lang_corefunc.html#substr">substr()</a> SQL function does not bother to measure the length
  its entire input string if it is only computing a prefix
  </li><li>Unnecessary OP_IsNull, OP_Affinity, and OP_MustBeInt VDBE opcodes
  are suppressed
  </li><li>Various code refactorizations for performance
</li></ol>


c0: releaselog/3_6_21.html
c1: 3.6.21
c3:
The FTS3 extension has undergone a major rework and cleanup.
New <a href="../fts3.html">FTS3 documentation</a> is now available.


c0: releaselog/3_6_21.html
c1: 3.6.21
c3:
The <a href="../compile.html#secure_delete">SQLITE_SECURE_DELETE</a> compile-time option fixed to make sure that
content is deleted even when the <a href="../lang_delete.html#truncateopt">truncate optimization</a> applies.


c0: releaselog/3_6_20.html
c1: 3.6.20
c3:
Optimizer enhancement: <a href="../c3ref/stmt.html">prepared statements</a> are automatically 
re-compiled when a binding on the RHS of a LIKE operator changes or
when any range constraint changes under <a href="../compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a>.


c0: releaselog/3_6_19.html
c1: 3.6.19
c3:
Added support for <a href="../foreignkeys.html">foreign key constraints</a>.  Foreign key constraints
    are disabled by default.  Use the <a href="../pragma.html#pragma_foreign_keys">foreign_keys pragma</a> to turn them on.


c0: releaselog/3_6_19.html
c1: 3.6.19
c3:
Generalized the IS and IS NOT operators to take arbitrary expressions
    on their right-hand side.


c0: releaselog/3_6_19.html
c1: 3.6.19
c3:
The <a href="../tclsqlite.html">TCL Interface</a> has been enhanced to use the
    <a href="http://www.tcl-lang.org/cgi-bin/tct/tip/322.html">Non-Recursive Engine (NRE)</a>
    interface to the TCL interpreter when linked against TCL 8.6 or later.


c0: releaselog/3_6_19.html
c1: 3.6.19
c3:
Fix a bug introduced in 3.6.18 that can lead to a segfault when an
    attempt is made to write on a read-only database.


c0: releaselog/3_6_18.html
c1: 3.6.18
c3:
Versioning of the SQLite source code has transitioned from CVS to
    <a href="http://www.fossil-scm.org/">Fossil</a>.


c0: releaselog/3_6_18.html
c1: 3.6.18
c3:
The <a href="../compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a> compile-time option causes the <a href="../lang_analyze.html">ANALYZE</a> 
    command to collect a small histogram of each index, to help SQLite better
    select among competing range query indices.


c0: releaselog/3_6_18.html
c1: 3.6.18
c3:
Recursive triggers can be enabled using the <a href="../pragma.html#pragma_recursive_triggers">PRAGMA recursive_triggers</a>
    statement.  


c0: releaselog/3_6_18.html
c1: 3.6.18
c3:
Delete triggers fire when rows are removed due to a 
    <a href="../lang_conflict.html">REPLACE conflict resolution</a>.  This feature is only
    enabled when recursive triggers are enabled.


c0: releaselog/3_6_18.html
c1: 3.6.18
c3:
Added the <a href="../c3ref/c_open_autoproxy.html">SQLITE_OPEN_SHAREDCACHE</a> and <a href="../c3ref/c_open_autoproxy.html">SQLITE_OPEN_PRIVATECACHE</a>
    flags for <a href="../c3ref/open.html">sqlite3_open_v2()</a> used to override the global
    <a href="../sharedcache.html">shared cache mode</a> settings for individual database connections.


c0: releaselog/3_6_18.html
c1: 3.6.18
c3:
Added improved version identification features:
    C-Preprocessor macro <a href="../c3ref/c_source_id.html">SQLITE_SOURCE_ID</a>,
    C/C++ interface <a href="../c3ref/libversion.html">sqlite3_sourceid()</a>, and SQL function <a href="../lang_corefunc.html#sqlite_source_id">sqlite_source_id()</a>.


c0: releaselog/3_6_18.html
c1: 3.6.18
c3:
Obscure bug fix on triggers
(<a href="http://www.sqlite.org/src/info/efc02f9779">&#91;efc02f9779&#93;</a>).


c0: releaselog/3_6_17.html
c1: 3.6.17
c3:
Expose the <a href="../c3ref/stricmp.html">sqlite3_strnicmp()</a> interface for use by extensions and
    applications.


c0: releaselog/3_6_17.html
c1: 3.6.17
c3:
Remove the restriction on <a href="../vtab.html">virtual tables</a> and <a href="../sharedcache.html">shared cache mode</a>.
    Virtual tables and shared cache can now be used at the same time.


c0: releaselog/3_6_17.html
c1: 3.6.17
c3:
Many code simplifications and obscure bug fixes in support of
    providing <a href="../testing.html#coverage">100% branch test coverage</a>.


c0: releaselog/3_6_16_1.html
c1: 3.6.16.1
c3:
A small patch to version 3.6.16 to fix 
<a href="http://www.sqlite.org/src/info/6b00e0a34c">the OP_If bug</a>.


c0: releaselog/3_6_16.html
c1: 3.6.16
c3:
Fix a bug (ticket #3929) that occasionally causes INSERT or UPDATE
    operations to fail on an indexed table that has a self-modifying trigger.


c0: releaselog/3_6_15.html
c1: 3.6.15
c3:
Refactor the internal representation of SQL expressions so that they
    use less memory on embedded platforms.


c0: releaselog/3_6_15.html
c1: 3.6.15
c3:
The <a href="../c3ref/create_function.html">sqlite3_create_function()</a> family of interfaces now return
    <a href="../rescode.html#misuse">SQLITE_MISUSE</a> instead of <a href="../rescode.html#error">SQLITE_ERROR</a> when passed invalid
    parameter combinations.


c0: releaselog/3_6_15.html
c1: 3.6.15
c3:
When new tables are created using CREATE TABLE ... AS SELECT ... the
    datatype of the columns is the simplified SQLite datatype (TEXT, INT,
    REAL, NUMERIC, or BLOB) instead of a copy of the original datatype from
    the source table.


c0: releaselog/3_6_15.html
c1: 3.6.15
c3:
The <a href="../c3ref/initialize.html">sqlite3_shutdown()</a> interface frees all mutexes under windows.


c0: releaselog/3_6_15.html
c1: 3.6.15
c3:
Continuing improvements to the test suite and fixes to obscure
    bugs and inconsistencies that the test suite improvements are
    uncovering.
   


c0: releaselog/3_6_14_2.html
c1: 3.6.14.2
c3:
Fix a code generator bug introduced in <a href="../releaselog/3_6_14.html">version 3.6.14</a>.  This bug
    can cause incorrect query results under obscure circumstances.
    Ticket #3879.


c0: releaselog/3_6_14_1.html
c1: 3.6.14.1
c3:
Fix a bug in the <a href="../c3ref/backup.html">sqlite3_backup</a> implementation that can lead
    to a corrupt backup database.  Ticket #3858.


c0: releaselog/3_6_14.html
c1: 3.6.14
c3:
Enhanced the query optimizer so that <a href="../vtab.html">virtual tables</a> are able to
    make use of OR and IN operators in the WHERE clause.


c0: releaselog/3_6_14.html
c1: 3.6.14
c3:
Added the <a href="../compile.html#have_isnan">SQLITE_HAVE_ISNAN</a> compile-time option which will cause
    the isnan() function from the standard math library to be used instead
    of SQLite's own home-brew NaN checker.


c0: releaselog/3_6_14.html
c1: 3.6.14
c3:
Countless minor bug fixes, documentation improvements, new and
    improved test cases, and code simplifications and cleanups.


c0: releaselog/3_6_13.html
c1: 3.6.13
c3:
Fix a bug in <a href="../releaselog/3_6_12.html">version 3.6.12</a> that causes a segfault when running
    a count(*) on the sqlite_master table of an empty database. Ticket #3774.


c0: releaselog/3_6_13.html
c1: 3.6.13
c3:
Fix a bug in <a href="../releaselog/3_6_12.html">version 3.6.12</a> that causes a segfault that when 
    inserting into a table using a DEFAULT value where there is a 
    function as part of the DEFAULT value expression.  Ticket #3791.


c0: releaselog/3_6_12.html
c1: 3.6.12
c3:
Fixed a bug that caused database corruption when an <a href="../pragma.html#pragma_incremental_vacuum">incremental_vacuum</a> is
    rolled back in an in-memory database.  Ticket #3761.


c0: releaselog/3_6_12.html
c1: 3.6.12
c3:
Added the <a href="../pragma.html#pragma_reverse_unordered_selects">reverse_unordered_selects pragma</a>.


c0: releaselog/3_6_12.html
c1: 3.6.12
c3:
The default page size on windows is automatically adjusted to match the
    capabilities of the underlying filesystem.


c0: releaselog/3_6_12.html
c1: 3.6.12
c3:
Add the new ".genfkey" command in the <a href="../cli.html">CLI</a> for generating triggers to
    implement foreign key constraints.


c0: releaselog/3_6_11.html
c1: 3.6.11
c3:
Added new methods <a href="../tclsqlite.html#backup">backup</a> and
    <a href="../tclsqlite.html#restore">restore</a> to the TCL interface.


c0: releaselog/3_6_9.html
c1: 3.6.9
c3:
Fix two bugs, which when combined might result in incorrect
    query results.  Both bugs were harmless by themselves; only when
    they team up do they cause problems.  Ticket #3581.


c0: releaselog/3_6_8.html
c1: 3.6.8
c3:
Enhanced the query optimizer so that it is able to use
    multiple indices to efficiently process 
    <a href="../optoverview.html#or_opt">OR-connected constraints</a>
    in a WHERE clause.


c0: releaselog/3_6_8.html
c1: 3.6.8
c3:
Added support for parentheses in FTS3 query patterns using the
    <a href="../compile.html#enable_fts3_parenthesis">SQLITE_ENABLE_FTS3_PARENTHESIS</a> compile-time option.


c0: releaselog/3_6_7.html
c1: 3.6.7
c3:
Changed the prototype of the <a href="../c3ref/auto_extension.html">sqlite3_auto_extension()</a> interface in a
    way that is backwards compatible but which might cause warnings in new
    builds of applications that use that interface.


c0: releaselog/3_6_7.html
c1: 3.6.7
c3:
Changed the signature of the xDlSym method of the <a href="../c3ref/vfs.html">sqlite3_vfs</a> object
    in a way that is backwards compatible but which might cause
    compiler warnings.


c0: releaselog/3_6_7.html
c1: 3.6.7
c3:
Added superfluous casts and variable initializations in order
    to suppress nuisance compiler warnings.


c0: releaselog/3_6_6_2.html
c1: 3.6.6.2
c3:
Fix a bug in the b-tree delete algorithm that seems like it might be
    able to cause database corruption.  The bug was first introduced in
    <a href="../releaselog/3_6_6.html">version 3.6.6</a> by check-in &#91;5899&#93; on 2008-11-13.


c0: releaselog/3_6_6_1.html
c1: 3.6.6.1
c3:
Fix a bug in the page cache that can lead database corruption following
    a rollback.  This bug was first introduced in <a href="../releaselog/3_6_4.html">version 3.6.4</a>.


c0: releaselog/3_6_6.html
c1: 3.6.6
c3:
Fix a problem in the virtual table commit mechanism that was causing
    a crash in FTS3.  Ticket #3497.


c0: releaselog/3_6_5.html
c1: 3.6.5
c3:
Added the <a href="../compile.html#omit_truncate_optimization">SQLITE_OMIT_TRUNCATE_OPTIMIZATION</a> compile-time option.


c0: releaselog/3_6_5.html
c1: 3.6.5
c3:
Fixed the <a href="../lang_delete.html#truncateopt">truncate optimization</a> so that <a href="../c3ref/changes.html">sqlite3_changes()</a> and
    <a href="../c3ref/total_changes.html">sqlite3_total_changes()</a> interfaces and the <a href="../pragma.html#pragma_count_changes">count_changes pragma</a>
    return the correct values.


c0: releaselog/3_6_5.html
c1: 3.6.5
c3:
The <a href="../lang_transaction.html">COMMIT</a> command now succeeds even if there are pending queries.
    It returns <a href="../rescode.html#busy">SQLITE_BUSY</a> if there are pending incremental BLOB I/O requests.


c0: releaselog/3_6_5.html
c1: 3.6.5
c3:
The error code is changed to <a href="../rescode.html#busy">SQLITE_BUSY</a> (instead of <a href="../rescode.html#error">SQLITE_ERROR</a>)
    when an attempt is made to <a href="../lang_transaction.html">ROLLBACK</a> while one or more queries are
    still pending.


c0: releaselog/3_6_5.html
c1: 3.6.5
c3:
Drop all support for the <a href="../malloc.html#memsysx">experimental memory allocators</a> memsys4 and
    memsys6.


c0: releaselog/3_6_4.html
c1: 3.6.4
c3:
Add option support for LIMIT and ORDER BY clauses on <a href="../lang_delete.html">DELETE</a> and
    <a href="../lang_update.html">UPDATE</a> statements.  Only works if SQLite is compiled with
    <a href="../compile.html#enable_update_delete_limit">SQLITE_ENABLE_UPDATE_DELETE_LIMIT</a>.


c0: releaselog/3_6_4.html
c1: 3.6.4
c3:
Added the <a href="../c3ref/stmt_status.html">sqlite3_stmt_status()</a> interface for performance monitoring.


c0: releaselog/3_6_4.html
c1: 3.6.4
c3:
Added the
  <a href="http://www.sqlite.org/src/finfo?name=tool/genfkey.c">
  source code</a> and
  <a href="http://www.sqlite.org/src/finfo?name=tool/genfkey.README">
  documentation</a> for the <b>genfkey</b> program for automatically generating
  triggers to enforce foreign key constraints.


c0: releaselog/3_6_4.html
c1: 3.6.4
c3:
The <a href="../lang.html">SQL language documentation</a> is converted to use 
<a href="../syntaxdiagrams.html">syntax diagrams</a> instead of BNF.


c0: releaselog/3_6_1.html
c1: 3.6.1
c3:
Added the <a href="../malloc.html#lookaside">lookaside memory allocator</a> for a speed improvement in excess
    of 15% on some workloads.  (Your mileage may vary.)


c0: releaselog/3_6_1.html
c1: 3.6.1
c3:
Added the <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfiglookaside">SQLITE_CONFIG_LOOKASIDE</a> verb to <a href="../c3ref/config.html">sqlite3_config()</a> to control
    the default lookaside configuration.


c0: releaselog/3_6_1.html
c1: 3.6.1
c3:
Added verbs <a href="../c3ref/c_status_malloc_count.html#sqlitestatuspagecachesize">SQLITE_STATUS_PAGECACHE_SIZE</a> and
    <a href="../c3ref/c_status_malloc_count.html#sqlitestatusscratchsize">SQLITE_STATUS_SCRATCH_SIZE</a> to the <a href="../c3ref/status.html">sqlite3_status()</a> interface.


c0: releaselog/3_6_1.html
c1: 3.6.1
c3:
Modified <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigpagecache">SQLITE_CONFIG_PAGECACHE</a> and <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigscratch">SQLITE_CONFIG_SCRATCH</a> to remove
    the "+4" magic number in the buffer size computation.


c0: releaselog/3_6_1.html
c1: 3.6.1
c3:
Added the <a href="../c3ref/db_config.html">sqlite3_db_config()</a> and <a href="../c3ref/db_status.html">sqlite3_db_status()</a> interfaces for
    controlling and monitoring the lookaside allocator separately on each
    <a href="../c3ref/sqlite3.html">database connection</a>.


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
Modifications to the <a href="../c3ref/vfs.html">virtual file system</a> interface
    to support a wider range of embedded systems.
    See <a href="../35to36.html">35to36.html</a> for additional information.
    <font color="red">*** Potentially incompatible change ***</font>


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
All C-preprocessor macros used to control compile-time options
    now begin with the prefix "SQLITE_".  This may require changes to
    applications that compile SQLite using their own makefiles and with
    custom compile-time options, hence we mark this as a
    <font color="red">*** Potentially incompatible change ***</font>


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
The SQLITE_MUTEX_APPDEF compile-time option is no longer supported.
    Alternative mutex implementations can now be added at run-time using
    the <a href="../c3ref/config.html">sqlite3_config()</a> interface with the <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigmutex">SQLITE_CONFIG_MUTEX</a> verb.
    <font color="red">*** Potentially incompatible change ***</font>


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
The handling of IN and NOT IN operators that contain a NULL on their
    right-hand side expression is brought into compliance with the SQL
    standard and with other SQL database engines.  This is a bug fix,
    but as it has the potential to break legacy applications that depend
    on the older buggy behavior, we mark that as a
    <font color="red">*** Potentially incompatible change ***</font>


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
The result column names generated for compound subqueries have been 
    simplified to show only the name of the column of the original table and
    omit the table name.  This makes SQLite operate more like other SQL
    database engines.


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
Added the <a href="../c3ref/config.html">sqlite3_config()</a> interface for doing run-time configuration
    of the entire SQLite library.


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
Added the <a href="../c3ref/status.html">sqlite3_status()</a> interface used for querying run-time status
    information about the overall SQLite library and its subsystems.


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
Added the <a href="../c3ref/initialize.html">sqlite3_initialize()</a> and <a href="../c3ref/initialize.html">sqlite3_shutdown()</a> interfaces.


c0: releaselog/3_6_0.html
c1: 3.6.0
c3:
The <a href="../c3ref/c_open_autoproxy.html">SQLITE_OPEN_NOMUTEX</a> option was added to <a href="../c3ref/open.html">sqlite3_open_v2()</a>.


c0: releaselog/3_5_9.html
c1: 3.5.9
c3:
Added <em>experimental</em>
    support for the <a href="../pragma.html#pragma_journal_mode">journal_mode</a> PRAGMA and persistent journal.


c0: releaselog/3_5_9.html
c1: 3.5.9
c3:
<a href="../pragma.html#pragma_journal_mode">Journal mode PERSIST</a> is the default behavior in
    <a href="../pragma.html#pragma_locking_mode">exclusive locking mode</a>.


c0: releaselog/3_5_9.html
c1: 3.5.9
c3:
Fix a performance regression on LEFT JOIN (see ticket #3015)
    that was mistakenly introduced in <a href="../releaselog/3_5_8.html">version 3.5.8</a>.


c0: releaselog/3_5_9.html
c1: 3.5.9
c3:
Performance enhancement: Reengineer the internal routines used
    to interpret and render variable-length integers.


c0: releaselog/3_5_9.html
c1: 3.5.9
c3:
Fix a buffer-overrun problem in <a href="../c3ref/mprintf.html">sqlite3_mprintf()</a> which occurs
    when a string without a zero-terminator is passed to "%.*s".


c0: releaselog/3_5_9.html
c1: 3.5.9
c3:
Make sure that when a connection blocks on a RESERVED lock that
    it is able to continue after the lock is released.  (Ticket #3093)


c0: releaselog/3_5_9.html
c1: 3.5.9
c3:
The "configure" scripts should now automatically configure Unix
    systems for large file support.  Improved error messages for
    when large files are encountered and large file support is disabled.


c0: releaselog/3_5_8.html
c1: 3.5.8
c3:
Expose SQLite's internal pseudo-random number generator (PRNG)
    via the <a href="../c3ref/randomness.html">sqlite3_randomness()</a> interface


c0: releaselog/3_5_8.html
c1: 3.5.8
c3:
New interface <a href="../c3ref/context_db_handle.html">sqlite3_context_db_handle()</a> that returns the
    <a href="../c3ref/sqlite3.html">database connection</a> handle that has invoked an application-defined
    SQL function.


c0: releaselog/3_5_8.html
c1: 3.5.8
c3:
New interface <a href="../c3ref/limit.html">sqlite3_limit()</a> allows size and length limits to be
    set on a per-connection basis and at run-time.


c0: releaselog/3_5_8.html
c1: 3.5.8
c3:
Allow the <a href="../lang_vacuum.html">VACUUM</a> command to change the page size of a database file.


c0: releaselog/3_5_8.html
c1: 3.5.8
c3:
Performance improvement: The OP_IdxDelete opcode uses unpacked records,
    obviating the need for one OP_MakeRecord opcode call for each index
    record deleted.


c0: releaselog/3_5_8.html
c1: 3.5.8
c3:
Performance improvement: Results of OP_Column are reused rather than
    issuing multiple OP_Column opcodes.


c0: releaselog/3_5_8.html
c1: 3.5.8
c3:
Fix a bug in the SQLITE_SECURE_DELETE option that was causing
    Firefox crashes.  Make arrangements to always test SQLITE_SECURE_DELETE
    prior to each release.


c0: releaselog/3_5_7.html
c1: 3.5.7
c3:
Fix a bug (ticket #2927) in the register allocation for
compound selects - introduced by the new VM code in version 3.5.5.


c0: releaselog/3_5_7.html
c1: 3.5.7
c3:
Use the WHERE clause to reduce the size of a materialized VIEW in
an UPDATE or DELETE statement. (Optimization)


c0: releaselog/3_5_7.html
c1: 3.5.7
c3:
Do not apply the flattening optimization if the outer query is an
aggregate and the inner query contains ORDER BY.  (Ticket #2943)


c0: releaselog/3_5_7.html
c1: 3.5.7
c3:
Fix a bug in the LIKE optimizer that occurs when the last character
before the first wildcard is an upper-case "Z"


c0: releaselog/3_5_7.html
c1: 3.5.7
c3:
Added the "bitvec" object for keeping track of which pages have
been journalled.  Improves speed and reduces memory consumption, especially
for large database files.


c0: releaselog/3_5_7.html
c1: 3.5.7
c3:
Store the statement journal in the temporary file directory instead of
collocated with the database file.


c0: releaselog/3_5_6.html
c1: 3.5.6
c3:
Fix a bug (ticket #2913)
that prevented virtual tables from working in a LEFT JOIN.
The problem was introduced into shortly before the 3.5.5 release.


c0: releaselog/3_5_6.html
c1: 3.5.6
c3:
Add the new <a href="../c3ref/result_blob.html">sqlite3_result_error_code()</a> API and use it in the
implementation of <a href="../lang_attach.html">ATTACH</a> so that proper error codes are returned
when an <a href="../lang_attach.html">ATTACH</a> fails.


c0: releaselog/3_5_5.html
c1: 3.5.5
c3:
Convert the underlying virtual machine to be a register-based machine
rather than a stack-based machine.  The only user-visible change
is in the output of EXPLAIN.


c0: releaselog/3_5_4.html
c1: 3.5.4
c3:
Fix a critical bug in UPDATE or DELETE that occurs when an
OR REPLACE clause or a trigger causes rows in the same table to
be deleted as side effects.  (See ticket #2832.)  The most likely
result of this bug is a segmentation fault, though database
corruption is a possibility.


c0: releaselog/3_5_4.html
c1: 3.5.4
c3:
Bring the processing of ORDER BY into compliance with the 
SQL standard for case where a result alias and a table column name
are in conflict.  Correct behavior is to prefer the result alias.
Older versions of SQLite incorrectly picked the table column.
(See ticket #2822.)


c0: releaselog/3_5_4.html
c1: 3.5.4
c3:
The <a href="../lang_vacuum.html">VACUUM</a> command preserves
the setting of the 
<a href="../pragma.html#pragma_legacy_file_format">legacy_file_format pragma</a>.
(Ticket #2804.)


c0: releaselog/3_5_4.html
c1: 3.5.4
c3:
Add the ability to change the 
<a href="../pragma.html#pragma_auto_vacuum">auto_vacuum</a> status of a
database by setting the auto_vaccum pragma and VACUUMing the database.


c0: releaselog/3_5_4.html
c1: 3.5.4
c3:
Relax the SQL statement length restriction in the CLI so that
the ".dump" output of databases with very large BLOBs and strings can
be played back to recreate the database.


c0: releaselog/3_5_3.html
c1: 3.5.3
c3:
Move website and documentation files out of the source tree into
a <a href="http://www.sqlite.org/docsrc/">separate CM system</a>.


c0: releaselog/3_5_3.html
c1: 3.5.3
c3:
<a href="../c3ref/step.html">sqlite3_step()</a> returns <a href="../rescode.html#misuse">SQLITE_MISUSE</a> instead of crashing when
called with a NULL parameter.


c0: releaselog/3_5_3.html
c1: 3.5.3
c3:
FTS3 now uses the SQLite memory allocator exclusively.  The
FTS3 amalgamation can now be appended to the SQLite amalgamation to
generate a super-amalgamation containing both.


c0: releaselog/3_5_3.html
c1: 3.5.3
c3:
The DISTINCT keyword now will sometimes use an INDEX if an
appropriate index is available and the optimizer thinks its use
might be advantageous.


c0: releaselog/3_5_2.html
c1: 3.5.2
c3:
Dropped support for the <a href="../compile.html#omitfeatures">SQLITE_OMIT_MEMORY_ALLOCATION</a> compile-time
option.


c0: releaselog/3_5_2.html
c1: 3.5.2
c3:
Virtual machine stores 64-bit integer and floating point constants
in binary instead of text for a performance boost.


c0: releaselog/3_5_1.html
c1: 3.5.1
c3:
<i><b>Nota Bene:</b> We are not using terms "alpha" or "beta" on this
    release because the code is stable and because if we use those terms,
    nobody will upgrade.  However, we still reserve the right to make
    incompatible changes to the new VFS interface in future releases.</i>


c0: releaselog/3_5_1.html
c1: 3.5.1
c3:
Fix a bug in the handling of <a href="../rescode.html#full">SQLITE_FULL</a> errors that could lead
    to database corruption.  Ticket #2686.


c0: releaselog/3_5_1.html
c1: 3.5.1
c3:
The test_async.c drive now does full file locking and works correctly
    when used simultaneously by multiple processes on the same database.


c0: releaselog/3_5_1.html
c1: 3.5.1
c3:
Make sure the query optimizer checks dependencies on all terms of
    a compound SELECT statement.  Ticket #2640.


c0: releaselog/3_5_1.html
c1: 3.5.1
c3:
Sticky <a href="../rescode.html#full">SQLITE_FULL</a> or <a href="../rescode.html#ioerr">SQLITE_IOERR</a> errors in the pager are reset
    when a new transaction is started.


c0: releaselog/3_5_0.html
c1: 3.5.0
c3:
Redesign the OS interface layer.  See
    <a href="../34to35.html">34to35.html</a> for details.
    <font color="red">*** Potentially incompatible change ***</font>


c0: releaselog/3_5_0.html
c1: 3.5.0
c3:
The <a href="../c3ref/release_memory.html">sqlite3_release_memory()</a>, <a href="../c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit()</a>,
    and <a href="../c3ref/enable_shared_cache.html">sqlite3_enable_shared_cache()</a> interfaces now work cross all
    threads in the process, not just the single thread in which they
    are invoked.
    <font color="red">*** Potentially incompatible change ***</font>


c0: releaselog/3_4_2.html
c1: 3.4.2
c3:
Fix a database corruption bug that might occur if a ROLLBACK command
is executed in <a href="../pragma.html#pragma_auto_vacuum">auto-vacuum mode</a>
and a very small <a href="../c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit</a> is set. 
Ticket #2565.


c0: releaselog/3_4_2.html
c1: 3.4.2
c3:
Add the ability to run a full regression test with a small
<a href="../c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit</a>.


c0: releaselog/3_4_2.html
c1: 3.4.2
c3:
Improvements to the amalgamation generator script so that all symbols
are prefixed with either SQLITE_PRIVATE or SQLITE_API.


c0: releaselog/3_4_1.html
c1: 3.4.1
c3:
Fix a bug in <a href="../lang_vacuum.html">VACUUM</a> that can lead to
    database corruptio if two
    processes are connected to the database at the same time and one
    VACUUMs then the other then modifies the database.


c0: releaselog/3_4_1.html
c1: 3.4.1
c3:
The expression "+column" is now considered the same as "column"
    when computing the collating sequence to use on the expression.


c0: releaselog/3_4_1.html
c1: 3.4.1
c3:
In the <a href="../tclsqlite.html">TCL language interface</a>,
   "@variable" instead of "$variable" always binds as a blob.


c0: releaselog/3_4_1.html
c1: 3.4.1
c3:
Added <a href="../pragma.html#pragma_freelist_count">PRAGMA freelist_count</a>
    for determining the current size of the freelist.


c0: releaselog/3_4_1.html
c1: 3.4.1
c3:
The <a href="../pragma.html#pragma_auto_vacuum">
    PRAGMA auto_vacuum=incremental</a> setting is now persistent.


c0: releaselog/3_4_1.html
c1: 3.4.1
c3:
Fix a bug in the <a href="../optoverview.html#minmax">
    min()/max() optimization</a> when applied to
    descending indices.


c0: releaselog/3_4_1.html
c1: 3.4.1
c3:
Use the macro SQLITE_PRIVATE (defaulting to "static") on all
    internal functions in the amalgamation.


c0: releaselog/3_4_1.html
c1: 3.4.1
c3:
Add pluggable tokenizers and <a href="http://www.icu-project.org/">ICU</a>
    tokenization support to FTS2


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Fix a bug that can lead to database corruption if an <a href="../rescode.html#busy">SQLITE_BUSY</a> error
    occurs in the middle of an explicit transaction and that transaction
    is later committed.  Ticket #2409.


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Fix a bug that can lead to database corruption if autovacuum mode is
    on and a malloc() failure follows a CREATE TABLE or CREATE INDEX statement
    which itself follows a cache overflow inside a transaction.  See
    ticket #2418. 
    


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Added explicit <a href="../limits.html">upper bounds</a> on the sizes and
    quantities of things SQLite can process.  This change might cause
    compatibility problems for
    applications that use SQLite in the extreme, which is why the current
    release is 3.4.0 instead of 3.3.18.


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Added the <a href="../c3ref/bind_blob.html">sqlite3_bind_zeroblob()</a> API
    and the <a href="../lang_expr.html#zeroblob">zeroblob()</a> SQL function.


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Added the SQLITE_MIXED_ENDIAN_64BIT_FLOAT compile-time option to support
    ARM7 processors with goofy endianness.


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Added support for
    <a href="http://www.icu-project.org/">International Components for Unicode (ICU)</a>
    to the full-text search extensions.


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
In the Windows OS driver, reacquire a SHARED lock if an attempt to
    acquire an EXCLUSIVE lock fails.  Ticket #2354


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Fix the REPLACE() function so that it returns NULL if the second argument
    is an empty string.  Ticket #2324.


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Document the hazards of type conversions in
    <a href="../c3ref/column_blob.html">sqlite3_column_blob()</a>
    and related APIs.  Fix unnecessary type conversions.  Ticket #2321.


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Use memmove() instead of memcpy() when moving between memory regions
    that might overlap.  Ticket #2334


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Fix an optimizer bug involving subqueries in a compound SELECT that has
    both an ORDER BY and a LIMIT clause.  Ticket #2339.


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Make sure the <a href="../c3ref/mprintf.html">sqlite3_snprintf()</a>
    interface does not zero-terminate the buffer if the buffer size is
    less than 1.  Ticket #2341


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Fix the built-in printf logic so that it prints "NaN" not "Inf" for
    floating-point NaNs.  Ticket #2345


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Consider explicit collate clauses when matching WHERE constraints
    to indices in the query optimizer.  Ticket #2391


c0: releaselog/3_4_0.html
c1: 3.4.0
c3:
Fix the query optimizer to correctly handle constant expressions in 
    the ON clause of a LEFT JOIN.  Ticket #2403


c0: releaselog/3_3_17.html
c1: 3.3.17
c3:
When the "write_version" value of the database header is larger than
    what the library understands, make the database read-only instead of
    unreadable.


c0: releaselog/3_3_16.html
c1: 3.3.16
c3:
Reinstate performance improvements that were added in
    <a href="../releaselog/3_3_14.html">Version 3.3.14</a>
    but regressed in <a href="../releaselog/3_3_15.html">Version 3.3.15</a>.


c0: releaselog/3_3_16.html
c1: 3.3.16
c3:
Fix problems with the handling of ORDER BY expressions on
    compound SELECT statements in subqueries.


c0: releaselog/3_3_15.html
c1: 3.3.15
c3:
Fix a bug introduced in 3.3.14 that caused a rollback of
    CREATE TEMP TABLE to leave the database connection wedged.


c0: releaselog/3_3_15.html
c1: 3.3.15
c3:
Fix a bug that caused an extra NULL row to be returned when
    a descending query was interrupted by a change to the database.


c0: releaselog/3_3_15.html
c1: 3.3.15
c3:
The FOR EACH STATEMENT clause on a trigger now causes a syntax
    error.  It used to be silently ignored.


c0: releaselog/3_3_15.html
c1: 3.3.15
c3:
Fix an obscure and relatively harmless problem that might have caused
    a resource leak following an I/O error.


c0: releaselog/3_3_14.html
c1: 3.3.14
c3:
Fix a bug (ticket #2273)
    that could cause a segfault when the IN operator
    is used one term of a two-column index and the right-hand side of
    the IN operator contains a NULL.


c0: releaselog/3_3_14.html
c1: 3.3.14
c3:
Added a new OS interface method for determining the sector size
    of underlying media:  sqlite3OsSectorSize().


c0: releaselog/3_3_14.html
c1: 3.3.14
c3:
A new algorithm for statements of the form
    INSERT INTO <i>table1</i> SELECT * FROM <i>table2</i>
    is faster and reduces fragmentation.  VACUUM uses statements of
    this form and thus runs faster and defragments better.


c0: releaselog/3_3_14.html
c1: 3.3.14
c3:
Performance enhancements through reductions in disk I/O:
<ol type="a">
  <li>Do not read the last page of an overflow chain when
      deleting the row - just add that page to the freelist.</li>
  <li>Do not store pages being deleted in the 
      rollback journal.</li>
  <li>Do not read in the (meaningless) content of
      pages extracted from the freelist.</li>
  <li>Do not flush the page cache (and thus avoiding
      a cache refill) unless another process changes the underlying
      database file.</li>
  <li>Truncate rather than delete the rollback journal when committing
      a transaction in exclusive access mode, or when committing the TEMP
      database.</li>
</ol>


c0: releaselog/3_3_14.html
c1: 3.3.14
c3:
Added support for exclusive access mode using
    <a href="../pragma.html#pragma_locking_mode">
    "PRAGMA locking_mode=EXCLUSIVE"</a>


c0: releaselog/3_3_14.html
c1: 3.3.14
c3:
Use heap space instead of stack space for large buffers in the
    pager - useful on embedded platforms with  stack-space
    limitations.


c0: releaselog/3_3_14.html
c1: 3.3.14
c3:
Add a makefile target "sqlite3.c" that builds an amalgamation containing
    the core SQLite library C code in a single file.


c0: releaselog/3_3_14.html
c1: 3.3.14
c3:
Improvements to test coverage, other minor bugs fixed,
    memory leaks plugged,
    code refactored and/or recommended in places for easier reading.


c0: releaselog/3_3_13.html
c1: 3.3.13
c3:
Add the COLLATE operator used to explicitly set the collating sequence
used by an expression.  This feature is considered experimental pending
additional testing.


c0: releaselog/3_3_13.html
c1: 3.3.13
c3:
Added two new experimental functions:
<a href="../lang_expr.html#randomblobFunc">randomBlob()</a> and
<a href="../lang_expr.html#hexFunc">hex()</a>.
Their intended use is to facilitate generating 
<a href="http://en.wikipedia.org/wiki/UUID">UUIDs</a>.


c0: releaselog/3_3_13.html
c1: 3.3.13
c3:
Fix a problem where
<a href="../pragma.html#pragma_count_changes">PRAGMA count_changes</a> was
causing incorrect results for updates on tables with triggers


c0: releaselog/3_3_13.html
c1: 3.3.13
c3:
Fix a bug in the ORDER BY clause optimizer for joins where the
left-most table in the join is constrained by a UNIQUE index.


c0: releaselog/3_3_12.html
c1: 3.3.12
c3:
Limit the amount of output that
<a href="../pragma.html#pragma_integrity_check">PRAGMA integrity_check</a>
generates.


c0: releaselog/3_3_11.html
c1: 3.3.11
c3:
Fix another bug in the implementation of the new 
<a href="../c3ref/prepare.html">sqlite3_prepare_v2()</a> API.
We'll get it right eventually...


c0: releaselog/3_3_11.html
c1: 3.3.11
c3:
Fix a bug in the IS NULL optimization that was added in version 3.3.9 -
the bug was causing incorrect results on certain LEFT JOINs that included
in the WHERE clause an IS NULL constraint for the right table of the
LEFT JOIN.


c0: releaselog/3_3_10.html
c1: 3.3.10
c3:
Fix bugs in the implementation of the new 
<a href="../c3ref/prepare.html">sqlite3_prepare_v2()</a> API
that can lead to segfaults.


c0: releaselog/3_3_10.html
c1: 3.3.10
c3:
The
<a href="../pragma.html#pragma_user_version">user_version</a> and
<a href="../pragma.html#pragma_schema_version">schema_version</a> pragmas 
correctly set their column names in the result set


c0: releaselog/3_3_9.html
c1: 3.3.9
c3:
Fix bugs in pager.c that could lead to database corruption if two
processes both try to recover a hot journal at the same instant


c0: releaselog/3_3_9.html
c1: 3.3.9
c3:
Change the table_info pragma so that it returns NULL for the default
value if there is no default value


c0: releaselog/3_3_9.html
c1: 3.3.9
c3:
Query optimizer enhancements:
<ol type="a">
  <li>Optimizer does a better job of using indices to satisfy ORDER BY
  clauses that sort on the integer primary key</li>
  <li>Use an index to satisfy an IS NULL operator in the WHERE clause</li>
  <li>Fix a bug that was causing the optimizer to miss an OR optimization
  opportunity</li>
  <li>The optimizer has more freedom to reorder tables in the FROM clause
  even in there are LEFT joins.</li>
</ol>


c0: releaselog/3_3_9.html
c1: 3.3.9
c3:
Make CSV (comma separate value) output from the command-line shell
more closely aligned to accepted practice


c0: releaselog/3_3_9.html
c1: 3.3.9
c3:
VACUUM uses a temporary file in the official TEMP folder, not in the
same directory as the original database


c0: releaselog/3_3_7.html
c1: 3.3.7
c3:
The 
<a href="../c3ref/interrupt.html">sqlite3_interrupt()</a>
routine can be called for a different thread


c0: releaselog/3_3_5.html
c1: 3.3.5
c3:
Choose the column names in a compound query from the left-most SELECT
    instead of the right-most.


c0: releaselog/3_3_5.html
c1: 3.3.5
c3:
Allow WHERE clause terms on the left table of a LEFT OUTER JOIN to
    contain aggregate subqueries.


c0: releaselog/3_3_4.html
c1: 3.3.4
c3:
Fix an optimizer bug that could have caused some unusual LEFT OUTER JOINs
to give incorrect results.


c0: releaselog/3_3_4.html
c1: 3.3.4
c3:
The SUM function detects integer overflow and converts to accumulating
an approximate result using floating point numbers


c0: releaselog/3_3_3.html
c1: 3.3.3
c3:
Removed support for an ON CONFLICT clause on CREATE INDEX - it never
worked correctly so this should not present any backward compatibility
problems.


c0: releaselog/3_3_3.html
c1: 3.3.3
c3:
After any changes to the TEMP database schema, all prepared statements
are invalidated and must be recreated using a new call to
sqlite3_prepare()


c0: releaselog/3_3_1.html
c1: 3.3.1
c3:
Database connections can now be used by multiple threads, not just
the thread in which they were created.


c0: releaselog/3_3_0.html
c1: 3.3.0
c3:
Optional READ UNCOMMITTED isolation (instead of the default
isolation level of SERIALIZABLE) and table level locking when
database connections share a common cache.


c0: releaselog/3_2_8.html
c1: 3.2.8
c3:
Fix an obscure bug that can cause database corruption under the
following unusual circumstances: A large INSERT or UPDATE statement which 
is part of an even larger transaction fails due to a uniqueness constraint
but the containing transaction commits.


c0: releaselog/3_2_6.html
c1: 3.2.6
c3:
Fix a bug that can cause database corruption if a VACUUM (or
    autovacuum) fails and is rolled back on a database that is
    larger than 1GiB


c0: releaselog/3_2_5.html
c1: 3.2.5
c3:
Fix a code generator bug that occurs when the left-hand side of an IN
operator is constant and the right-hand side is a SELECT statement


c0: releaselog/3_2_5.html
c1: 3.2.5
c3:
The PRAGMA synchronous=off statement now disables syncing of the
master journal file in addition to the normal rollback journals


c0: releaselog/3_2_4.html
c1: 3.2.4
c3:
Fix a bug introduced in the previous release
that can cause a segfault while generating code
for complex WHERE clauses.


c0: releaselog/3_2_3.html
c1: 3.2.3
c3:
Added the ANALYZE command for gathering statistics on indices and
using those statistics when picking an index in the optimizer


c0: releaselog/3_2_3.html
c1: 3.2.3
c3:
The right-hand side of the IN operator can now be a list of expressions
instead of just a list of constants


c0: releaselog/3_2_3.html
c1: 3.2.3
c3:
The IN operator is now a candidate for optimization even if the left-hand
side is not the left-most term of the index.  Multiple IN operators can be
used with the same index.


c0: releaselog/3_2_3.html
c1: 3.2.3
c3:
Added the "case_sensitive_like" pragma and the SQLITE_CASE_SENSITIVE_LIKE
compile-time option to set its default value to "on".


c0: releaselog/3_2_3.html
c1: 3.2.3
c3:
Use indices to help with GLOB expressions and LIKE expressions too
when the case_sensitive_like pragma is enabled


c0: releaselog/3_2_2.html
c1: 3.2.2
c3:
Added a REGEXP operator to the parser.  There is no function to back
up this operator in the standard build but users can add their own using
sqlite3_create_function()


c0: releaselog/3_1_6.html
c1: 3.1.6
c3:
Fix a bug that could cause database corruption when inserting
    record into tables with around 125 columns.


c0: releaselog/3_1_6.html
c1: 3.1.6
c3:
sqlite3_step() is now much more likely to invoke the busy handler
    and less likely to return SQLITE_BUSY.


c0: releaselog/3_1_5.html
c1: 3.1.5
c3:
The ioctl on Mac OS X to control syncing to disk is F_FULLFSYNC,
    not F_FULLSYNC.  The previous release had it wrong.


c0: releaselog/3_1_4.html
c1: 3.1.4
c3:
Fix a bug in autovacuum that could cause database corruption if
a CREATE UNIQUE INDEX fails because of a constraint violation.
This problem only occurs if the new autovacuum feature introduced in
version 3.1 is turned on.


c0: releaselog/3_1_4.html
c1: 3.1.4
c3:
The F_FULLSYNC ioctl (currently only supported on Mac OS X) is disabled
if the synchronous pragma is set to something other than "full".


c0: releaselog/3_1_3.html
c1: 3.1.3
c3:
Fix a problem with VACUUM on databases from which tables containing
AUTOINCREMENT have been dropped.


c0: releaselog/3_1_2.html
c1: 3.1.2
c3:
Fix a bug that can lead to database corruption if there are two
open connections to the same database and one connection does a VACUUM
and the second makes some change to the database.


c0: releaselog/3_1_1.html
c1: 3.1.1
c3:
ATTACH and DETACH as well as some other operations cause existing
    prepared statements to expire.


c0: releaselog/3_1_0.html
c1: 3.1.0
c3:
Many SQLITE_OMIT_ macros inserts to omit features at compile-time
    and reduce the library footprint.


c0: releaselog/3_1_0.html
c1: 3.1.0
c3:
The engine no longer consults the main table if it can get
    all the information it needs from an index.


c0: releaselog/3_0_8.html
c1: 3.0.8
c3:
Allow new user-defined functions to be created when there are
already one or more precompiled SQL statements.


c0: releaselog/3_0_7.html
c1: 3.0.7
c3:
The BTree module allocates large buffers using malloc() instead of
    off of the stack, in order to play better on machines with limited
    stack space.


c0: releaselog/3_0_7.html
c1: 3.0.7
c3:
Fixed naming conflicts so that versions 2.8 and 3.0 can be
    linked and used together in the same ANSI-C source file.


c0: releaselog/3_0_7.html
c1: 3.0.7
c3:
The sqlite3_trace() callbacks occur before each statement
    is executed, not when the statement is compiled.


c0: releaselog/3_0_6.html
c1: 3.0.6
c3:
The sqlite3_step() interface returns SQLITE_BUSY if it is unable
    to commit a change because of a lock


c0: releaselog/3_0_5.html
c1: 3.0.5
c3:
Add the ability to specify an alternative temporary file directory
    using the "sqlite_temp_directory" global variable.


c0: releaselog/3_0_5.html
c1: 3.0.5
c3:
A compile-time option (SQLITE_BUSY_RESERVED_LOCK) causes the busy
    handler to be called when there is contention for a RESERVED lock.


c0: releaselog/3_0_4.html
c1: 3.0.4
c3:
Fix a bug that could cause index corruption when an attempt to
    delete rows of a table is blocked by a pending query.


