| 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.7.10 On 2012-01-16</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.7.10 On 2012-01-16</h2><p><ol class='lessindent'> |
| 119 |
<li>The default <a href="../fileformat2.html#schemaformat">schema format number</a> is changed from 1 to 4. |
| 120 |
This means that, unless |
| 121 |
the <a href="../pragma.html#pragma_legacy_file_format">PRAGMA legacy_file_format=ON</a> statement is |
| 122 |
run, newly created database files will be unreadable by version of SQLite |
| 123 |
prior to 3.3.0 (2006-01-10). It also means that the <a href="../lang_createindex.html#descidx">descending indices</a> |
| 124 |
are enabled by default. |
| 125 |
<li>The sqlite3_pcache_methods structure and the <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigpcache">SQLITE_CONFIG_PCACHE</a> |
| 126 |
and <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfiggetpcache">SQLITE_CONFIG_GETPCACHE</a> configuration parameters are deprecated. |
| 127 |
They are replaced by a new <a href="../c3ref/pcache_methods2.html">sqlite3_pcache_methods2</a> structure and |
| 128 |
<a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigpcache2">SQLITE_CONFIG_PCACHE2</a> and <a href="../c3ref/c_config_covering_index_scan.html#sqliteconfiggetpcache2">SQLITE_CONFIG_GETPCACHE2</a> configuration |
| 129 |
parameters. |
| 130 |
<li>Added the <a href="../psow.html">powersafe overwrite</a> property to the VFS interface. Provide |
| 131 |
the <a href="../c3ref/c_iocap_atomic.html">SQLITE_IOCAP_POWERSAFE_OVERWRITE</a> I/O capability, the |
| 132 |
<a href="../compile.html#powersafe_overwrite">SQLITE_POWERSAFE_OVERWRITE</a> compile-time option, and the |
| 133 |
"psow=BOOLEAN" query parameter for <a href="../uri.html">URI filenames</a>. |
| 134 |
<li>Added the <a href="../c3ref/db_release_memory.html">sqlite3_db_release_memory()</a> interface and the |
| 135 |
<a href="../pragma.html#pragma_shrink_memory">shrink_memory pragma</a>. |
| 136 |
<li>Added the <a href="../c3ref/db_filename.html">sqlite3_db_filename()</a> interface. |
| 137 |
<li>Added the <a href="../c3ref/stmt_busy.html">sqlite3_stmt_busy()</a> interface. |
| 138 |
<li>Added the <a href="../c3ref/uri_boolean.html">sqlite3_uri_boolean()</a> and <a href="../c3ref/uri_boolean.html">sqlite3_uri_int64()</a> interfaces. |
| 139 |
<li>If the argument to <a href="../pragma.html#pragma_cache_size">PRAGMA cache_size</a> is negative N, that means to use |
| 140 |
approximately -1024*N bytes of memory for the page cache regardless of |
| 141 |
the page size. |
| 142 |
<li>Enhanced the default memory allocator to make use of _msize() on windows, |
| 143 |
malloc_size() on Mac, and malloc_usable_size() on Linux. |
| 144 |
<li>Enhanced the query planner to support index queries with range constraints |
| 145 |
on the rowid. |
| 146 |
<li>Enhanced the query planner flattening logic to allow UNION ALL compounds |
| 147 |
to be promoted upwards to replace a simple wrapper SELECT even if the |
| 148 |
compounds are joins. |
| 149 |
<li>Enhanced the query planner so that the xfer optimization can be used with |
| 150 |
INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is |
| 151 |
initially empty. |
| 152 |
<li>Enhanced the windows <a href="../vfs.html">VFS</a> so that all system calls can be overridden |
| 153 |
using the xSetSystemCall interface. |
| 154 |
<li>Updated the "unix-dotfile" <a href="../vfs.html">VFS</a> to use locking directories with mkdir() |
| 155 |
and rmdir() instead of locking files with open() and unlink(). |
| 156 |
<li>Enhancements to the test_quota.c extension to support stdio-like interfaces |
| 157 |
with quotas. |
| 158 |
<li>Change the unix <a href="../vfs.html">VFS</a> to be tolerant of read() system calls that return |
| 159 |
less then the full number of requested bytes. |
| 160 |
<li>Change both unix and windows <a href="../vfs.html">VFSes</a> to report a sector size of 4096 |
| 161 |
instead of the old default of 512. |
| 162 |
<li>In the <a href="../tclsqlite.html">TCL Interface</a>, add the -uri option to the "sqlite3" TCL command |
| 163 |
used for creating new database connection objects. |
| 164 |
<li>Added the <a href="../c3ref/c_testctrl_always.html">SQLITE_TESTCTRL_EXPLAIN_STMT</a> test-control option with the |
| 165 |
<a href="../compile.html#enable_tree_explain">SQLITE_ENABLE_TREE_EXPLAIN</a> compile-time option to enable the |
| 166 |
<a href="../cli.html">command-line shell</a> to display ASCII-art parse trees of SQL statements |
| 167 |
that it processes, for debugging and analysis. |
| 168 |
<li><b>Bug fix:</b> |
| 169 |
Add an additional xSync when restarting a WAL in order to prevent an |
| 170 |
exceedingly unlikely but theoretically possible |
| 171 |
database corruption following power-loss. |
| 172 |
Ticket <a href="https://sqlite.org/src/info/ff5be73dee">ff5be73dee</a>. |
| 173 |
<li><b>Bug fix:</b> |
| 174 |
Change the VDBE so that all registers are initialized to Invalid |
| 175 |
instead of NULL. |
| 176 |
Ticket <a href="https://sqlite.org/src/info/7bbfb7d442">7bbfb7d442</a> |
| 177 |
<li><b>Bug fix:</b> |
| 178 |
Fix problems that can result from 32-bit integer overflow. |
| 179 |
Ticket <a href="https://sqlite.org/src/info/ac0ff496b7e2">ac00f496b7e2</a> |
| 180 |
<li>SQLITE_SOURCE_ID: |
| 181 |
"2012-01-16 13:28:40 ebd01a8deffb5024a5d7494eef800d2366d97204" |
| 182 |
<li>SHA1 for sqlite3.c: 6497cbbaad47220bd41e2e4216c54706e7ae95d4 |
| 183 |
|
| 184 |
</ol></p> |
| 185 |
|
| 186 |
<p>A <a href="../changes.html">complete list of SQLite releases</a> |
| 187 |
in a single page and a <a href="../chronology.html">chronology</a> are both also available. |
| 188 |
A detailed history of every |
| 189 |
check-in is available at |
| 190 |
<a href="https://sqlite.org/src/timeline"> |
| 191 |
SQLite version control site</a>.</p> |
| 192 |
|
| 193 |
|