| 1 |
<!DOCTYPE html> |
| 2 |
<html><head> |
| 3 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
| 5 |
<link href="../sqlite.css" rel="stylesheet"> |
| 6 |
<title>SQLite Release 3.27.0 On 2019-02-07</title> |
| 7 |
<!-- path=../ --> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
<div class=nosearch> |
| 11 |
<a href="../index.html"> |
| 12 |
<img class="logo" src="../images/sqlite370_banner.svg" alt="SQLite" border="0"> |
| 13 |
</a> |
| 14 |
<div><!-- IE hack to prevent disappearing logo --></div> |
| 15 |
<div class="tagline desktoponly"> |
| 16 |
Small. Fast. Reliable.<br>Choose any three. |
| 17 |
</div> |
| 18 |
<div class="menu mainmenu"> |
| 19 |
<ul> |
| 20 |
<li><a href="../index.html">Home</a> |
| 21 |
<li class='mobileonly'><a href="javascript:void(0)" onclick='toggle_div("submenu")'>Menu</a> |
| 22 |
<li class='wideonly'><a href='../about.html'>About</a> |
| 23 |
<li class='desktoponly'><a href="../docs.html">Documentation</a> |
| 24 |
<li class='desktoponly'><a href="../download.html">Download</a> |
| 25 |
<li class='wideonly'><a href='../copyright.html'>License</a> |
| 26 |
<li class='desktoponly'><a href="../support.html">Support</a> |
| 27 |
<li class='desktoponly'><a href="../prosupport.html">Purchase</a> |
| 28 |
<li class='search' id='search_menubutton'> |
| 29 |
<a href="javascript:void(0)" onclick='toggle_search()'>Search</a> |
| 30 |
</ul> |
| 31 |
</div> |
| 32 |
<div class="menu submenu" id="submenu"> |
| 33 |
<ul> |
| 34 |
<li><a href='../about.html'>About</a> |
| 35 |
<li><a href='../docs.html'>Documentation</a> |
| 36 |
<li><a href='../download.html'>Download</a> |
| 37 |
<li><a href='../support.html'>Support</a> |
| 38 |
<li><a href='../prosupport.html'>Purchase</a> |
| 39 |
</ul> |
| 40 |
</div> |
| 41 |
<div class="searchmenu" id="searchmenu"> |
| 42 |
<form method="GET" action="../search"> |
| 43 |
<select name="s" id="searchtype"> |
| 44 |
<option value="d">Search Documentation</option> |
| 45 |
<option value="c">Search Changelog</option> |
| 46 |
</select> |
| 47 |
<input type="text" name="q" id="searchbox" value=""> |
| 48 |
<input type="submit" value="Go"> |
| 49 |
</form> |
| 50 |
</div> |
| 51 |
</div> |
| 52 |
<script> |
| 53 |
function toggle_div(nm) { |
| 54 |
var w = document.getElementById(nm); |
| 55 |
if( w.style.display=="block" ){ |
| 56 |
w.style.display = "none"; |
| 57 |
}else{ |
| 58 |
w.style.display = "block"; |
| 59 |
} |
| 60 |
} |
| 61 |
function toggle_search() { |
| 62 |
var w = document.getElementById("searchmenu"); |
| 63 |
if( w.style.display=="block" ){ |
| 64 |
w.style.display = "none"; |
| 65 |
} else { |
| 66 |
w.style.display = "block"; |
| 67 |
setTimeout(function(){ |
| 68 |
document.getElementById("searchbox").focus() |
| 69 |
}, 30); |
| 70 |
} |
| 71 |
} |
| 72 |
function div_off(nm){document.getElementById(nm).style.display="none";} |
| 73 |
window.onbeforeunload = function(e){div_off("submenu");} |
| 74 |
/* Disable the Search feature if we are not operating from CGI, since */ |
| 75 |
/* Search is accomplished using CGI and will not work without it. */ |
| 76 |
if( !location.origin || !location.origin.match || !location.origin.match(/http/) ){ |
| 77 |
document.getElementById("search_menubutton").style.display = "none"; |
| 78 |
} |
| 79 |
/* Used by the Hide/Show button beside syntax diagrams, to toggle the */ |
| 80 |
function hideorshow(btn,obj){ |
| 81 |
var x = document.getElementById(obj); |
| 82 |
var b = document.getElementById(btn); |
| 83 |
if( x.style.display!='none' ){ |
| 84 |
x.style.display = 'none'; |
| 85 |
b.innerHTML='show'; |
| 86 |
}else{ |
| 87 |
x.style.display = ''; |
| 88 |
b.innerHTML='hide'; |
| 89 |
} |
| 90 |
return false; |
| 91 |
} |
| 92 |
var antiRobot = 0; |
| 93 |
function antiRobotGo(){ |
| 94 |
if( antiRobot!=3 ) return; |
| 95 |
antiRobot = 7; |
| 96 |
var j = document.getElementById("mtimelink"); |
| 97 |
if(j && j.hasAttribute("data-href")) j.href=j.getAttribute("data-href"); |
| 98 |
} |
| 99 |
function antiRobotDefense(){ |
| 100 |
document.body.onmousedown=function(){ |
| 101 |
antiRobot |= 2; |
| 102 |
antiRobotGo(); |
| 103 |
document.body.onmousedown=null; |
| 104 |
} |
| 105 |
document.body.onmousemove=function(){ |
| 106 |
antiRobot |= 2; |
| 107 |
antiRobotGo(); |
| 108 |
document.body.onmousemove=null; |
| 109 |
} |
| 110 |
setTimeout(function(){ |
| 111 |
antiRobot |= 1; |
| 112 |
antiRobotGo(); |
| 113 |
}, 100) |
| 114 |
antiRobotGo(); |
| 115 |
} |
| 116 |
antiRobotDefense(); |
| 117 |
</script> |
| 118 |
<h2>SQLite Release 3.27.0 On 2019-02-07</h2><p><ol class='lessindent'> |
| 119 |
<li>Added the <a href="../lang_vacuum.html#vacuuminto">VACUUM INTO</a> command |
| 120 |
<li>Issue an SQLITE_WARNING message on the <a href="../errlog.html">error log</a> if a |
| 121 |
<a href="../quirks.html#dblquote">double-quoted string literal</a> is used. |
| 122 |
<li>The <a href="../c3ref/expanded_sql.html">sqlite3_normalized_sql()</a> interface works on any prepared statement |
| 123 |
created using <a href="../c3ref/prepare.html">sqlite3_prepare_v2()</a> or <a href="../c3ref/prepare.html">sqlite3_prepare_v3()</a>. It is no |
| 124 |
longer necessary to use <a href="../c3ref/prepare.html">sqlite3_prepare_v3()</a> with <a href="../c3ref/c_prepare_dont_log.html#sqlitepreparenormalize">SQLITE_PREPARE_NORMALIZE</a> |
| 125 |
in order to use <a href="../c3ref/expanded_sql.html">sqlite3_normalized_sql()</a>. |
| 126 |
<li>Added the remove_diacritics=2 option to <a href="../fts3.html">FTS3</a> and <a href="../fts5.html">FTS5</a>. |
| 127 |
<li>Added the <a href="../c3ref/c_prepare_dont_log.html#sqlitepreparenovtab">SQLITE_PREPARE_NO_VTAB</a> option to <a href="../c3ref/prepare.html">sqlite3_prepare_v3()</a>. |
| 128 |
Use that option to prevent circular references to <a href="../vtab.html#xshadowname">shadow tables</a> from |
| 129 |
causing resource leaks. |
| 130 |
<li>Enhancements to the <a href="../c3ref/deserialize.html">sqlite3_deserialize()</a> interface: |
| 131 |
<ol type="a"> |
| 132 |
<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 |
| 133 |
setting an upper bound on the size of the in-memory database created |
| 134 |
by sqlite3_deserialize. The default upper bound is 1GiB, or whatever |
| 135 |
alternative value is specified by |
| 136 |
<a href="../c3ref/config.html">sqlite3_config</a>(<a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigmemdbmaxsize">SQLITE_CONFIG_MEMDB_MAXSIZE</a>) |
| 137 |
and/or <a href="../compile.html#memdb_default_maxsize">SQLITE_MEMDB_DEFAULT_MAXSIZE</a>. |
| 138 |
<li> Honor the <a href="../c3ref/c_deserialize_freeonclose.html">SQLITE_DESERIALIZE_READONLY</a> flag, which was previously described |
| 139 |
in the documentation, but was previously a no-op. |
| 140 |
<li> Enhance the "deserialize" command of the <a href="../tclsqlite.html">TCL Interface</a> to give it |
| 141 |
new "--maxsize N" and "--readonly BOOLEAN" options. |
| 142 |
</ol> |
| 143 |
<li>Enhancements to the <a href="../cli.html">CLI</a>, mostly to support testing and debugging |
| 144 |
of the SQLite library itself: |
| 145 |
<ol type="a"> |
| 146 |
<li> Add support for ".open --hexdb". The |
| 147 |
"<a href="https://sqlite.org/src/doc/trunk/tool/dbtotxt.md">dbtotxt</a>" utility |
| 148 |
program used to generate the text for the "hexdb" is added to the |
| 149 |
source tree. |
| 150 |
<li> Add support for the "--maxsize N" option on ".open --deserialize". |
| 151 |
<li> Add the "--memtrace" command-line option, to show all memory allocations |
| 152 |
and deallocations. |
| 153 |
<li> Add the ".eqp trace" option on builds with SQLITE_DEBUG, to enable |
| 154 |
bytecode program listing with indentation and |
| 155 |
<a href="../pragma.html#pragma_vdbe_trace">PRAGMA vdbe_trace</a> all in one step. |
| 156 |
<li> Add the ".progress" command for accessing |
| 157 |
the <a href="../c3ref/progress_handler.html">sqlite3_progress_handler()</a> interface. |
| 158 |
<li> Add the "--async" option to the ".backup" command. |
| 159 |
<li> Add options "--expanded", "--normalized", "--plain", "--profile", "--row", |
| 160 |
"--stmt", and "--close" to the ".trace" command. |
| 161 |
</ol> |
| 162 |
<li> Increased robustness against malicious SQL that is run against a |
| 163 |
maliciously corrupted database. |
| 164 |
<p><b>Bug fixes:</b> |
| 165 |
<li>Do not use a partial index to do a table scan on an IN operator. |
| 166 |
Ticket <a href="https://sqlite.org/src/info/1d958d90596593a774">1d958d90596593a774</a>. |
| 167 |
<li>Fix the <a href="../optoverview.html#flattening">query flattener</a> so that it works on queries that contain |
| 168 |
subqueries that use <a href="../windowfunctions.html">window functions</a>. |
| 169 |
Ticket <a href="https://sqlite.org/src/info/f09fcd17810f65f717">709fcd17810f65f717</a> |
| 170 |
<li>Ensure that ALTER TABLE modifies table and column names embedded in WITH |
| 171 |
clauses that are part of views and triggers. |
| 172 |
<li>Fix a parser bug that prevented the use of parentheses around table-valued |
| 173 |
functions. |
| 174 |
<li>Fix a problem with the <a href="../optoverview.html#or_opt">OR optimization</a> on <a href="../expridx.html">indexes on expressions</a>. |
| 175 |
Ticket <a href="https://sqlite.org/src/info/d96eba87698a428c1d">d96eba87698a428c1d</a>. |
| 176 |
<li>Fix a problem with the |
| 177 |
<a href="../optoverview.html#leftjoinreduction">LEFT JOIN strength reduction optimization</a> in which the optimization |
| 178 |
was being applied inappropriately due to an IS NOT NULL operator. |
| 179 |
Ticket <a href="https://sqlite.org/src/info/5948e09b8c415bc45d">5948e09b8c415bc45d</a>. |
| 180 |
<li>Fix the <a href="../lang_replace.html">REPLACE</a> command so that it is no longer able to sneak a |
| 181 |
NULL value into a NOT NULL column even if the NOT NULL column has a default |
| 182 |
value of NULL. |
| 183 |
Ticket <a href="https://sqlite.org/src/info/e6f1f2e34dceeb1ed6">e6f1f2e34dceeb1ed6</a> |
| 184 |
<li>Fix a problem with the use of <a href="../windowfunctions.html">window functions</a> used within |
| 185 |
<a href="../lang_expr.html#cosub">correlated subqueries</a>. |
| 186 |
Ticket <a href="https://sqlite.org/src/info/d0866b26f83e9c55e3">d0866b26f83e9c55e3</a> |
| 187 |
<li>Fix the <a href="../lang_altertable.html#altertabmvcol">ALTER TABLE RENAME COLUMN</a> command so that it works for tables |
| 188 |
that have redundant UNIQUE constraints. |
| 189 |
Ticket <a href="https://sqlite.org/src/info/bc8d94f0fbd633fd9a">bc8d94f0fbd633fd9a</a> |
| 190 |
<li>Fix a bug that caused <a href="../lang_corefunc.html#zeroblob">zeroblob</a> values to be truncated when inserted into |
| 191 |
a table that uses an <a href="../expridx.html">expression index</a>. |
| 192 |
Ticket <a href="https://sqlite.org/src/info/bb4bdb9f7f654b0bb9">bb4bdb9f7f654b0bb9</a> |
| 193 |
<p><b>Hashes:</b> |
| 194 |
<li>SQLITE_SOURCE_ID: "2019-02-07 17:02:52 97744701c3bd414e6c9d7182639d8c2ce7cf124c4fce625071ae65658ac61713 |
| 195 |
" |
| 196 |
<li>SHA3-256 for sqlite3.c: ca011a10ee8515b33e5643444b98ee3d74dc45d3ac766c3700320def52bc6aba |
| 197 |
|
| 198 |
</ol></p> |
| 199 |
|
| 200 |
<p>A <a href="../changes.html">complete list of SQLite releases</a> |
| 201 |
in a single page and a <a href="../chronology.html">chronology</a> are both also available. |
| 202 |
A detailed history of every |
| 203 |
check-in is available at |
| 204 |
<a href="https://sqlite.org/src/timeline"> |
| 205 |
SQLite version control site</a>.</p> |
| 206 |
|
| 207 |
|