diff options
Diffstat (limited to 'www/releaselog/3_21_0.html')
-rw-r--r-- | www/releaselog/3_21_0.html | 209 |
1 files changed, 209 insertions, 0 deletions
diff --git a/www/releaselog/3_21_0.html b/www/releaselog/3_21_0.html new file mode 100644 index 0000000..bcb8548 --- /dev/null +++ b/www/releaselog/3_21_0.html @@ -0,0 +1,209 @@ +<!DOCTYPE html> +<html><head> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<link href="../sqlite.css" rel="stylesheet"> +<title>SQLite Release 3.21.0 On 2017-10-24</title> +<!-- path=../ --> +</head> +<body> +<div class=nosearch> +<a href="../index.html"> +<img class="logo" src="../images/sqlite370_banner.gif" alt="SQLite" border="0"> +</a> +<div><!-- IE hack to prevent disappearing logo --></div> +<div class="tagline desktoponly"> +Small. Fast. Reliable.<br>Choose any three. +</div> +<div class="menu mainmenu"> +<ul> +<li><a href="../index.html">Home</a> +<li class='mobileonly'><a href="javascript:void(0)" onclick='toggle_div("submenu")'>Menu</a> +<li class='wideonly'><a href='../about.html'>About</a> +<li class='desktoponly'><a href="../docs.html">Documentation</a> +<li class='desktoponly'><a href="../download.html">Download</a> +<li class='wideonly'><a href='../copyright.html'>License</a> +<li class='desktoponly'><a href="../support.html">Support</a> +<li class='desktoponly'><a href="../prosupport.html">Purchase</a> +<li class='search' id='search_menubutton'> +<a href="javascript:void(0)" onclick='toggle_search()'>Search</a> +</ul> +</div> +<div class="menu submenu" id="submenu"> +<ul> +<li><a href='../about.html'>About</a> +<li><a href='../docs.html'>Documentation</a> +<li><a href='../download.html'>Download</a> +<li><a href='../support.html'>Support</a> +<li><a href='../prosupport.html'>Purchase</a> +</ul> +</div> +<div class="searchmenu" id="searchmenu"> +<form method="GET" action="../search"> +<select name="s" id="searchtype"> +<option value="d">Search Documentation</option> +<option value="c">Search Changelog</option> +</select> +<input type="text" name="q" id="searchbox" value=""> +<input type="submit" value="Go"> +</form> +</div> +</div> +<script> +function toggle_div(nm) { +var w = document.getElementById(nm); +if( w.style.display=="block" ){ +w.style.display = "none"; +}else{ +w.style.display = "block"; +} +} +function toggle_search() { +var w = document.getElementById("searchmenu"); +if( w.style.display=="block" ){ +w.style.display = "none"; +} else { +w.style.display = "block"; +setTimeout(function(){ +document.getElementById("searchbox").focus() +}, 30); +} +} +function div_off(nm){document.getElementById(nm).style.display="none";} +window.onbeforeunload = function(e){div_off("submenu");} +/* Disable the Search feature if we are not operating from CGI, since */ +/* Search is accomplished using CGI and will not work without it. */ +if( !location.origin || !location.origin.match || !location.origin.match(/http/) ){ +document.getElementById("search_menubutton").style.display = "none"; +} +/* Used by the Hide/Show button beside syntax diagrams, to toggle the */ +function hideorshow(btn,obj){ +var x = document.getElementById(obj); +var b = document.getElementById(btn); +if( x.style.display!='none' ){ +x.style.display = 'none'; +b.innerHTML='show'; +}else{ +x.style.display = ''; +b.innerHTML='hide'; +} +return false; +} +var antiRobot = 0; +function antiRobotGo(){ +if( antiRobot!=3 ) return; +antiRobot = 7; +var j = document.getElementById("mtimelink"); +if(j && j.hasAttribute("data-href")) j.href=j.getAttribute("data-href"); +} +function antiRobotDefense(){ +document.body.onmousedown=function(){ +antiRobot |= 2; +antiRobotGo(); +document.body.onmousedown=null; +} +document.body.onmousemove=function(){ +antiRobot |= 2; +antiRobotGo(); +document.body.onmousemove=null; +} +setTimeout(function(){ +antiRobot |= 1; +antiRobotGo(); +}, 100) +antiRobotGo(); +} +antiRobotDefense(); +</script> +<h2>SQLite Release 3.21.0 On 2017-10-24</h2><p><ol class='lessindent'> +<li> Take advantage of the atomic-write capabilities in the + <a href="https://en.wikipedia.org/wiki/F2FS">F2FS filesystem</a> when available, for + greatly reduced transaction overhead. This currently requires the + <a href="../compile.html#enable_batch_atomic_write">SQLITE_ENABLE_BATCH_ATOMIC_WRITE</a> compile-time option. +<li> Allow <a href="../lang_attach.html">ATTACH</a> and <a href="../lang_detach.html">DETACH</a> commands to work inside of a transaction. +<li> Allow <a href="../vtab.html#worid">WITHOUT ROWID virtual tables</a> to be writable if the PRIMARY KEY + contains exactly one column. +<li> The "fsync()" that occurs after the header is written in a WAL reset + now uses the sync settings for checkpoints. This means it will use a + "fullfsync" on macs if <a href="../pragma.html#pragma_checkpoint_fullfsync">PRAGMA checkpoint_fullfsync</a> set on. +<li> The <a href="../c3ref/libversion.html">sqlite3_sourceid()</a> function tries to detect if the source code has + been modified from what is checked into version control and if there are + modifications, the last four characters of the version hash are shown as + "alt1" or "alt2". The objective is to detect accidental and/or careless + edits. A forger can subvert this feature. +<li> Improved de-quoting of column names for <a href="../lang_createtable.html#createtabas">CREATE TABLE AS</a> statements with + an aggregate query on the right-hand side. +<li> Fewer "stat()" system calls issued by the unix VFS. +<li> Enhanced the <a href="../optoverview.html#like_opt">LIKE optimization</a> so that it works with an <a href="../lang_expr.html#like">ESCAPE</a> clause. +<li> Enhanced <a href="../pragma.html#pragma_integrity_check">PRAGMA integrity_check</a> and <a href="../pragma.html#pragma_quick_check">PRAGMA quick_check</a> to detect obscure + row corruption that they were formerly missing. Also update both pragmas + so that they return error text rather than SQLITE_CORRUPT when encountering + corruption in <a href="../fileformat2.html#record_format">records</a>. +<li> The query planner now prefers to implement FROM-clause subqueries using + <a href="../optoverview.html#coroutines">co-routines</a> rather using the <a href="../optoverview.html#flattening">query flattener</a> optimization. Support for + the use of co-routines for subqueries may no longer be disabled. +<li> Pass information about !=, IS, IS NOT, NOT NULL, and IS NULL constraints + into the <a href="../vtab.html#xbestindex">xBestIndex</a> method of virtual tables. +<li> Enhanced the <a href="../csv.html">CSV virtual table</a> so that it accepts the last row of + input if the final new-line character is missing. +<li> Remove the rarely-used "scratch" memory allocator. Replace it with the + <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigsmallmalloc">SQLITE_CONFIG_SMALL_MALLOC</a> configuration setting that gives SQLite + a hint that large memory allocations should be avoided when possible. +<li> Added the + <a href="https://sqlite.org/src/file/ext/misc/unionvtab.c">swarm virtual table</a> + to the existing union virtual table extension. +<li> Added the + <a href="https://sqlite.org/src/file/src/dbpage.c">sqlite_dbpage virtual table</a> + for providing direct access to pages + of the database file. The source code is built into the <a href="../amalgamation.html">amalgamation</a> and + is activated using the <a href="../compile.html#enable_dbpage_vtab">-DSQLITE_ENABLE_DBPAGE_VTAB</a> compile-time option. +<li> Add a new type of fts5vocab virtual table - "instance" - that provides + direct access to an FTS5 full-text index at the lowest possible level. +<li> Remove a call to rand_s() in the Windows VFS since it was causing problems + in Firefox on some older laptops. +<li> The <a href="https://sqlite.org/src/finfo?name=src/shell.c">src/shell.c</a> source code + to the <a href="../cli.html">command-line shell</a> is no longer under version control. That file + is now generated as part of the build process. +<li> Miscellaneous <a href="../cpu.html#microopt">microoptimizations</a> reduce CPU usage by about 2.1%. +<li> Bug fixes: +<ol type="a"> + <li> Fix a faulty assert() statement discovered by OSSFuzz. + Ticket <a href="https://sqlite.org/src/info/cb91bf4290c211d">cb91bf4290c211d</a> + <li> Fix an obscure memory leak in <a href="../c3ref/result_blob.html">sqlite3_result_pointer()</a>. + Ticket <a href="https://sqlite.org/src/info/7486aa54b968e9b">7486aa54b968e9b</a> + <li> Avoid a possible use-after-free error by deferring schema resets until + after the query planner has finished running. + Ticket <a href="https://sqlite.org/src/info/be436a7f4587ce5">be436a7f4587ce5</a> + <li> Only use indexes-on-expressions to optimize ORDER BY or GROUP BY if + the COLLATE is correct. + Ticket <a href="https://sqlite.org/src/info/e20dd54ab0e4383">e20dd54ab0e4383</a> + <li> Fix an assertion fault that was coming up when the expression in an + index-on-expressions is really a constant. + Ticket <a href="https://sqlite.org/src/info/aa98619ad08ddca">aa98619ad08ddca</a> + <li> Fix an assertion fault that could occur following + <a href="../pragma.html#pragma_reverse_unordered_selects">PRAGMA reverse_unordered_selects</a>. + Ticket <a href="https://sqlite.org/src/info/cb91bf4290c211d">cb91bf4290c211d</a> + <li> Fix a segfault that can occur for queries that use table-valued functions + in an IN or EXISTS subquery. + Ticket <a href="https://sqlite.org/src/info/b899b6042f97f5">b899b6042f97f5</a> + <li> Fix a potential integer overflow problem when compiling a particular + horrendous common table expression. This was another problem discovered + by OSSFuzz. Check-in <a href="https://sqlite.org/src/info/6ee8cb6ae5">6ee8cb6ae5</a>. + <li> Fix a potential out-of-bound read when querying a corrupt database file, + a problem detected by Natalie Silvanovich of Google Project Zero. + Check-in <a href="https://sqlite.org/src/info/04925dee41a21f">04925dee41a21f</a>. +</ol> +<p><b>Hashes:</b> +<li>SQLITE_SOURCE_ID: "2017-10-24 18:55:49 1a584e499906b5c87ec7d43d4abce641fdf017c42125b083109bc77c4de48827" +<li>SHA3-256 for sqlite3.c: 84c181c0283d0320f488357fc8aab51898370c157601459ebee49d779036fe03 + +</ol></p> + + <p>A <a href="../changes.html">complete list of SQLite releases</a> + in a single page and a <a href="../chronology.html">chronology</a> are both also available. + A detailed history of every + check-in is available at + <a href="https://www.sqlite.org/src/timeline"> + SQLite version control site</a>.</p> + + |