| 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.8.8.3 On 2015-02-25</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.8.8.3 On 2015-02-25</h2><p><b>Prior changes from version 3.8.8 (2015-01-16):</b></p> |
| 119 |
<p><ol class='lessindent'> |
| 120 |
<p><b>New Features:</b> |
| 121 |
<li value='1'>Added the <a href="../pragma.html#pragma_data_version">PRAGMA data_version</a> command that can be used to determine if |
| 122 |
a database file has been modified by another process. |
| 123 |
<li>Added the <a href="../c3ref/c_checkpoint_full.html">SQLITE_CHECKPOINT_TRUNCATE</a> option to the |
| 124 |
<a href="../c3ref/wal_checkpoint_v2.html">sqlite3_wal_checkpoint_v2()</a> interface, with corresponding enhancements |
| 125 |
to <a href="../pragma.html#pragma_wal_checkpoint">PRAGMA wal_checkpoint</a>. |
| 126 |
<li>Added the <a href="../c3ref/stmt_scanstatus.html">sqlite3_stmt_scanstatus()</a> interface, available only when |
| 127 |
compiled with <a href="../compile.html#enable_stmt_scanstatus">SQLITE_ENABLE_STMT_SCANSTATUS</a>. |
| 128 |
<li>The <a href="../c3ref/table_column_metadata.html">sqlite3_table_column_metadata()</a> is enhanced to work correctly on |
| 129 |
<a href="../withoutrowid.html">WITHOUT ROWID</a> tables and to check for the existence of a |
| 130 |
a table if the column name parameter is NULL. The interface is now |
| 131 |
also included in the build by default, without requiring |
| 132 |
the <a href="../compile.html#enable_column_metadata">SQLITE_ENABLE_COLUMN_METADATA</a> compile-time option. |
| 133 |
<li>Added the <a href="../compile.html#enable_api_armor">SQLITE_ENABLE_API_ARMOR</a> compile-time option. |
| 134 |
<li>Added the <a href="../compile.html#reverse_unordered_selects">SQLITE_REVERSE_UNORDERED_SELECTS</a> compile-time option. |
| 135 |
<li>Added the <a href="../compile.html#sorter_pmasz">SQLITE_SORTER_PMASZ</a> compile-time option and <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigpmasz">SQLITE_CONFIG_PMASZ</a> |
| 136 |
start-time option. |
| 137 |
<li>Added the <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigpcachehdrsz">SQLITE_CONFIG_PCACHE_HDRSZ</a> option to <a href="../c3ref/config.html">sqlite3_config()</a> |
| 138 |
which makes it easier for applications to determine the appropriate |
| 139 |
amount of memory for use with <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigpagecache">SQLITE_CONFIG_PAGECACHE</a>. |
| 140 |
<li>The number of rows in a <a href="../lang_select.html#values">VALUES clause</a> is no longer limited by |
| 141 |
<a href="../c3ref/c_limit_attached.html#sqlitelimitcompoundselect">SQLITE_LIMIT_COMPOUND_SELECT</a>. |
| 142 |
<li>Added the <a href="https://sqlite.org/src/artifact/f971962e92ebb8b0">eval.c</a> |
| 143 |
<a href="../loadext.html">loadable extension</a> that implements an eval() SQL function that will recursively |
| 144 |
evaluate SQL. |
| 145 |
<p><b>Performance Enhancements:</b> |
| 146 |
<li>Reduce the number of memcpy() operations involved in balancing a b-tree, |
| 147 |
for 3.2% overall performance boost. |
| 148 |
<li>Improvements to cost estimates for the <a href="../optoverview.html#skipscan">skip-scan optimization</a>. |
| 149 |
<li>The <a href="../optoverview.html#autoindex">automatic indexing</a> optimization is now capable of generating |
| 150 |
a <a href="../partialindex.html">partial index</a> if that is appropriate. |
| 151 |
<p><b>Bug fixes:</b> |
| 152 |
<li>Ensure durability following a power loss with |
| 153 |
"PRAGMA journal_mode=TRUNCATE" by calling fsync() right after truncating |
| 154 |
the journal file. |
| 155 |
<li>The query planner now recognizes that any column in the right-hand |
| 156 |
table of a LEFT JOIN can be NULL, even if that column has a NOT NULL |
| 157 |
constraint. Avoid trying to optimize out NULL tests in those cases. |
| 158 |
Fix for ticket |
| 159 |
<a href="https://sqlite.org/src/info/6f2222d550f5b0ee7ed">6f2222d550f5b0ee7ed</a>. |
| 160 |
<li>Make sure ORDER BY puts rows in ascending order even if the DISTINCT |
| 161 |
operator is implemented using a descending index. Fix for ticket |
| 162 |
<a href="https://sqlite.org/src/info/c5ea805691bfc4204b1cb9e">c5ea805691bfc4204b1cb9e</a>. |
| 163 |
<li>Fix data races that might occur under stress when running with many threads |
| 164 |
in <a href="../sharedcache.html">shared cache mode</a> where some of the threads are opening and |
| 165 |
closing connections. |
| 166 |
<li>Fix obscure crash bugs found by |
| 167 |
<a href="http://lcamtuf.coredump.cx/afl/">american fuzzy lop</a>. Ticket |
| 168 |
<a href="https://sqlite.org/src/info/a59ae93ee990a55">a59ae93ee990a55</a>. |
| 169 |
<li>Work around a GCC optimizer bug (for gcc 4.2.1 on MacOS 10.7) that caused the |
| 170 |
<a href="../rtree.html">R-Tree extension</a> to compute incorrect results when compiled with -O3. |
| 171 |
<p><b>Other changes:</b> |
| 172 |
<li>Disable the use of the strchrnul() C-library routine unless it is |
| 173 |
specifically enabled using the -DHAVE_STRCHRNULL compile-time option. |
| 174 |
<li>Improvements to the effectiveness and accuracy of the |
| 175 |
<a href="../lang_corefunc.html#likelihood">likelihood()</a>, <a href="../lang_corefunc.html#likely">likely()</a>, and <a href="../lang_corefunc.html#unlikely">unlikely()</a> SQL hint functions. |
| 176 |
|
| 177 |
</ol> |
| 178 |
<p><b>Prior changes from version 3.8.8.1 (2015-01-20):</b></p> |
| 179 |
<p><ol class='lessindent'> |
| 180 |
<li value='22'>Fix a bug in the sorting logic, present since version 3.8.4, that can cause |
| 181 |
output to appear in the wrong order on queries that contains an ORDER BY clause, |
| 182 |
a LIMIT clause, and that have approximately 60 or more columns in the result set. |
| 183 |
Ticket <a href="https://sqlite.org/src/tktview?name=f97c4637102a3ae72b79">f97c4637102a3ae72b79</a>. |
| 184 |
|
| 185 |
</ol> |
| 186 |
<p><b>Prior changes from version 3.8.8.2 (2015-01-30):</b></p> |
| 187 |
<p><ol class='lessindent'> |
| 188 |
<li value='23'>Enhance <a href="../c3ref/wal_checkpoint_v2.html">sqlite3_wal_checkpoint_v2(TRUNCATE)</a> interface so that it truncates the |
| 189 |
WAL file even if there is no checkpoint work to be done. |
| 190 |
|
| 191 |
</ol> |
| 192 |
<p><b>Changes in this specific patch release, version 3.8.8.3 (2015-02-25):</b></p> |
| 193 |
<p><ol class='lessindent'> |
| 194 |
<li value='24'>Fix a bug (ticket |
| 195 |
<a href="https://sqlite.org/src/info/2326c258d02ead33">2326c258d02ead33</a>) that can lead |
| 196 |
to incorrect results if the qualifying constraint of a <a href="../partialindex.html">partial index</a> appears in the |
| 197 |
ON clause of a LEFT JOIN. |
| 198 |
<li>Added the ability to link against the |
| 199 |
"<a href="https://github.com/antirez/linenoise">linenoise</a>" |
| 200 |
command-line editing library in unix builds of the <a href="../cli.html">command-line shell</a>. |
| 201 |
|
| 202 |
<li>SQLITE_SOURCE_ID: "2015-02-25 13:29:11 9d6c1880fb75660bbabd693175579529785f8a6b" |
| 203 |
<li>SHA1 for sqlite3.c: 74ee38c8c6fd175ec85a47276dfcefe8a262827a |
| 204 |
|
| 205 |
</ol></p> |
| 206 |
|
| 207 |
<p>A <a href="../changes.html">complete list of SQLite releases</a> |
| 208 |
in a single page and a <a href="../chronology.html">chronology</a> are both also available. |
| 209 |
A detailed history of every |
| 210 |
check-in is available at |
| 211 |
<a href="https://sqlite.org/src/timeline"> |
| 212 |
SQLite version control site</a>.</p> |
| 213 |
|
| 214 |
|