Debian Codegraph @

www/releaselog/3_12_0.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.12.0 On 2016-03-29</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.12.0 On 2016-03-29</h2><p><ol class='lessindent'>
119 <p><b>Potentially Disruptive Change:</b>
120 <li>The <a href="../compile.html#default_page_size">SQLITE_DEFAULT_PAGE_SIZE</a> is increased from 1024 to 4096.
121 The <a href="../compile.html#default_cache_size">SQLITE_DEFAULT_CACHE_SIZE</a> is changed from 2000 to -2000 so
122 the same amount of cache memory is used by default.
123 See the application note on the
124 <a href="../pgszchng2016.html">version 3.12.0 page size change</a> for further information.
125 <p><b>Performance enhancements:</b>
126 <li>Enhancements to the <a href="../lemon.html">Lemon parser generator</a>
127 so that it creates a smaller and faster SQL parser.
128 <li>Only create <a href="../tempfiles.html#superjrnl">master journal</a> files if two or more attached databases are all
129 modified, do not have <a href="../pragma.html#pragma_synchronous">PRAGMA synchronous</a> set to OFF, and
130 do not have the <a href="../pragma.html#pragma_journal_mode">journal_mode</a> set to OFF, MEMORY, or WAL.
131 <li>Only create <a href="../tempfiles.html#stmtjrnl">statement journal</a> files when their size exceeds a threshold.
132 Otherwise the journal is held in memory and no I/O occurs. The threshold
133 can be configured at compile-time using <a href="../compile.html#stmtjrnl_spill">SQLITE_STMTJRNL_SPILL</a> or at
134 start-time using <a href="../c3ref/config.html">sqlite3_config</a>(<a href="../c3ref/c_config_covering_index_scan.html#sqliteconfigstmtjrnlspill">SQLITE_CONFIG_STMTJRNL_SPILL</a>).
135 <li>The query planner is able to optimize IN operators on <a href="../vtab.html">virtual tables</a>
136 even if the <a href="../vtab.html#xbestindex">xBestIndex</a> method does not set the
137 sqlite3_index_constraint_usage.omit flag of the
138 virtual table column to the left of the IN operator.
139 <li>The query planner now does a better job of optimizing <a href="../vtab.html">virtual table</a>
140 accesses in a 3-way or higher join where constraints on the virtual
141 table are split across two or more other tables of the join.
142 <li>More efficient handling of <a href="../appfunc.html">application-defined SQL functions</a>, especially
143 in cases where the application defines hundreds or thousands of
144 custom functions.
145 <li>The query planner considers the LIMIT clause when estimating the cost
146 of ORDER BY.
147 <li>The configure script (on unix) automatically detects
148 pread() and pwrite() and sets compile-time options to use those OS
149 interfaces if they are available.
150 <li>Reduce the amount of memory needed to hold the schema.
151 <li>Other miscellaneous micro-optimizations for improved performance and reduced
152 memory usage.
153 <p><b>New Features:</b>
154 <li>Added the <a href="../c3ref/c_dbconfig_defensive.html#sqlitedbconfigenablefts3tokenizer">SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER</a> option to <a href="../c3ref/db_config.html">sqlite3_db_config()</a>
155 which allows the two-argument version of the <a href="../fts3.html#f3tknzr">fts3_tokenizer()</a> SQL function to
156 be enabled or disabled at run-time.
157 <li>Added the <a href="https://sqlite.org/src/artifact/d7cc99350?ln=403-443">sqlite3rbu_bp_progress()</a>
158 interface to the <a href="../rbu.html">RBU</a> extension.
159 <li>The <a href="../pragma.html#pragma_defer_foreign_keys">PRAGMA defer_foreign_keys=ON</a> statement now also disables
160 <a href="../foreignkeys.html#fk_actions">RESTRICT actions</a> on foreign key.
161 <li>Added the <a href="../c3ref/system_errno.html">sqlite3_system_errno()</a> interface.
162 <li>Added the <a href="../compile.html#default_synchronous">SQLITE_DEFAULT_SYNCHRONOUS</a> and <a href="../compile.html#default_wal_synchronous">SQLITE_DEFAULT_WAL_SYNCHRONOUS</a>
163 compile-time options. The <a href="../compile.html#default_synchronous">SQLITE_DEFAULT_SYNCHRONOUS</a> compile-time option
164 replaces the <a href="../compile.html#extra_durable">SQLITE_EXTRA_DURABLE</a> option, which is no longer supported.
165 <li>Enhanced the ".stats" command in the <a href="../cli.html">command-line shell</a> to show more
166 information about I/O performance obtained from /proc, when available.
167 <p><b>Bug fixes:</b>
168 <li>Make sure the <a href="../c3ref/get_auxdata.html">sqlite3_set_auxdata()</a> values from multiple triggers
169 within a single statement do not interfere with one another.
170 Ticket <a href="https://sqlite.org/src/info/dc9b1c91">dc9b1c91</a>.
171 <li>Fix the code generator for expressions of the form "x IN (SELECT...)" where
172 the SELECT statement on the RHS is a correlated subquery.
173 Ticket <a href="https://sqlite.org/src/info/5e3c886796e5512e">5e3c886796e5512e</a>.
174 <li>Fix a harmless TSAN warning associated with the <a href="../c3ref/db_readonly.html">sqlite3_db_readonly()</a> interface.
175 <p><b>Hashes:</b>
176 <li>SQLITE_SOURCE_ID: "2016-03-29 10:14:15 e9bb4cf40f4971974a74468ef922bdee481c988b"
177 <li>SHA1 for sqlite3.c: cba2be96d27cb51978cd4a200397a4ad178986eb
178
179 </ol></p>
180
181 <p>A <a href="../changes.html">complete list of SQLite releases</a>
182 in a single page and a <a href="../chronology.html">chronology</a> are both also available.
183 A detailed history of every
184 check-in is available at
185 <a href="https://sqlite.org/src/timeline">
186 SQLite version control site</a>.</p>
187
188