191 lines
9.7 KiB
HTML
191 lines
9.7 KiB
HTML
<!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.27.1 On 2019-02-08</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;
|
|
}
|
|
</script>
|
|
</div>
|
|
<h2>SQLite Release 3.27.1 On 2019-02-08</h2><p><b>Changes in version 3.27.0 (2019-02-07):</b></p>
|
|
<p><ol class='lessindent'>
|
|
<li value='1'>Added the <a href="../lang_vacuum.html#vacuuminto">VACUUM INTO</a> command
|
|
<li>Issue an SQLITE_WARNING message on the <a href="../errlog.html">error log</a> if a
|
|
<a href="../quirks.html#dblquote">double-quoted string literal</a> is used.
|
|
<li>The <a href="../c3ref/expanded_sql.html">sqlite3_normalized_sql()</a> interface works on any prepared statement
|
|
created using <a href="../c3ref/prepare.html">sqlite3_prepare_v2()</a> or <a href="../c3ref/prepare.html">sqlite3_prepare_v3()</a>. It is no
|
|
longer necessary to use <a href="../c3ref/prepare.html">sqlite3_prepare_v3()</a> with <a href="../c3ref/c_prepare_normalize.html#sqlitepreparenormalize">SQLITE_PREPARE_NORMALIZE</a>
|
|
in order to use <a href="../c3ref/expanded_sql.html">sqlite3_normalized_sql()</a>.
|
|
<li>Added the remove_diacritics=2 option to <a href="../fts3.html">FTS3</a> and <a href="../fts5.html">FTS5</a>.
|
|
<li>Added the <a href="../c3ref/c_prepare_normalize.html#sqlitepreparenovtab">SQLITE_PREPARE_NO_VTAB</a> option to <a href="../c3ref/prepare.html">sqlite3_prepare_v3()</a>.
|
|
Use that option to prevent circular references to <a href="../vtab.html#xshadowname">shadow tables</a> from
|
|
causing resource leaks.
|
|
<li>Enhancements to the <a href="../c3ref/deserialize.html">sqlite3_deserialize()</a> interface:
|
|
<ol type="a">
|
|
<li> Add the <a href="../c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlsizelimit">SQLITE_FCNTL_SIZE_LIMIT</a> <a href="../c3ref/file_control.html">file-control</a> for
|
|
setting an upper bound on the size of the in-memory database created
|
|
by sqlite3_deserialize. The default upper bound is 1GiB, or whatever
|
|
alternative value is specified by
|
|
<a href="../c3ref/config.html">sqlite3_config</a>(<a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigmemdbmaxsize">SQLITE_CONFIG_MEMDB_MAXSIZE</a>)
|
|
and/or <a href="../compile.html#memdb_default_maxsize">SQLITE_MEMDB_DEFAULT_MAXSIZE</a>.
|
|
<li> Honor the <a href="../c3ref/c_deserialize_freeonclose.html">SQLITE_DESERIALIZE_READONLY</a> flag, which was previously described
|
|
in the documentation, but was previously a no-op.
|
|
<li> Enhance the "deserialize" command of the <a href="../tclsqlite.html">TCL Interface</a> to give it
|
|
new "--maxsize N" and "--readonly BOOLEAN" options.
|
|
</ol>
|
|
<li>Enhancements to the <a href="../cli.html">CLI</a>, mostly to support testing and debugging
|
|
of the SQLite library itself:
|
|
<ol type="a">
|
|
<li> Add support for ".open --hexdb". The
|
|
"<a href="https://sqlite.org/src/doc/trunk/tool/dbtotxt.md">dbtotxt</a>" utility
|
|
program used to generate the text for the "hexdb" is added to the
|
|
source tree.
|
|
<li> Add support for the "--maxsize N" option on ".open --deserialize".
|
|
<li> Add the "--memtrace" command-line option, to show all memory allocations
|
|
and deallocations.
|
|
<li> Add the ".eqp trace" option on builds with SQLITE_DEBUG, to enable
|
|
bytecode program listing with indentation and
|
|
<a href="../pragma.html#pragma_vdbe_trace">PRAGMA vdbe_trace</a> all in one step.
|
|
<li> Add the ".progress" command for accessing
|
|
the <a href="../c3ref/progress_handler.html">sqlite3_progress_handler()</a> interface.
|
|
<li> Add the "--async" option to the ".backup" command.
|
|
<li> Add options "--expanded", "--normalized", "--plain", "--profile", "--row",
|
|
"--stmt", and "--close" to the ".trace" command.
|
|
</ol>
|
|
<li> Increased robustness against malicious SQL that is run against a
|
|
maliciously corrupted database.
|
|
<p><b>Bug fixes:</b>
|
|
<li>Do not use a partial index to do a table scan on an IN operator.
|
|
Ticket <a href="https://www.sqlite.org/src/info/1d958d90596593a774">1d958d90596593a774</a>.
|
|
<li>Fix the <a href="../optoverview.html#flattening">query flattener</a> so that it works on queries that contain
|
|
subqueries that use <a href="../windowfunctions.html">window functions</a>.
|
|
Ticket <a href="https://www.sqlite.org/src/info/f09fcd17810f65f717">709fcd17810f65f717</a>
|
|
<li>Ensure that ALTER TABLE modifies table and column names embedded in WITH
|
|
clauses that are part of views and triggers.
|
|
<li>Fix a parser bug that prevented the use of parentheses around table-valued
|
|
functions.
|
|
<li>Fix a problem with the <a href="../optoverview.html#or_opt">OR optimization</a> on <a href="../expridx.html">indexes on expressions</a>.
|
|
Ticket <a href="https://www.sqlite.org/src/info/d96eba87698a428c1d">d96eba87698a428c1d</a>.
|
|
<li>Fix a problem with the
|
|
<a href="../optoverview.html#leftjoinreduction">LEFT JOIN strength reduction optimization</a> in which the optimization
|
|
was being applied inappropriately due to an IS NOT NULL operator.
|
|
Ticket <a href="https://www.sqlite.org/src/info/5948e09b8c415bc45d">5948e09b8c415bc45d</a>.
|
|
<li>Fix the <a href="../lang_replace.html">REPLACE</a> command so that it is no longer able to sneak a
|
|
NULL value into a NOT NULL column even if the NOT NULL column has a default
|
|
value of NULL.
|
|
Ticket <a href="https://www.sqlite.org/src/info/e6f1f2e34dceeb1ed6">e6f1f2e34dceeb1ed6</a>
|
|
<li>Fix a problem with the use of <a href="../windowfunctions.html">window functions</a> used within
|
|
<a href="../lang_expr.html#cosub">correlated subqueries</a>.
|
|
Ticket <a href="https://www.sqlite.org/src/info/d0866b26f83e9c55e3">d0866b26f83e9c55e3</a>
|
|
<li>Fix the <a href="../lang_altertable.html#altertabmvcol">ALTER TABLE RENAME COLUMN</a> command so that it works for tables
|
|
that have redundant UNIQUE constraints.
|
|
Ticket <a href="https://www.sqlite.org/src/info/bc8d94f0fbd633fd9a">bc8d94f0fbd633fd9a</a>
|
|
<li>Fix a bug that caused <a href="../lang_corefunc.html#zeroblob">zeroblob</a> values to be truncated when inserted into
|
|
a table that uses an <a href="../expridx.html">expression index</a>.
|
|
Ticket <a href="https://www.sqlite.org/src/info/bb4bdb9f7f654b0bb9">bb4bdb9f7f654b0bb9</a>
|
|
</ol>
|
|
<p><b>Additional changes in version 3.27.1:</b></p>
|
|
<p><ol class='lessindent'>
|
|
<li value='19'> Fix a bug in the query optimizer: an adverse interaction between
|
|
the <a href="../optoverview.html#or_opt">OR optimization</a> and the optimization that tries to use values
|
|
read directly from an <a href="../expridx.html">expression index</a> instead of recomputing the
|
|
expression.
|
|
Ticket <a href="https://www.sqlite.org/src/info/4e8e4857d32d401f">4e8e4857d32d401f</a>
|
|
<p><b>Hashes:</b>
|
|
<li>SQLITE_SOURCE_ID: 2019-02-08 13:17:39 0eca3dd3d38b31c92b49ca2d311128b74584714d9e7de895b1a6286ef959a1dd
|
|
<li>SHA3-256 for sqlite3.c: 11c14992660d5ac713ea8bea48dc5e6123f26bc8d3075fe5585d1a217d090233
|
|
|
|
</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="http://www.sqlite.org/src/timeline">
|
|
SQLite version control site</a>.</p>
|
|
|