Debian Codegraph @

www/releaselog/3_37_2.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.37.2 On 2022-01-06</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.37.2 On 2022-01-06</h2><p><b>Prior changes from version 3.37.0 (2021-11-27):</b></p>
119 <p><ol class='lessindent'>
120 <li value='1'> <a href="../stricttables.html">STRICT tables</a> provide a prescriptive style of data type management,
121 for developers who prefer that kind of thing.
122 <li> When adding columns that contain a
123 <a href="../lang_createtable.html#ckconst">CHECK constraint</a> or a <a href="../gencol.html">generated column</a> containing a <a href="../lang_createtable.html#notnullconst">NOT NULL constraint</a>,
124 the <a href="../lang_altertable.html#altertabaddcol">ALTER TABLE ADD COLUMN</a> now checks new constraints against
125 preexisting rows in the database and will only proceed if no constraints
126 are violated.
127 <li> Added the <a href="../pragma.html#pragma_table_list">PRAGMA table_list</a> statement.
128 <li> <a href="../cli.html">CLI</a> enhancements:
129 <ol type="a">
130 <li> Add the <a href="../cli.html#dotconn">.connection</a> command, allowing the CLI to keep multiple database
131 connections open at the same time.
132 <li> Add the <a href="../cli.html#safemode">--safe command-line option</a> that disables
133 <a href="../cli.html#dotcmd">dot-commands</a> and SQL statements that might cause side-effects that extend
134 beyond the single database file named on the command-line.
135 <li> Performance improvements when reading SQL statements
136 that span many lines.
137 </ol>
138 <li> Added the <a href="../c3ref/autovacuum_pages.html">sqlite3_autovacuum_pages()</a> interface.
139 <li> The <a href="../c3ref/deserialize.html">sqlite3_deserialize()</a> does not and has never worked for the TEMP
140 database. That limitation is now noted in the documentation.
141 <li> The query planner now omits ORDER BY clauses on subqueries and views
142 if removing those clauses does not change the semantics of the query.
143 <li> The <a href="../series.html">generate_series</a> table-valued function extension is modified so that
144 the first parameter ("START") is now required. This is done as a way to
145 demonstrate how to write table-valued functions with required parameters.
146 The legacy behavior is available using the -DZERO_ARGUMENT_GENERATE_SERIES
147 compile-time option.
148 <li> Added new <a href="../c3ref/changes.html">sqlite3_changes64()</a> and <a href="../c3ref/total_changes.html">sqlite3_total_changes64()</a> interfaces.
149 <li> Added the <a href="../c3ref/c_open_autoproxy.html">SQLITE_OPEN_EXRESCODE</a> flag option to <a href="../c3ref/open.html">sqlite3_open_v2()</a>.
150 <li> Use less memory to hold the database schema.
151
152 </ol>
153 <p><b>Prior changes from version 3.37.1 (2021-12-30):</b></p>
154 <p><ol class='lessindent'>
155 <li value='12'> Fix a bug introduced by the <a href="../lang_upsert.html">UPSERT</a> enhancements of <a href="../releaselog/3_35_0.html">version 3.35.0</a> that
156 can cause incorrect byte-code to be generated for some obscure but valid
157 SQL, possibly resulting in a NULL-pointer dereference.
158 <li> Fix an OOB read that can occur in <a href="../fts5.html">FTS5</a> when reading corrupt database files.
159 <li> Improved robustness of the --safe option in the <a href="../cli.html">CLI</a>.
160 <li> Other minor fixes to assert() statements and test cases.
161
162 </ol>
163 <p><b>Changes in this specific patch release, version 3.37.2 (2022-01-06):</b></p>
164 <p><ol class='lessindent'>
165 <li value='16'> Fix <a href="https://sqlite.org/forum/forumpost/b03d86f9516cb3a2">a bug</a> introduced
166 in <a href="../releaselog/3_35_0.html">version 3.35.0</a> (2021-03-12) that
167 <a href="../howtocorrupt.html#svptbug">can cause database corruption</a>
168 if a <a href="../lang_savepoint.html">SAVEPOINT</a> is rolled back while in <a href="../pragma.html#pragma_temp_store">PRAGMA temp_store=MEMORY</a> mode,
169 and other changes are made, and then the outer transaction commits.
170 <a href="https://sqlite.org/src/info/73c2b50211d3ae26">Check-in 73c2b50211d3ae26</a>
171 <li> Fix a long-standing problem with ON DELETE CASCADE and ON UPDATE CASCADE
172 in which a cache of the <a href="../opcode.html">bytecode</a> used to implement the cascading change
173 was not being reset following a local DDL change.
174 <a href="https://sqlite.org/src/info/5232c9777fe4fb13">Check-in 5232c9777fe4fb13</a>.
175 <li> Other minor fixes that should not impact production builds.
176
177 <p><b>Hashes:</b>
178 <li>SQLITE_SOURCE_ID: 2022-01-06 13:25:41 872ba256cbf61d9290b571c0e6d82a20c224ca3ad82971edc46b29818d5d17a0
179 <li>SHA3-256 for sqlite3.c: 1bb01c382295cba85ec4685cedc52a7477cdae71cc37f1ad0f48719a17af1e1e
180
181 </ol></p>
182
183 <p>A <a href="../changes.html">complete list of SQLite releases</a>
184 in a single page and a <a href="../chronology.html">chronology</a> are both also available.
185 A detailed history of every
186 check-in is available at
187 <a href="https://sqlite.org/src/timeline">
188 SQLite version control site</a>.</p>
189
190