| 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.10.2 On 2016-01-20</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.10.2 On 2016-01-20</h2><p><b>Prior changes from version 3.10.0 (2016-01-06):</b></p> |
| 119 |
<p><ol class='lessindent'> |
| 120 |
<p><b>General improvements:</b> |
| 121 |
<li value='1'>Added support for <a href="../lang_expr.html#like">LIKE</a>, <a href="../lang_expr.html#glob">GLOB</a>, and <a href="../lang_expr.html#regexp">REGEXP</a> operators on <a href="../vtab.html">virtual tables</a>. |
| 122 |
<li>Added the <a href="../vtab.html#colUsed">colUsed field</a> to <a href="../c3ref/index_info.html">sqlite3_index_info</a> for use by |
| 123 |
the <a href="../vtab.html#xbestindex">sqlite3_module.xBestIndex</a> method. |
| 124 |
<li>Enhance the <a href="../pragma.html#pragma_cache_spill">PRAGMA cache_spill</a> statement to accept a 32-bit integer |
| 125 |
parameter which is the threshold below which cache spilling is prohibited. |
| 126 |
<li>On unix, if a symlink to a database file is opened, then the corresponding |
| 127 |
journal files are based on the actual filename, not the symlink name. |
| 128 |
<li>Added the "--transaction" option to <a href="../sqldiff.html">sqldiff</a>. |
| 129 |
<li>Added the <a href="../c3ref/db_cacheflush.html">sqlite3_db_cacheflush()</a> interface. |
| 130 |
<li>Added the <a href="../c3ref/strlike.html">sqlite3_strlike()</a> interface. |
| 131 |
<li>When using <a href="../mmap.html">memory-mapped I/O</a> map the database file read-only so that stray pointers |
| 132 |
and/or array overruns in the application cannot accidentally modify the database file. |
| 133 |
<li>Added the <em>experimental</em> <a href="../c3ref/snapshot_get.html">sqlite3_snapshot_get()</a>, <a href="../c3ref/snapshot_open.html">sqlite3_snapshot_open()</a>, |
| 134 |
and <a href="../c3ref/snapshot_free.html">sqlite3_snapshot_free()</a> interfaces. These are subject to change or removal in |
| 135 |
a subsequent release. |
| 136 |
<li>Enhance the <a href="../lang_datefunc.html#localtime">'utc' modifier</a> in the <a href="../lang_datefunc.html">date and time functions</a> so that it is a no-op if |
| 137 |
the date/time is known to already be in UTC. (This is not a compatibility break since |
| 138 |
the behavior has long been documented as "undefined" in that case.) |
| 139 |
<li>Added the <a href="../json1.html#jgrouparray">json_group_array()</a> and <a href="../json1.html#jgroupobject">json_group_object()</a> SQL functions in the |
| 140 |
<a href="../json1.html#jmini">json</a> extension. |
| 141 |
<li>Added the <a href="../compile.html#like_doesnt_match_blobs">SQLITE_LIKE_DOESNT_MATCH_BLOBS</a> compile-time option. |
| 142 |
<li>Many small performance optimizations. |
| 143 |
<p><b>Portability enhancements:</b> |
| 144 |
<li>Work around a sign-extension bug in the optimizer of the HP C compiler on HP/UX. |
| 145 |
<a href="https://sqlite.org/src/fdiff?sbs=1&v1=869c95b0fc73026d&v2=232c242a0ccb3d67">(details)</a> |
| 146 |
<p><b>Enhancements to the <a href="../cli.html">command-line shell</a>:</b> |
| 147 |
<li>Added the ".changes ON|OFF" and ".vfsinfo" <a href="../cli.html#dotcmd">dot-commands</a>. |
| 148 |
<li>Translate between MBCS and UTF8 when |
| 149 |
running in <a href="https://en.wikipedia.org/wiki/Cmd.exe">cmd.exe</a> on Windows. |
| 150 |
<p><b>Enhancements to makefiles:</b> |
| 151 |
<li>Added the --enable-editline and --enable-static-shell options |
| 152 |
to the various autoconf-generated configure scripts. |
| 153 |
<li>Omit all use of "awk" in the makefiles, to make building easier for MSVC users. |
| 154 |
<p><b>Important fixes:</b> |
| 155 |
<li>Fix inconsistent integer to floating-point comparison operations that |
| 156 |
could result in a corrupt index if the index is created on a table |
| 157 |
column that contains both large integers and floating point values |
| 158 |
of similar magnitude. Ticket |
| 159 |
<a href="https://sqlite.org/src/tktview?name=38a97a87a6">38a97a87a6</a>. |
| 160 |
<li>Fix an infinite-loop in the query planner that could occur on |
| 161 |
malformed <a href="../lang_with.html">common table expressions</a>. |
| 162 |
<li>Various bug fixes in the <a href="../sqldiff.html">sqldiff</a> tool. |
| 163 |
</ol> |
| 164 |
<p><b>Prior changes from version 3.10.1 (2016-01-14):</b></p> |
| 165 |
<p><ol class='lessindent'> |
| 166 |
<p><b>New feature:</b> |
| 167 |
<li value='22'>Add the <a href="../c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntljournalpointer">SQLITE_FCNTL_JOURNAL_POINTER</a> file control. |
| 168 |
<p><b>Bug fix:</b> |
| 169 |
<li>Fix a 16-month-old bug in the query planner that could generate incorrect results |
| 170 |
when a scalar subquery attempts to use the <a href="../queryplanner.html#partialsort">block sorting</a> optimization. Ticket |
| 171 |
<a href="https://sqlite.org/src/info/cb3aa0641d9a4">cb3aa0641d9a4</a>. |
| 172 |
</ol> |
| 173 |
<p><b>Changes in this specific patch release, version 3.10.2 (2016-01-20):</b></p> |
| 174 |
<p><ol class='lessindent'> |
| 175 |
<p><b>Critical bug fix:</b> |
| 176 |
<li value='24'>Version 3.10.0 introduced a case-folding bug in the <a href="../lang_expr.html#like">LIKE</a> operator which is fixed |
| 177 |
by this patch release. Ticket |
| 178 |
<a href="https://sqlite.org/src/info/80369eddd5c94">80369eddd5c94</a>. |
| 179 |
<p><b>Other miscellaneous bug fixes:</b> |
| 180 |
<li>Fix a use-after-free that can occur when SQLite is compiled with -DSQLITE_HAS_CODEC. |
| 181 |
<li>Fix the build so that it works with -DSQLITE_OMIT_WAL. |
| 182 |
<li>Fix the configure script for the amalgamation so that the --readline option works again |
| 183 |
on Raspberry PIs. |
| 184 |
<p><b>Hashes:</b> |
| 185 |
<li>SQLITE_SOURCE_ID: "2016-01-20 15:27:19 17efb4209f97fb4971656086b138599a91a75ff9" |
| 186 |
<li>SHA1 for sqlite3.c: f7088b19d97cd7a1c805ee95c696abd54f01de4f |
| 187 |
|
| 188 |
</ol></p> |
| 189 |
|
| 190 |
<p>A <a href="../changes.html">complete list of SQLite releases</a> |
| 191 |
in a single page and a <a href="../chronology.html">chronology</a> are both also available. |
| 192 |
A detailed history of every |
| 193 |
check-in is available at |
| 194 |
<a href="https://sqlite.org/src/timeline"> |
| 195 |
SQLite version control site</a>.</p> |
| 196 |
|
| 197 |
|