1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
<!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.14.2 On 2016-09-12</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.14.2 On 2016-09-12</h2><p><b>Prior changes from version 3.14 (2016-08-08):</b></p>
<p><ol class='lessindent'>
<div style="width:280px;float:right;padding:10px;margin:0px 10px;">
<img src='../images/sqlitepie.jpg' width=280 height=250></img><br>
<center>Celebrating the SQLite "<big>π</big> release"
with a home-baked pie.</center>
</div>
<li value='1'>Added support for <a href="../vtab.html#worid">WITHOUT ROWID virtual tables</a>.
<li>Improved the query planner so that the <a href="../optoverview.html#or_opt">OR optimization</a> can
be used on <a href="../vtab.html">virtual tables</a> even if one or more of the disjuncts
use the <a href="../lang_expr.html#like">LIKE</a>, <a href="../lang_expr.html#glob">GLOB</a>, <a href="../lang_expr.html#regexp">REGEXP</a>, <a href="../lang_expr.html#match">MATCH</a> operators.
<li>Added the <a href="../csv.html">CSV virtual table</a> for reading
<a href="https://www.ietf.org/rfc/rfc4180.txt">RFC 4180</a> formatted comma-separated
value files.
<li>Added the <a href="../carray.html">carray() table-valued function</a> extension.
<li>Enabled <a href="../loadext.html#persist">persistent loadable extensions</a> using the new
<a href="../rescode.html#ok_load_permanently">SQLITE_OK_LOAD_PERMANENTLY</a> return code from the extension
entry point.
<li>Added the <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatuscacheusedshared">SQLITE_DBSTATUS_CACHE_USED_SHARED</a> option to <a href="../c3ref/db_status.html">sqlite3_db_status()</a>.
<li>Add the
<a href="https://www.sqlite.org/src/artifact?ci=trunk&filename=ext/misc/vfsstat.c">vfsstat.c</a>
loadable extension - a VFS shim that measures I/O
together with an <a href="../vtab.html#epovtab">eponymous virtual table</a> that provides access to the measurements.
<li>Improved algorithm for running queries with both an ORDER BY and a LIMIT where
only the inner-most loop naturally generates rows in the correct order.
<li>Enhancements to <a href="../lemon.html">Lemon parser generator</a>, so that it generates a
faster parser.
<li>The <a href="../pragma.html#pragma_compile_options">PRAGMA compile_options</a> command now attempts to show the version number
of the compiler that generated the library.
<li>Enhance <a href="../pragma.html#pragma_table_info">PRAGMA table_info</a> so that it provides information about
<a href="../vtab.html#epovtab">eponymous virtual tables</a>.
<li>Added the "win32-none" VFS, analogous to the "unix-none" VFS, that works like
the default "win32" VFS except that it ignores all file locks.
<li>The query planner uses a full scan of a <a href="../partialindex.html">partial index</a> instead of a
full scan of the main table, in cases where that makes sense.
<li>Allow <a href="../vtab.html#tabfunc2">table-valued functions</a> to appear on the right-hand side of an <a href="../lang_expr.html#in_op">IN operator</a>.
<li>Created the <a href="../dbhash.html">dbhash.exe</a> command-line utility.
<li>Added two new C-language interfaces: <a href="../c3ref/expanded_sql.html">sqlite3_expanded_sql()</a> and
<a href="../c3ref/trace_v2.html">sqlite3_trace_v2()</a>. These new interfaces subsume the functions of
<a href="../c3ref/profile.html">sqlite3_trace()</a> and <a href="../c3ref/profile.html">sqlite3_profile()</a> which are now deprecated.
<li>Added the <a href="../json1.html#jquote">json_quote()</a> SQL function to <a href="../json1.html">the json1 extension</a>.
<li>Disable the <a href="../c3ref/set_authorizer.html">authorizer callback</a> while reparsing the schema.
<li>Added the <a href="../compile.html#enable_unknown_sql_function">SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION</a> compile-time option and turned that
option on by default when building the <a href="../cli.html">command-line shell</a>.
<p><b>Bug Fixes:</b>
<li>Fix the <a href="../lang_altertable.html">ALTER TABLE</a> command so that it does not corrupt <a href="../lang_createindex.html#descidx">descending indexes</a>
when adding a column to a <a href="../pragma.html#pragma_legacy_file_format">legacy file format</a> database. Ticket
<a href="https://www.sqlite.org/src/info/f68bf68513a1c15f">f68bf68513a1c15f</a>
<li>Fix a NULL-pointer dereference/crash that could occurs when a transitive WHERE
clause references a non-existent collating sequence. Ticket
<a href="https://www.sqlite.org/src/info/e8d439c77685eca6">e8d439c77685eca6</a>.
<li>Improved the cost estimation for an index scan which includes a WHERE clause
that can be partially or fully evaluated using columns in the index and without
having to do a table lookup. This fixes a performance regression that occurred
for some obscure queries following the ORDER BY LIMIT optimization introduced
in <a href="../releaselog/3_12_0.html">version 3.12.0</a>.
</ol>
<p><b>Prior changes from version 3.14.1 (2016-08-11):</b></p>
<p><ol class='lessindent'>
<li value='23'>A performance enhancement to the page-cache "truncate" operation
reduces <a href="../lang_transaction.html">COMMIT</a> time by dozens of milliseconds on systems with a
large <a href="../pragma.html#pragma_cache_size">page cache</a>.
<li>Fix to the --rbu option of <a href="../sqldiff.html">sqldiff</a>.
</ol>
<p><b>Changes in this specific patch release, version 3.14.2 (2016-09-12):</b></p>
<p><ol class='lessindent'>
<li value='25'> Improved support for using the STDCALL calling convention in winsqlite3.dll.
<li> Fix the <a href="../c3ref/trace_v2.html">sqlite3_trace_v2()</a> interface so that it is disabled if either the
callback or the mask arguments are zero, in accordance with the documentation.
<li> Fix commenting errors and improve the comments generated on <a href="../lang_explain.html">EXPLAIN</a> listings
when the <a href="../compile.html#enable_explain_comments">-DSQLITE_ENABLE_EXPLAIN_COMMENTS</a> compile-time option is used.
<li> Fix the ".read" command in the <a href="../cli.html">command-line shell</a> so that it understands
that its input is not interactive.
<li> Correct affinity computations for a SELECT on the RHS of an IN operator.
Fix for ticket <a href="https://sqlite.org/src/info/199df4168c">199df4168c</a>.
<li> The ORDER BY LIMIT optimization is not valid unless the inner-most IN operator
loop is actually used by the query plan. Fix for
ticket <a href="https://sqlite.org/src/info/0c4df46116e90f92">0c4df46116e90f92</a>.
<li> Fix an internal code generator problem that was causing some <a href="../lang_delete.html">DELETE</a> operations
to no-op. Ticket <a href="https://sqlite.org/src/info/ef360601">ef360601</a>
<p><b>Hashes:</b>
<li>SQLITE_SOURCE_ID: "2016-09-12 18:50:49 29dbef4b8585f753861a36d6dd102ca634197bd6"
<li>SHA1 for sqlite3.c: bcc4a1989db45e7f223191f2d0f66c1c28946383
</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>
|