Debian Codegraph @

www/releaselog/3_23_1.html

raw
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.23.1 On 2018-04-10</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.23.1 On 2018-04-10</h2><p><b>Prior changes from version 3.23.0 (2018-04-02):</b></p>
119 <p><ol class='lessindent'>
120 <li value='1'> Add the <a href="../c3ref/serialize.html">sqlite3_serialize()</a> and <a href="../c3ref/deserialize.html">sqlite3_deserialize()</a> interfaces when
121 the <a href="../compile.html#enable_deserialize">SQLITE_ENABLE_DESERIALIZE</a> compile-time option is used.
122 <li> Recognize TRUE and FALSE as constants. (For compatibility, if there
123 exist columns named "true" or "false", then the identifiers refer to the
124 columns rather than Boolean constants.)
125 <li> Support operators IS TRUE, IS FALSE, IS NOT TRUE, and IS NOT FALSE.
126 <li> Added the <a href="../c3ref/c_dbstatus_options.html#sqlitedbstatuscachespill">SQLITE_DBSTATUS_CACHE_SPILL</a> option to <a href="../c3ref/db_status.html">sqlite3_db_status()</a> for
127 reporting the number of cache spills that have occurred.
128 <li> The "alternate-form-2" flag ("!") on the <a href="../printf.html">built-in printf</a> implementation
129 now causes string substitutions to measure the width and precision in
130 characters instead of bytes.
131 <li> If the <a href="../vtab.html#xcolumn">xColumn</a> method in a <a href="../vtab.html">virtual table</a> implementation returns
132 an error message using <a href="../c3ref/result_blob.html">sqlite3_result_error()</a> then give that error
133 message preference over internally-generated messages.
134 <li> Added the -A command-line option to the <a href="../cli.html">CLI</a> to make it easier to manage
135 <a href="../sqlar.html">SQLite Archive files</a>.
136 <li> Add support for INSERT OR REPLACE, INSERT OR IGNORE, and UPDATE OR REPLACE
137 in the <a href="../zipfile.html">Zipfile virtual table</a>.
138 <li> Enhance the <a href="../session/sqlite3changeset_apply.html">sqlite3changeset_apply()</a> interface so that it is hardened
139 against attacks from deliberately corrupted <a href="../sessionintro.html#changeset">changeset</a> objects.
140 <li> Added the <a href="https://sqlite.org/src/file/ext/misc/normalize.c">sqlite3_normalize()</a>
141 extension function.
142 <li> Query optimizer enhancements:
143 <ol type='a'>
144 <li> Improve the <a href="../optoverview.html#omitnoopjoin">omit-left-join optimization</a> so that it works in cases where
145 the right-hand table is UNIQUE but not necessarily NOT NULL.
146 <li> Improve the <a href="../optoverview.html#pushdown">push-down optimization</a> so that it works for many LEFT JOINs.
147 <li> Add the <a href="../optoverview.html#leftjoinreduction">LEFT JOIN strength reduction optimization</a> that converts a LEFT
148 JOIN into an ordinary JOIN if there exist terms in the WHERE clause
149 that would prevent the extra all-NULL row of the LEFT JOIN from
150 appearing in the output set.
151 <li> Avoid unnecessary writes to the sqlite_sequence table when an
152 <a href="../autoinc.html">AUTOINCREMENT</a> table is updated with an rowid that is less than the
153 maximum.
154 </ol>
155 <li> Bug fixes:
156 <ol type='a'>
157 <li> Fix the parser to accept valid <a href="../rowvalue.html">row value</a> syntax.
158 Ticket <a href="https://sqlite.org/src/info/7310e2fb3d046a5">7310e2fb3d046a5</a>
159 <li> Fix the query planner so that it takes into account dependencies in
160 the arguments to table-valued functions in subexpressions in
161 the WHERE clause.
162 Ticket <a href="https://sqlite.org/src/info/80177f0c226ff54">80177f0c226ff54</a>
163 <li> Fix incorrect result with complex OR-connected WHERE and STAT4.
164 Ticket <a href="https://sqlite.org/src/info/ec32177c99ccac2">ec32177c99ccac2</a>
165 <li> Fix potential corruption in <a href="../expridx.html">indexes on expressions</a> due to automatic
166 datatype conversions.
167 Ticket <a href="https://sqlite.org/src/info/343634942dd54ab">343634942dd54ab</a>
168 <li> Assertion fault in FTS4.
169 Ticket <a href="https://sqlite.org/src/info/d6ec09eccf68cfc">d6ec09eccf68cfc</a>
170 <li> Incorrect result on the less-than operator in <a href="../rowvalue.html">row values</a>.
171 Ticket <a href="https://sqlite.org/src/info/f484b65f3d62305">f484b65f3d62305</a>
172 <li> Always interpret non-zero floating-point values as TRUE, even if
173 the integer part is zero.
174 Ticket <a href="https://sqlite.org/src/info/36fae083b450e3a">36fae083b450e3a</a>
175 <li> Fix an issue in the fsdir(PATH) <a href="../vtab.html#tabfunc2">table-valued function</a> to the
176 <a href="https://sqlite.org/src/file/ext/misc/fileio.c">fileio.c</a> extension,
177 that caused a segfault if the fsdir() table was used as the inner table
178 of a join. Problem reported on the mailing list and fixed by check-in
179 <a href="https://sqlite.org/src/info/7ce4e71c1b7251be">7ce4e71c1b7251be</a>
180 <li> Issue an error rather instead of an assertion-fault or null-pointer
181 dereference when the sqlite_master table is corrupted so that the
182 sqlite_sequence table root page is really a btree-index page. Check-in
183 <a href="https://sqlite.org/src/info/525deb7a67fbd647">525deb7a67fbd647</a>
184 <li> Fix the <a href="../lang_analyze.html">ANALYZE</a> command so that it computes statistics on tables
185 whose names begin with "sqlite". Check-in
186 <a href="https://sqlite.org/src/info/0249d9aecf69948d">0249d9aecf69948d</a>
187 </ol>
188 <li> Additional fixes for issues detected by
189 <a href="https://github.com/google/oss-fuzz">OSSFuzz</a>:
190 <ol type='a'>
191 <li> Fix a possible infinite loop on VACUUM for corrupt database files.
192 Check-in <a href="https://sqlite.org/src/info/27754b74ddf64">27754b74ddf64</a>
193 <li> Disallow <a href="../lang_expr.html#varparam">parameters</a> in the <a href="../lang_with.html">WITH clause</a> of triggers and views.
194 Check-in <a href="https://sqlite.org/src/info/b918d4b4e546d">b918d4b4e546d</a>
195 <li> Fix a potential memory leak in <a href="../rowvalue.html">row value</a> processing.
196 Check-in <a href="https://sqlite.org/src/info/2df6bbf1b8ca8">2df6bbf1b8ca8</a>
197 <li> Improve the performance of the <a href="../lang_corefunc.html#replace">replace() SQL function</a> for cases where
198 there are many substitutions on megabyte-sized strings, in an attempt
199 to avoid OSSFuzz timeouts during testing.
200 Check-in <a href="https://sqlite.org/src/info/fab2c2b07b5d3">fab2c2b07b5d3</a>
201 <li> Provide an appropriate error message when the sqlite_master table
202 contains a CREATE TABLE AS statement. Formerly this caused either an
203 assertion fault or null pointer dereference. Problem found by OSSFuzz
204 on the GDAL project. Check-in
205 <a href="https://sqlite.org/src/info/d75e67654aa96">d75e67654aa96</a>
206 <li> Incorrect assert() statement removed. Check-in
207 <a href="https://sqlite.org/src/info/823779d31eb09cda">823779d31eb09cda</a>.
208 <li> Fix a problem with using the <a href="../optoverview.html#like_opt">LIKE optimization</a> on an
209 <a href="../lang_createtable.html#rowid">INTEGER PRIMARY KEY</a>. Check-in
210 <a href="https://sqlite.org/src/info/b850dd159918af56">b850dd159918af56</a>.
211 </ol>
212 </ol>
213 <p><b>Changes in this specific patch release, version 3.23.1 (2018-04-10):</b></p>
214 <p><ol class='lessindent'>
215 <li value='14'> Fix two problems in the new <a href="../optoverview.html#leftjoinreduction">LEFT JOIN strength reduction optimization</a>.
216 Tickets <a href="https://sqlite.org/src/info/1e39b966ae9ee739">1e39b966ae9ee739</a>
217 and <a href="https://sqlite.org/src/info/fac496b61722daf2">fac496b61722daf2</a>.
218 <li> Fix misbehavior of the FTS5 xBestIndex method. Ticket
219 <a href="https://sqlite.org/src/info/2b8aed9f7c9e61e8">2b8aed9f7c9e61e8</a>.
220 <li> Fix a harmless reference to an uninitialized virtual machine register.
221 Ticket <a href="https://sqlite.org/src/info/093420fc0eb7cba7">093420fc0eb7cba7</a>.
222 <li> Fix the <a href="../cli.html">CLI</a> so that it builds with -DSQLITE_UNTESTABLE
223 <li> Fix the <a href="https://sqlite.org/src/file/ext/misc/eval.c">eval.c</a> extension
224 so that it works with <a href="../pragma.html#pragma_empty_result_callbacks">PRAGMA empty_result_callbacks=ON</a>.
225 <li> Fix the <a href="../series.html">generate_series</a> virtual table so that it correctly returns
226 no rows if any of its constraints are NULL.
227 <li> Performance enhancements in the parser.
228 <p><b>Hashes:</b>
229 <li>SQLITE_SOURCE_ID: "2018-04-10 17:39:29 4bb2294022060e61de7da5c227a69ccd846ba330e31626ebcd59a94efd148b3b"
230 <li>SHA3-256 for sqlite3.c: 65750d1e506f416a0b0b9dd22d171379679c733e3460549754dc68c92705b5dc
231
232 </ol></p>
233
234 <p>A <a href="../changes.html">complete list of SQLite releases</a>
235 in a single page and a <a href="../chronology.html">chronology</a> are both also available.
236 A detailed history of every
237 check-in is available at
238 <a href="https://sqlite.org/src/timeline">
239 SQLite version control site</a>.</p>
240
241