Debian Codegraph @

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