| 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.38.3 On 2022-04-27</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.38.3 On 2022-04-27</h2><p><b>Prior changes from version 3.38.0 (2022-02-22):</b></p> |
| 119 |
<p><ol class='lessindent'> |
| 120 |
<li value='1'> Added <a href="../json1.html#jptr">the -> and ->> operators</a> for easier processing of JSON. |
| 121 |
The new operators are compatible with MySQL and PostgreSQL. |
| 122 |
<li> The JSON functions are now built-ins. It is no longer necessary |
| 123 |
to use the <a href="../compile.html#enable_json1">-DSQLITE_ENABLE_JSON1</a> compile-time option to enable JSON |
| 124 |
support. JSON is on by default. Disable the JSON interface using |
| 125 |
the new <a href="../compile.html#omit_json">-DSQLITE_OMIT_JSON</a> compile-time option. |
| 126 |
<li> Enhancements to <a href="../lang_datefunc.html">date and time functions</a>: |
| 127 |
<ol type="a"> |
| 128 |
<li> Added the <a href="../lang_datefunc.html#uepch">unixepoch() function</a>. |
| 129 |
<li> Added the <a href="../lang_datefunc.html#automod">auto modifier</a> and the <a href="../lang_datefunc.html#jdmod">julianday modifier</a>. |
| 130 |
</ol> |
| 131 |
<li> Rename the <a href="../lang_corefunc.html#printf">printf() SQL function</a> to <a href="../lang_corefunc.html#format">format()</a> for better |
| 132 |
compatibility. The original printf() name is retained as an alias |
| 133 |
for backwards compatibility. |
| 134 |
<li> Added the <a href="../c3ref/errcode.html">sqlite3_error_offset()</a> interface, which can sometimes |
| 135 |
help to localize an SQL error to a specific character in the input |
| 136 |
SQL text, so that applications can provide better error messages. |
| 137 |
<li> Enhanced the interface to <a href="../vtab.html">virtual tables</a> as follows: |
| 138 |
<ol type="a"> |
| 139 |
<li> Added the <a href="../c3ref/vtab_distinct.html">sqlite3_vtab_distinct()</a> interface. |
| 140 |
<li> Added the <a href="../c3ref/vtab_rhs_value.html">sqlite3_vtab_rhs_value()</a> interface. |
| 141 |
<li> Added new operator types <a href="../c3ref/c_index_constraint_eq.html">SQLITE_INDEX_CONSTRAINT_LIMIT</a> |
| 142 |
and <a href="../c3ref/c_index_constraint_eq.html">SQLITE_INDEX_CONSTRAINT_OFFSET</a>. |
| 143 |
<li> Added the <a href="../c3ref/vtab_in.html">sqlite3_vtab_in()</a> interface (and related) to enable |
| 144 |
a virtual table to process <a href="../lang_expr.html#in_op">IN operator</a> constraints all at once, |
| 145 |
rather than processing each value of the right-hand side of the |
| 146 |
IN operator separately. |
| 147 |
</ol> |
| 148 |
<li> <a href="../cli.html">CLI</a> enhancements: |
| 149 |
<ol type="a"> |
| 150 |
<li> <a href="../climode.html#clmnr">Columnar output modes</a> are enhanced to correctly handle tabs |
| 151 |
and newlines embedded in text. |
| 152 |
<li> Added options like "--wrap N", "--wordwrap on", and "--quote" |
| 153 |
to the <a href="../climode.html#clmnr">columnar output modes</a>. |
| 154 |
<li> Added the <a href="../climode.html#qbox">.mode qbox</a> alias. |
| 155 |
<li> The <a href="../cli.html#csv">.import command</a> automatically disambiguates column names. |
| 156 |
<li> Use the new <a href="../c3ref/errcode.html">sqlite3_error_offset()</a> interface to provide better |
| 157 |
error messages. |
| 158 |
</ol> |
| 159 |
<li> Query planner enhancements: |
| 160 |
<ol type="a"> |
| 161 |
<li> Use a Bloom filter to speed up large analytic queries. |
| 162 |
<li> Use a balanced merge tree to evaluate UNION or UNION ALL |
| 163 |
compound SELECT statements that have an ORDER BY clause. |
| 164 |
</ol> |
| 165 |
<li> The <a href="../lang_altertable.html">ALTER TABLE</a> statement is changed to silently ignores entries in the |
| 166 |
<a href="../schematab.html">sqlite_schema table</a> that do not parse when <a href="../pragma.html#pragma_writable_schema">PRAGMA writable_schema=ON</a>. |
| 167 |
</ol> |
| 168 |
<p><b>Prior changes from version 3.38.1 (2022-03-12):</b></p> |
| 169 |
<p><ol class='lessindent'> |
| 170 |
<li value='10'> Fix problems with the new Bloom filter optimization that might cause |
| 171 |
some obscure queries to get an incorrect answer. |
| 172 |
<li> Fix the <a href="../lang_datefunc.html#localtime">localtime modifier</a> of the <a href="../lang_datefunc.html">date and time functions</a> so that |
| 173 |
it preserves fractional seconds. |
| 174 |
<li> Fix the <a href="../lang_corefunc.html#sqlite_offset">sqlite_offset SQL function</a> so that it works correctly even |
| 175 |
in corner cases such as when the argument is a virtual column or the |
| 176 |
column of a view. |
| 177 |
<li> Fix <a href="../rowvalue.html#rvinop">row value IN operator</a> constraints on <a href="../vtab.html">virtual tables</a> so that they |
| 178 |
work correctly even if the virtual table implementation relies on bytecode |
| 179 |
to filter rows that do not satisfy the constraint. |
| 180 |
<li> Other minor fixes to assert() statements, test cases, and documentation. |
| 181 |
See the <a href="https://sqlite.org/src/timeline?p=version-3.38.1&bt=version-3.38.0">source code timeline</a> |
| 182 |
for details. |
| 183 |
|
| 184 |
</ol> |
| 185 |
<p><b>Prior changes from version 3.38.2 (2022-03-26):</b></p> |
| 186 |
<p><ol class='lessindent'> |
| 187 |
<li value='15'> Fix a user-discovered problem with the new Bloom filter optimization |
| 188 |
that might cause an incorrect answer when doing a LEFT JOIN with a WHERE |
| 189 |
clause constraint that says that one of the columns on the right table of |
| 190 |
the LEFT JOIN is NULL. See |
| 191 |
<a href='https://sqlite.org/forum/forumpost/031e262a89b6a9d2'>forum thread 031e262a89b6a9d2</a>. |
| 192 |
<li> Other minor patches. See the |
| 193 |
<a href='https://sqlite.org/src/timeline?p=version-3.38.2&bt=version-3.38.1'>timeline</a> for |
| 194 |
details. |
| 195 |
|
| 196 |
</ol> |
| 197 |
<p><b>Changes in this specific patch release, version 3.38.3 (2022-04-27):</b></p> |
| 198 |
<p><ol class='lessindent'> |
| 199 |
<li value='17'> Fix a case of the query planner be overly aggressive with optimizing automatic-index |
| 200 |
and Bloom-filter construction, using inappropriate ON clause terms to restrict the |
| 201 |
size of the automatic-index or Bloom filter, and resulting in missing rows in the |
| 202 |
output. |
| 203 |
<a href='https://sqlite.org/forum/forumpost/0d3200f4f3bcd3a3'>Forum thread 0d3200f4f3bcd3a3</a>. |
| 204 |
<li> Other minor patches. See the |
| 205 |
<a href='https://sqlite.org/src/timeline?p=version-3.38.3&bt=version-3.38.2'>timeline</a> for |
| 206 |
details. |
| 207 |
|
| 208 |
<p><b>Hashes:</b> |
| 209 |
<li>SQLITE_SOURCE_ID: 2022-04-27 12:03:15 9547e2c38a1c6f751a77d4d796894dec4dc5d8f5d79b1cd39e1ffc50df7b3be4 |
| 210 |
<li>SHA3-256 for sqlite3.c: d4d66feffad66ea82073fbb97ae9c84e3615887ebc5168226ccee28d82424517 |
| 211 |
|
| 212 |
</ol></p> |
| 213 |
|
| 214 |
<p>A <a href="../changes.html">complete list of SQLite releases</a> |
| 215 |
in a single page and a <a href="../chronology.html">chronology</a> are both also available. |
| 216 |
A detailed history of every |
| 217 |
check-in is available at |
| 218 |
<a href="https://sqlite.org/src/timeline"> |
| 219 |
SQLite version control site</a>.</p> |
| 220 |
|
| 221 |
|