1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>SQLite Older News</title>
<style type="text/css">
body {
margin: auto;
font-family: Verdana, sans-serif;
padding: 8px 1%;
}
a { color: #044a64 }
a:visited { color: #734559 }
.logo { position:absolute; margin:3px; }
.tagline {
float:right;
text-align:right;
font-style:italic;
width:300px;
margin:12px;
margin-top:58px;
}
.menubar {
clear: both;
border-radius: 8px;
background: #044a64;
padding: 0px;
margin: 0px;
cell-spacing: 0px;
}
.toolbar {
text-align: center;
line-height: 1.6em;
margin: 0;
padding: 0px 8px;
}
.toolbar a { color: white; text-decoration: none; padding: 6px 12px; }
.toolbar a:visited { color: white; }
.toolbar a:hover { color: #044a64; background: white; }
.content { margin: 5%; }
.content dt { font-weight:bold; }
.content dd { margin-bottom: 25px; margin-left:20%; }
.content ul { padding:0px; padding-left: 15px; margin:0px; }
/* Things for "fancyformat" documents start here. */
.fancy img+p {font-style:italic}
.fancy .codeblock i { color: darkblue; }
.fancy h1,.fancy h2,.fancy h3,.fancy h4 {font-weight:normal;color:#044a64}
.fancy h2 { margin-left: 10px }
.fancy h3 { margin-left: 20px }
.fancy h4 { margin-left: 30px }
.fancy th {white-space:nowrap;text-align:left;border-bottom:solid 1px #444}
.fancy th, .fancy td {padding: 0.2em 1ex; vertical-align:top}
.fancy #toc a { color: darkblue ; text-decoration: none }
.fancy .todo { color: #AA3333 ; font-style : italic }
.fancy .todo:before { content: 'TODO:' }
.fancy p.todo { border: solid #AA3333 1px; padding: 1ex }
.fancy img { display:block; }
.fancy :link:hover, .fancy :visited:hover { background: wheat }
.fancy p,.fancy ul,.fancy ol { margin: 1em 5ex }
.fancy li p { margin: 1em 0 }
/* End of "fancyformat" specific rules. */
</style>
</head>
<body>
<div><!-- container div to satisfy validator -->
<a href="index.html">
<img class="logo" src="images/sqlite370_banner.gif" alt="SQLite Logo"
border="0"></a>
<div><!-- IE hack to prevent disappearing logo--></div>
<div class="tagline">Small. Fast. Reliable.<br>Choose any three.</div>
<table width=100% class="menubar"><tr>
<td width=100%>
<div class="toolbar">
<a href="about.html">About</a>
<a href="sitemap.html">Sitemap</a>
<a href="docs.html">Documentation</a>
<a href="download.html">Download</a>
<a href="copyright.html">License</a>
<a href="news.html">News</a>
<a href="support.html">Support</a>
</div>
<script>
gMsg = "Search SQLite Docs..."
function entersearch() {
var q = document.getElementById("q");
if( q.value == gMsg ) { q.value = "" }
q.style.color = "black"
q.style.fontStyle = "normal"
}
function leavesearch() {
var q = document.getElementById("q");
if( q.value == "" ) {
q.value = gMsg
q.style.color = "#044a64"
q.style.fontStyle = "italic"
}
}
function hideorshow(btn,obj){
var x = document.getElementById(obj);
var b = document.getElementById(btn);
if( x.style.display!='none' ){
x.style.display = 'none';
b.innerHTML='show';
}else{
x.style.display = '';
b.innerHTML='hide';
}
return false;
}
</script>
<td>
<div style="padding:0 1em 0px 0;white-space:nowrap">
<form name=f method="GET" action="http://www.sqlite.org/search">
<input id=q name=q type=text
onfocus="entersearch()" onblur="leavesearch()" style="width:24ex;padding:1px 1ex; border:solid white 1px; font-size:0.9em ; font-style:italic;color:#044a64;" value="Search SQLite Docs...">
<input type=submit value="Go" style="border:solid white 1px;background-color:#044a64;color:white;font-size:0.9em;padding:0 1ex">
</form>
</div>
</table>
<div class=startsearch></div>
<?xml version="1.0" encoding="Windows-1252"?>
<a name="2012_12_19"></a><h3>2012-12-19 - Release 3.7.15.1</h3><blockquote>
SQLite <a href="releaselog/3_7_15_1.html">version 3.7.15.1</a> is a patch release that fixes a single bug
that was introduced in version <a href="releaselog/3_7_15.html">version 3.7.15</a>. The fix involved changing
two lines of code and adding a single assert(). This release also includes
some new test cases to prevent a regression of the bug, and the version
number is increased, of course. But otherwise, nothing has changed from
<a href="releaselog/3_7_15.html">version 3.7.15</a>.
</blockquote><hr width="50%"><a name="2012_12_12"></a><h3>2012-12-12 - Release 3.7.15</h3><blockquote>
SQLite <a href="releaselog/3_7_15.html">version 3.7.15</a> is a regularly schedule release of SQLite. This
release contains several improvements to the query planner and optimizer
and one important bug fix. This is the first release to officially
support Windows 8 Phone.</p>
<p> The important bug fix is a problem that can lead to segfaults when using
<a href="sharedcache.html">shared cache mode</a> on a schema that contains a <a href="lang_expr.html#collateop">COLLATE operator</a> within
a <a href="lang_createtable.html#ckconst">CHECK constraint</a> or within a <a href="lang_createview.html">view</a>. Collating functions are associated
with individual database connections. But a pointer to the collating function
was also being cached within expressions. If an expression was part of the
schema and contained a cached collating function, it would point to the
collating function in the database connection that originally parsed the
schema. If that database connection closed while other database
connections using the same shared cache continued to operate, they other
database connections would try to use the deallocated collating function
in the database connection that closed. The fix in version 3.7.15 was to
not cache collating function pointers in the expression structure but
instead look them up each time a new statement is prepared.</p>
<p> This release also contains some important enhancements to the query planner
which should (we hope) make some queries run faster. The enhancements
include:</p>
<p> <ol><li><p>When doing a full-table scan, try to use an index instead of
the original table, under the theory that indices contain less information
and are thus smaller and hence require less disk I/O to scan.</p></p>
<p> <li><p>Enhance the <a href="lang_expr.html#in_op">IN operator</a> to allow it to make use of
indices that have <a href="datatype3.html#affinity">numeric affinity</a>.</p></p>
<p> <li><p>Do a better job of recognizing when an ORDER BY clause can be
implemented using indices - especially in cases where the ORDER BY clause
contains terms from two or more tables in a join.</p>
</ol>
</blockquote><hr width="50%"><a name="2012_10_04"></a><h3>2012-10-04 - Release 3.7.14.1</h3><blockquote>
SQLite <a href="releaselog/3_7_14_1.html">version 3.7.14.1</a> is a patch release. Changes from the baseline
version 3.7.14 are minimal and are restricted to fixing three bugs.</p>
<p> One of the fixed bugs is a long-standing issue with the TCL interface.
Another is an external compiler bug that SQLite merely works around and
that only comes up if you are using the VisualStudio-2012 compiler to
generate WinRT applications on ARM with optimizations enabled. The
third problem is an SQLite core bug, introduced in version 3.7.14, that
can cause a segfault if a query contains a LEFT JOIN that contains an OR
in the ON clause.
</blockquote><hr width="50%"><a name="2012_09_03"></a><h3>2012-09-03 - Release 3.7.14</h3><blockquote>
SQLite <a href="releaselog/3_7_14.html">version 3.7.14</a> is a regularly scheduled maintenance release
of SQLite. The previous release continues to work well. Upgrading
is optional.</p>
<p> Version 3.7.14 drops native support for OS/2. We are not aware of any
active projects that were using SQLite on OS/2 and since the SQLite
developers had no way of testing on OS/2 it seemed like it was time
to simply remove the OS/2 code from the SQLite tree. If there are
OS/2 projects out there that still need SQLite support, they can
continue to maintain their own private <a href="vfs.html">VFS</a> which can be linked to
SQLite at start-time using the <a href="c3ref/vfs_find.html">sqlite3_vfs_register()</a> interface.</p>
<p> The <a href="c3ref/close.html">sqlite3_close_v2()</a> interface has been added. The sqlite3_close_v2()
interface differs from sqlite3_close() in that it is designed to work
better for host language that use a garbage collector. With the older
sqlite3_close() interface, the associated <a href="c3ref/stmt.html">prepared statements</a> and
<a href="c3ref/backup.html">sqlite3_backup</a> objects must be destroyed before the database connection.
With the newer sqlite3_close_v2() interface, the objects can be destroyed
in any order.</p>
<p> This release also includes performance improvements to the sort algorithm
that is used to implement ORDER BY and CREATE INDEX. And the query planner
has been enhanced to better use covering indices on queries that use OR
terms in the WHERE clause.
</blockquote><hr width="50%"><a name="2012_06_11"></a><h3>2012-06-11 - Release 3.7.13</h3><blockquote>
SQLite <a href="releaselog/3_7_13.html">version 3.7.13</a> adds support for WinRT and metro style
applications for Microsoft Windows 8. The 3.7.13 release is
coming sooner than is usual after the previous release in order to get
this new capability into the hands of developers. To use SQLite in
a metro style application, compile with the -DSQLITE_OS_WINRT flag.
Because of the increased application security and safety requirements
of WinRT, all database
filenames should be full pathnames. Note that SQLite is not capable
of accessing databases outside the installation directory and application
data directory. This restriction is another security and safety feature
of WinRT. Apart from these restrictions, SQLite should work exactly
the same on WinRT as it does on every other system.</p>
<p> Also in this release: when a database is opened using <a href="uri.html">URI filenames</a>
and the <a href="uri.html#coreqp">mode=memory</a> query parameter
then the database is an in-memory database, just as if it had
been named ":memory:". But, if shared cache mode is enabled, then
all other database connections that specify the same URI filename
will connect to the same in-memory database. This allows two or more
database connections (in the same process) to share the same in-memory
database.</p>
<p> This release also includes some corner-case performance optimizations
that are obscure yet significant to an important subset of SQLite users.
Getting these performance optimizations into circulation quickly is
yet another reason for making this release so soon following the previous.</p>
<p> The next release of SQLite is scheduled to occur after the usual
2 or 3 month interval.
</blockquote><hr width="50%"><a name="2012_05_22"></a><h3>2012-05-22 - Patch Release 3.7.12.1</h3><blockquote>
SQLite <a href="releaselog/3_7_12_1.html">version 3.7.12.1</a> is a patch release for <a href="releaselog/3_7_12.html">version 3.7.12</a> that
fixes a <a href="http://www.sqlite.org/src/info/c2ad16f997ee9c">bug</a> that was
introduced in version 3.7.12 and that can
cause a segfault for certain obscure nested aggregate queries.
There are very few changes in 3.7.12.1, and upgrading is only needed for
applications that do nested aggregate queries.
</blockquote><hr width="50%"><a name="2012_05_14"></a><h3>2012-05-14 - Version 3.7.12</h3><blockquote>
SQLite <a href="releaselog/3_7_12.html">version 3.7.12</a> is a regularly scheduled maintenance release.
This release contains several new optimizations and bug fixes and upgrading
is recommended. See the <a href="releaselog/3_7_12.html">change summary</a> for details.
</blockquote><hr width="50%"><a name="2012_03_20"></a><h3>2012-03-20 - Version 3.7.11</h3><blockquote>
SQLite <a href="releaselog/3_7_11.html">version 3.7.11</a> is a regularly scheduled maintenance release
which was rushed out early due to a
<a href="http://www.sqlite.org/src/info/b7c8682cc1">bug in the query optimizer</a>
introduced in the previous release. The bug is obscure - it changes
a LEFT JOIN into an INNER JOIN in some cases when there is a 3-way join
and OR terms in the WHERE clause. But it was considered serious enough to
rush out a fix. Apart from this one problem, SQLite <a href="releaselog/3_7_10.html">version 3.7.10</a> has
not given any trouble. Upgrading to <a href="releaselog/3_7_11.html">version 3.7.11</a> from versions
3.7.6.3, 3.7.7, 3.7.7.1, 3.7.8, or 3.7.9 is
optional. Upgrading from other releases, including the previous release
3.7.10, is recommended.</p>
<p> Other enhancements found in this release are enumerated in the
<a href="releaselog/3_7_11.html">change log</a>.
</blockquote><hr width="50%"><a name="2012_01_16"></a><h3>2012-01-16 - Version 3.7.10</h3><blockquote>
SQLite <a href="releaselog/3_7_10.html">version 3.7.10</a> is a regularly scheduled maintenance release.
Upgrading from version 3.7.6.3, 3.7.7, 3.7.7.1, 3.7.8, or 3.7.9 is
optional. Upgrading from other releases is recommended.</p>
<p> The <a href="c3ref/c_config_covering_index_scan.html#sqliteconfigpcache">SQLITE_CONFIG_PCACHE</a> mechanism has been replaced with
<a href="c3ref/c_config_covering_index_scan.html#sqliteconfigpcache2">SQLITE_CONFIG_PCACHE2</a>. If you do not know what this mechanism
is (it is an extreme corner-case and is seldom used) then this
change will not effect you in the least.</p>
<p> The default <a href="fileformat2.html#schemaformat">schema format number</a> for new database files has changed
from 1 to 4. SQLite has been able to generate and read database files
using schema format 4 for six years. But up unto now, the default
schema format has been 1 so that older versions of SQLite could read
and write databases generated by newer versions of SQLite. But those
older versions of SQLite have become so scarce now that it seems
reasonable to make the new format the default.</p>
<p> SQLite is changing some of the assumptions it makes above the behavior
of disk drives and flash memory devices during a sudden power loss.
This change is completely transparent to applications.
Read about the <a href="psow.html">powersafe overwrite</a> property for additional information.</p>
<p> Lots of new interfaces have been added in this release:
<ul>
<li> <a href="c3ref/db_release_memory.html">sqlite3_db_release_memory()</a>
<li> <a href="pragma.html#pragma_shrink_memory">PRAGMA shrink_memory</a>
<li> <a href="c3ref/db_filename.html">sqlite3_db_filename()</a>
<li> <a href="c3ref/stmt_busy.html">sqlite3_stmt_busy()</a>
<li> <a href="c3ref/uri_boolean.html">sqlite3_uri_boolean()</a>
<li> <a href="c3ref/uri_boolean.html">sqlite3_uri_int64()</a>
</ul></p>
<p> The <a href="pragma.html#pragma_cache_size">PRAGMA cache_size</a> statement has been enhanced. Formerly, you would
use this statement to tell SQLite how many pages of the database files it
should hold in its cache at once. The total memory requirement would
depend on the database page size. Now, if you give <a href="pragma.html#pragma_cache_size">PRAGMA cache_size</a>
a negative value -N, it will allocate roughly N
<a href="http://en.wikipedia.org/wiki/Kibibyte">kibibytes</a> of memory to cache,
divided up according to page size. This enhancement allows programs to
more easily control their memory usage.</p>
<p> There have been several obscure bug fixes. One noteworthy bug,
ticket <a href="http://www.sqlite.org/src/info/ff5be73dee">ff5be73dee</a>,
could in theory result in a corrupt database file if a power loss
occurred at just the wrong moment on an unusually cantankerous disk
drive. But that is mostly a theoretical concern and is very unlikely
to happen in practice. The bug was found during laboratory testing
and has never been observed to occur in the wild.
</blockquote><hr width="50%"><a name="2011_11_01"></a><h3>2011-11-01 - Version 3.7.9</h3><blockquote>
SQLite <a href="releaselog/3_7_9.html">version 3.7.9</a> is a regularly scheduled maintenance release.
Upgrading from version 3.7.6.3, 3.7.7, 3.7.7.1, and 3.7.8 is optional.
Upgrading from other versions is recommended.</p>
<p> The <a href="compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a> compile-time option is now a no-op. The enhanced
query-planner functionality formerly available using SQLITE_ENABLE_STAT2
is now available through <a href="compile.html#enable_stat3">SQLITE_ENABLE_STAT3</a>. The enhanced query planning
is still disabled by default. However, future releases of SQLite might
convert STAT3 from an enable-option to a disable-option so that it is
available by default and is only omitted upon request.</p>
<p> The <a href="fts3.html#fts4">FTS4</a> full-text search engine has been enhanced such that tokens in
the search string that begin with "^" must be the first token in their
respective columns in order to match. Formerly, "^" characters in the
search string were simply ignored. Hence, if a legacy application was
including "^" characters in FTS4 search strings, thinking that they would
always be ignored, then those legacy applications might break with this
update. The fix is simply remove the "^" characters from the search
string.</p>
<p> See the <a href="releaselog/3_7_9.html">change summary</a> for additional changes associated
with this release.
</blockquote><hr width="50%"><a name="2011__eptember_19"></a><h3>2011-September-19 - Version 3.7.8</h3><blockquote>
SQLite <a href="releaselog/3_7_8.html">version 3.7.8</a> is a quarterly maintenance release. Upgrading from
versions 3.7.6.3, 3.7.7, or 3.7.7.1 is optional. Upgrading from other
versions is recommended.</p>
<p> This release features a new "external merge sort" algorithm used to
implement ORDER BY and GROUP BY and also to presort the content of an
index for CREATE INDEX. The new algorithm does approximately the same
number of comparisons and I/Os as before, but the I/Os are much more
sequential and so runtimes are greatly reduced when the size of the
set being sorted is larger than the filesystem cache. The performance
improvement can be dramatic - orders of magnitude faster
for large CREATE INDEX commands. On the other hand,
the code is slightly slower (1% or 2%)
for a small CREATE INDEX. Since CREATE INDEX is not an
operation that commonly occurs on a speed-critical path, we feel that
this tradeoff is a good one. The slight slowdown for small CREATE INDEX
statements might be recovered in a future release. ORDER BY and GROUP BY
operations should now be faster for all cases, large and small.</p>
<p> The query planner has been enhanced to do a better job of handling
the DISTINCT keyword on SELECT statements.</p>
<p> There has been a lot of work on the default <a href="vfs.html">VFSes</a>. The unix VFS has
been enhanced to include more overrideable system calls - a feature requested
by Chromium to make it easier to build SQLite into a sandbox. The
windows VFS has been enhanced to be more resistant to interference from
anti-virus software.</p>
<p> Every version of SQLite is better tested than the previous, and 3.7.8
is no exception to this rule. Version 3.7.8 has been used internally by
the SQLite team for mission critical functions and has performed flawlessly.
And, of course, it passes our rigorous <a href="testing.html">testing</a> procedures with no
problems detected. Version 3.7.8 is recommended for all new development.
</blockquote><hr width="50%"><a name="2011_06_28"></a><h3>2011-06-28 - Version 3.7.7.1</h3><blockquote>
SQLite <a href="releaselog/3_7_7_1.html">version 3.7.7.1</a> adds a one-line bug fix to 3.7.7 to fix
<a href="http://www.sqlite.org/src/info/25ee812710">a problem</a>
causing <a href="pragma.html#pragma_case_sensitive_like">PRAGMA case_sensitive_like</a> statements compiled using the legacy
<a href="c3ref/prepare.html">sqlite3_prepare()</a> interface to fail with an <a href="rescode.html#schema">SQLITE_SCHEMA</a> error. Because
<a href="c3ref/exec.html">sqlite3_exec()</a> uses sqlite3_prepare() internally, the problem also affects
sqlite3_exec().</p>
<p> Upgrading from 3.7.7 is only required for applications that use "PRAGMA
case_sensitive_like" and the sqlite3_prepare() (or sqlite3_exec()) interface.
</blockquote><hr width="50%"><a name="2011_06_24"></a><h3>2011-06-24 - Version 3.7.7</h3><blockquote>
SQLite <a href="releaselog/3_7_7.html">version 3.7.7</a> is a regularly scheduled bi-monthly maintenance
release. Upgrading from version 3.7.6.3 is optional. Upgrading from all
prior releases is recommended.</p>
<p> This release adds support for naming database files using <a href="uri.html">URI filenames</a>.
URI filenames are disabled by default (for backwards compatibility) but
applications are encouraged to enable them since incompatibilities are
likely to be exceedingly rare and the feature is useful. See the
<a href="uri.html">URI filename documentation</a> for details.</p>
<p> Most of the other enhancements in this release involve
<a href="vtab.html">virtual tables</a>. The virtual table interface has been enhanced to
support <a href="lang_savepoint.html">SAVEPOINT</a> and <a href="lang_conflict.html">ON CONFLICT</a> clause processing, and the built-in
<a href="rtree.html">RTREE</a> and <a href="fts3.html">FTS3/FTS4</a> have been augmented to take advantage of
the new capability. This means, for example, that it is now possible
to use the <a href="lang_replace.html">REPLACE</a> command on <a href="fts3.html">FTS3/FTS4</a> and <a href="rtree.html">RTREE</a> tables.</p>
<p> The <a href="fts3.html#fts4">FTS4</a> full-text index extension has been enhanced to support
the <a href="fts3.html#fts4prefix">FTS4 prefix option</a> and the <a href="fts3.html#fts4order">FTS4 order option</a>. These two enhancements
are provided in support of search-as-you-type interfaces where search
results begin to appear after the first keystroke in the "search" box
and are refined with each subsequent keystroke. The way this is done is
to do a separate full-text search after each key stroke, and add the
"*" wildcard at the end of the word currently being typed. So, for
example, if the text typed so far is "fast da" and the next character
typed is "t", then the application does a full-text search of the
pattern "fast dat*" and displays the results. Such capability has
always existed. What is new is that the <a href="fts3.html#fts4prefix">FTS4 prefix option</a> allows
the search to be very fast (a matter of milliseconds) even for difficult
cases such as "t*" or "th*".</p>
<p> There has been a fair amount of work done on the FTS4 module for this
release. But the core SQLite code has changed little and the previous
release has not given any problems, so we expect this to be a very
stable release.
</blockquote><hr width="50%"><a name="2011_05_19"></a><h3>2011-05-19 - Version 3.7.6.3</h3><blockquote>
SQLite <a href="releaselog/3_7_6_3.html">version 3.7.6.3</a> is a patch release that fixes a
<a href="http://www.sqlite.org/src/info/2d1a5c67df">single bug</a>
associated with <a href="wal.html">WAL mode</a>. The bug has been in SQLite ever since WAL
was added, but the problem is very obscure and so nobody has noticed
before now. Nevertheless, all users are encouraged to upgrade to
version 3.7.6.3 or later.</p>
<p> The bug is this:
If the <a href="pragma.html#pragma_cache_size">cache_size</a> is set very small (less than 10) and SQLite comes
under memory pressure and if a multi-statement transaction is started
in which the last statement prior to COMMIT is a SELECT statement and if
a <a href="wal.html#ckpt">checkpoint</a> occurs right after the transaction commit, then
it might happen that the transaction will be silently rolled back instead
of being committed.</p>
<p> The default setting for <a href="pragma.html#pragma_cache_size">cache_size</a> is 2000. So in most situations, this
bug will never appear. But sometimes programmers set <a href="pragma.html#pragma_cache_size">cache_size</a> to
very small values on gadgets and other low-memory devices in order to
save memory space. Such applications are vulnerable.
Note that this bug does <u>not</u> cause database corruption. It is
as if <a href="lang_transaction.html">ROLLBACK</a> were being run instead of <a href="lang_transaction.html">COMMIT</a> in some cases.</p>
<p> <b>Bug Details</b></p>
<p> Transactions commit in WAL mode by adding a record onto the end of
the WAL (the write-ahead log) that contains a "commit" flag. So to
commit a transaction, SQLite takes all the pages that have changed
during that transaction, appends them to the WAL, and sets the commit
flag on the last page. Now, if SQLite comes under memory pressure, it
might try to free up memory space by writing changed pages to the WAL
prior to the commit. We call this "spilling" the cache to WAL. There
is nothing wrong with spilling cache to WAL. But if the
memory pressure is severe, it might be that by the time <a href="lang_transaction.html">COMMIT</a> is run,
all changed pages for the transaction have already been spilled to WAL
and there are no pages left to be written to WAL.
And with no unwritten pages, there was nothing to put the commit flag
on. And without a commit flag, the transaction would end up being
rolled back.</p>
<p> The fix to this problem was that if all changed pages has already
been written to the WAL when the commit was started, then page 1 of
the database will be written to the WAL again, so that there will always
be a page available on which to set the commit flag.
</blockquote><hr width="50%"><a name="2011_04_17"></a><h3>2011-04-17 - Version 3.7.6.2</h3><blockquote>
SQLite <a href="releaselog/3_7_6_2.html">version 3.7.6.2</a> adds a one-line bug fix to 3.7.6.1 that enables
pthreads to work correctly on NetBSD. The problem was a faulty function
signature for the open system call. The problem does not appear to have
any adverse impact on any system other than NetBSD.</p>
<p> Upgrading from version 3.7.6.1 is only needed on NetBSD.
</blockquote><hr width="50%"><a name="2011_04_13"></a><h3>2011-04-13 - Version 3.7.6.1</h3><blockquote>
SQLite <a href="releaselog/3_7_6_1.html">version 3.7.6.1</a> fixes a single bug in 3.7.6 that can cause a
segfault if <a href="c3ref/c_fcntl_busyhandler.html#sqlitefcntlsizehint">SQLITE_FCNTL_SIZE_HINT</a> is used on a unix build that has
SQLITE_ENABLE_LOCKING_MODE set to 0 and is compiled with
HAVE_POSIX_FALLOCATE.</p>
<p> Upgrading from 3.7.6 is only needed for users effected by the
configuration-specific bug described above. There are no other changes
to the code.
</blockquote><hr width="50%"><a name="2011_04_12"></a><h3>2011-04-12 - Version 3.7.6</h3><blockquote>
SQLite <a href="releaselog/3_7_6.html">version 3.7.6</a> is a regularly scheduled bi-monthly maintenance
release of SQLite. Upgrading from version 3.7.5 is optional. Upgrading
releases prior to 3.7.5 is recommended.
</blockquote><hr width="50%"><a name="2011_02_01"></a><h3>2011-02-01 - Version 3.7.5</h3><blockquote>
SQLite <a href="releaselog/3_7_5.html">version 3.7.5</a> is a regularly scheduled bi-monthly maintenance
release of SQLite. Due to the discovery and fix of
<a href="http://www.sqlite.org/src/tktview?name=5d863f876e">an obscure bug</a>
that could cause database corruption, upgrading from all prior
releases of SQLite is recommended. This bug was found during code
review and has not been observed in the wild.</p>
<p> This release adds new <a href="c3ref/c_dbstatus_options.html#sqlitedbstatuslookasidehit">opcodes</a> for the
<a href="c3ref/db_status.html">sqlite3_db_status()</a> interface that allow more precise measurement of
how the <a href="malloc.html#lookaside">lookaside memory allocator</a> is performing, which can be useful
for tuning in applications with very tight memory constraints.</p>
<p> The <a href="c3ref/mprintf.html">sqlite3_vsnprintf()</a> interface was added. This routine is simply
a varargs version of the long-standing <a href="c3ref/mprintf.html">sqlite3_snprintf()</a> interface.</p>
<p> The output from <a href="c3ref/profile.html">sqlite3_trace()</a> interface has been enhanced to work
better (and faster) in systems that use recursive extensions such as
<a href="fts3.html">FTS3</a> or <a href="rtree.html">RTREE</a>.</p>
<p> Testing with Valgrind shows that this release of SQLite is about 1%
or 2% faster than the previous release for most operations.</p>
<p> A fork of the popular ADO.NET adaptor for SQLite known as System.Data.SQLite
is now available on <a href="http://System.Data.SQLite.org/">http://System.Data.SQLite.org/</a>. The originator
of System.Data.SQLite, Robert Simpson, is aware of this fork, has
expressed his approval, and has commit privileges on the new Fossil
repository. The SQLite development team intends to maintain
System.Data.SQLite moving forward.
</blockquote><hr width="50%"><a name="2010_12_08"></a><h3>2010-12-08 - Version 3.7.4</h3><blockquote>
SQLite <a href="releaselog/3_7_4.html">version 3.7.4</a> is a regularly scheduled bi-monthly maintenance
release of SQLite. Upgrading from <a href="releaselog/3_7_2.html">version 3.7.2</a> and <a href="releaselog/3_7_3.html">version 3.7.3</a>
is optional. Upgrading from all other SQLite releases is recommended.</p>
<p> This release features <a href="fts3.html">full-text search</a> enhancements. The older
<a href="fts3.html">FTS3</a> virtual table is still fully supported, and should also run
faster. In addition, the new <a href="fts3.html#fts4">FTS4</a> virtual table is added. FTS4
follows the same syntax as FTS3 but holds additional metadata which
facilitates some performance improvements and more advanced
<a href="fts3.html#matchinfo">matchinfo()</a> output. Look for further full-text search enhancements
in subsequent releases.</p>
<p> Also in this release, the <a href="eqp.html">EXPLAIN QUERY PLAN</a> output has been enhanced
and new documentation is provided so that application developers can
more easily understand how SQLite is performing their queries.</p>
<p> Thanks to an account from the folks at <a href="http://www.devio.us/">http://www.devio.us/</a>, OpenBSD
has been added to the list of platforms upon which we
<a href="testing.html">test SQLite</a> prior to every release. That list of platforms
now includes:</p>
<p> <ul>
<li> Linux x86 & x86_64
<li> MacOS 10.5 & 10.6
<li> MacOS 10.2 PowerPC
<li> WinXP and Win7
<li> Android 2.2
<li> OpenBSD 4.7
</ul></p>
<p> The previous release of SQLite (<a href="releaselog/3_7_3.html">version 3.7.3</a>) has proven to be very
robust. The only serious issue discovered was
<a href="http://www.sqlite.org/src/info/80ba201079">ticket 80ba201079</a> that
describes an incorrect query result that can occur under very
unusual circumstances. The ticket description contains details of the
problem. Suffice it to say here that the problem is very obscure and
is unlikely to effect most applications and so upgrading is optional.
The problem is fixed, of course, in this release.
</blockquote><hr width="50%"><a name="2010__ctober_08"></a><h3>2010-October-08 - Version 3.7.3</h3><blockquote>
SQLite <a href="releaselog/3_7_3.html">version 3.7.3</a> is a regularly scheduled bi-monthly maintenance
release of SQLite. Upgrading from <a href="releaselog/3_7_2.html">version 3.7.2</a> is optional.
Upgrading from all other releases is recommended.</p>
<p> This release adds two new interfaces (really just variations on existing
interfaces). The <a href="c3ref/create_function.html">sqlite3_create_function_v2()</a> interface adds a
destructor for the application-data pointer. The new
<a href="c3ref/soft_heap_limit64.html">sqlite3_soft_heap_limit64()</a> interface allows the soft heap limit to
be set to a value greater than 2<sup>31</sup>. </p>
<p> The <a href="rtree.html">RTREE</a> extension has been enhanced with the ability to have an
<a href="rtree.html#customquery">application-defined query region</a>. This might
be used, for example, to locate all objects within
the field of view of a camera.</p>
<p> The 3.7.3 release also includes some performance enhancements, including
query planner improvements, documentation updates,
and fixes to some very obscure bugs.
</blockquote><hr width="50%"><a name="2010__ugust_24"></a><h3>2010-August-24 - Version 3.7.2</h3><blockquote>
SQLite <a href="releaselog/3_7_2.html">version 3.7.2</a> fixes a long-standing bug that can cause the
database <a href="fileformat2.html#freelist">free-page list</a> to go corrupt if <a href="pragma.html#pragma_incremental_vacuum">incremental_vacuum</a> is used
multiple times to
partially reduce the size of a database file that contains many hundreds
of unused database pages. The original bug reports together with links
to the patch that fixes it can be seen
<a href="http://www.sqlite.org/src/info/5e10420e8d">here</a>.</p>
<p> This bug has been in the code for at least a year and possibly longer.
The bug has nothing to do with the versions 3.7.1 or 3.7.0 or any other
recent release. The fact that the bug was discovered (and fixed)
within hours of the 3.7.1 release is purely a coincidence.</p>
<p> The bug is impossible to hit without using <a href="pragma.html#pragma_incremental_vacuum">incremental_vacuum</a> and is
very difficult to hit even with incremental_vacuum. And the kind of
corruption that the bug causes can usually be fixed
simply by running <a href="lang_vacuum.html">VACUUM</a>. Nevertheless, because the bug can result
in database corruption, it is recommended that all SQLite users upgrade
to version 3.7.2 or later.
</blockquote><hr width="50%"><a name="2010__ugust_23"></a><h3>2010-August-23 - Version 3.7.1</h3><blockquote>
SQLite <a href="releaselog/3_7_1.html">version 3.7.1</a> is a stabilization release for the 3.7.x series.
Other than the filesize-in-header bug that was fixed in <a href="releaselog/3_7_0_1.html">version 3.7.0.1</a>,
no major problems have been seen in 3.7.0. Some minor corner-case
performance regressions have been fixed. A typo in the OS/2 interface
has been repaired.</p>
<p> A biggest part of the 3.7.1 release is a cleanup and refactoring of
the pager module within SQLite. This refactoring should have no
application-visible effects. The purpose was to reorganize the code
in ways that make it easier to prove correctness.</p>
<p> The 3.7.1 release adds new experimental methods for obtained more
detailed memory usage information and for controlling database file
fragmentation. And the query planner now does a better job of
optimizing the <a href="lang_expr.html#like">LIKE</a> and <a href="lang_expr.html#glob">GLOB</a> operators.</p>
<p> This release increases the maximum size of database pages from 32KiB to
64KiB. A database with 64KiB pages will not be readable or writable by
older versions of SQLite. Note that further increases in page size
are not feasible since the <a href="fileformat2.html">file format</a> uses 16-bit offsets to structures
within each page.
</blockquote><hr width="50%"><a name="2010__ugust_04"></a><h3>2010-August-04 - Version 3.7.0.1</h3><blockquote>
SQLite <a href="releaselog/3_7_0_1.html">version 3.7.0.1</a> is a patch release to fix a bug in the new
filesize-in-header feature of the <a href="fileformat2.html">SQLite file format</a>
that could cause database corruption if the same database file is
written alternately with version 3.7.0 and version 3.6.23.1 or earlier.
A performance regression was also fixed in this release.
</blockquote><hr width="50%"><a name="2010_07_22"></a><h3>2010-07-22 - Version 3.7.0</h3><blockquote>
SQLite <a href="releaselog/3_7_0.html">version 3.7.0</a> is a major release of SQLite that features
a new transaction control mechanism using a <a href="wal.html">write-ahead log</a> or <a href="wal.html">WAL</a>.
The traditional rollback-journal is still used as the default so there
should be no visible change for legacy programs. But newer programs
can take advantage of improved performance and concurrency by enabling
the WAL journaling mode.</p>
<p> SQLite version 3.7.0 also contains some query planner enhancements and
a few obscure bug fixes, but the only really big change is the addition
of WAL mode.
</blockquote><hr width="50%"><a name="2010_03_30"></a><h3>2010-03-30 - Version 3.6.23.1</h3><blockquote>
SQLite <a href="releaselog/3_6_23_1.html">version 3.6.23.1</a> is a patch release to fix a bug in the
offsets() function of <a href="fts3.html">FTS3</a> at the request of the Mozilla.
</blockquote><hr width="50%"><a name="2010_03_09"></a><h3>2010-03-09 - Version 3.6.23</h3><blockquote>
SQLite <a href="releaselog/3_6_23.html">version 3.6.23</a> is a regular bimonthly release of SQLite.
Upgrading from the prior release is purely optional.</p>
<p> This release contains new pragmas: the <a href="pragma.html#pragma_secure_delete">secure_delete pragma</a>, and
the <a href="pragma.html#pragma_compile_options">compile_options pragma</a>.
There are a new SQL functions: <a href="lang_corefunc.html#sqlite_compileoption_used">sqlite_compileoption_used()</a>
and <a href="lang_corefunc.html#sqlite_compileoption_get">sqlite_compileoption_get()</a>.
New C/C++ interfaces: <a href="c3ref/compileoption_get.html">sqlite3_compileoption_used()</a>,
<a href="c3ref/compileoption_get.html">sqlite3_compileoption_get()</a>, <a href="c3ref/c_config_covering_index_scan.html#sqliteconfiglog">SQLITE_CONFIG_LOG</a>, and
<a href="c3ref/log.html">sqlite3_log()</a>.</p>
<p> This release also includes several minor bug fixes and performance
improvements. Support for <a href="compile.html#omit_floating_point">SQLITE_OMIT_FLOATING_POINT</a> is enhanced.
There are on-going improvements to <a href="fts3.html">FTS3</a>.</p>
<p> The ".genfkey" command in the <a href="cli.html">Command Line Interface</a> has been
removed. SQLite has supported standard SQL <a href="foreignkeys.html">foreign key constraints</a>
since <a href="releaselog/3_6_19.html">version 3.6.19</a> and so the ".genfkey" command was seen as
an anachronism.
</blockquote><hr width="50%"><a name="2010_01_06"></a><h3>2010-01-06 - Version 3.6.22</h3><blockquote>
SQLite <a href="releaselog/3_6_22.html">version 3.6.22</a> is a bug-fix release. Two bugs have been fixed
that might cause incorrect query results.
<ul>
<li>Ticket <a href="http://www.sqlite.org/src/info/31338dca7e">31338dca7e</a>
describes a
problem with queries that have a WHERE clause of the form (x AND y) OR z
where x and z come from one table of a join and y comes from a different
table.
<li> Ticket <a href="http://www.sqlite.org/src/info/eb5548a849">eb5548a849</a>
describes
a problem where the use of the CAST operator in the WHERE clause can lead
to incorrect results if the column being cast to a new datatype is also
used in the same WHERE clause without being cast.
</ul>
Both bugs are obscure,
but because they could arise in an application after deployment, it is
recommended that all applications upgrade SQLite to version 3.6.22.</p>
<p> This release also includes other minor bug fixes and performance
enhancements, especially in the <a href="fts3.html">FTS3</a> extension.
</blockquote><hr width="50%"><a name="2009_12_07"></a><h3>2009-12-07 - Version 3.6.21</h3><blockquote>
SQLite <a href="releaselog/3_6_21.html">version 3.6.21</a> focuses on performance optimization. For
a certain set of traces, this version uses 12% fewer CPU instructions
than the previous release (as measured by Valgrind). In addition, the
<a href="fts3.html">FTS3</a> extension has been through an extensive cleanup and rework and
the <a href="c3ref/profile.html">sqlite3_trace()</a> interface has been modified to insert
<a href="lang_expr.html#varparam">bound parameter</a> values into its output.
</blockquote><hr width="50%"><a name="2009_11_04"></a><h3>2009-11-04 - Version 3.6.20</h3><blockquote>
SQLite <a href="releaselog/3_6_20.html">version 3.6.20</a> is a general maintenance release. The
query planner has been enhanced to work better with bound parameters
in LIKE and GLOB operators and in range constraints and various minor
bugs have been fixed. Upgrading from 3.6.19 is optional.
</blockquote><hr width="50%"><a name="2009_10_14"></a><h3>2009-10-14 - Version 3.6.19</h3><blockquote>
SQLite <a href="releaselog/3_6_19.html">version 3.6.19</a> adds native support for
<a href="foreignkeys.html">foreign key constraints</a>, including deferred constraints and
cascading deletes. Enforcement of foreign keys is disabled by
default for backwards compatibility and must be turned on using
the <a href="pragma.html#pragma_foreign_keys">foreign_keys pragma</a>.</p>
<p> Version 3.6.19 also adds support for the
<a href="lang_expr.html#isisnot">IS and IS NOT operators</a>. Formerly, SQLite (as most
other SQL database engines) supported IS NULL and IS NOT NULL. The
IS and IS NOT operators are generalizations that allow the right-hand
side to be an arbitrary expression. IS and IS NOT work the same as
== (equals) and != (not equals) except that with IS and IS NOT the
NULL values compare equal to one another.
</blockquote><hr width="50%"><a name="2009_09_11"></a><h3>2009-09-11 - Version 3.6.18</h3><blockquote>
Beginning with this release, the SQLite source code is tracked and
managed using the <a href="http://www.fossil-scm.org/">Fossil</a>
distributed configuration management system. SQLite was previously
versioned using CVS. The entire CVS history has been imported into
Fossil. The older CVS repository remains on the website but is
read-only.</p>
<p> There are two major enhancements in SQLite version 3.6.18. The first
is a series or refinements to the query planner that help SQLite to
choose better plans for joins where in the past it was selecting suboptimal
query plans. The <a href="compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a> compile-time option has been
added to cause SQLite to collect histogram data on indices when the
<a href="lang_analyze.html">ANALYZE</a> command is run. The use of histograms improve the query
planning performance even more.</p>
<p> The second major enhancement is that SQLite now support recursive
triggers. The older non-recursive behavior of triggers is still the
default behavior. Recursive triggers are activated using the
<a href="pragma.html#pragma_recursive_triggers">recursive_triggers pragma</a>. In addition to allowing triggers to
call themselves (either directly or indirectly) the new capability
also fires DELETE triggers on rows that are removed from a table
as a result of <a href="lang_conflict.html">REPLACE</a> conflict resolution processing.</p>
<p> Non-recursive triggers are still the default behavior since this
is least likely to cause problems for existing applications. However,
we anticipate that triggers will become
recursive by default beginning with release 3.7.0. At that point,
applications that want to continue using the older non-recursive
trigger behavior will need to use the <a href="pragma.html#pragma_recursive_triggers">recursive_triggers pragma</a>
to disable recursive triggers.</p>
<p> This version of SQLite also contains bug fixes, though none of the
bugs are serious and all are obscure, so upgrading is optional.</p>
<p> The SQLite core continues to have <a href="testing.html#coverage">100% branch test coverage</a>
and so despite the many changes in this release, the developers
believe that this version of SQLite is stable and ready for production
use.
</blockquote><hr width="50%"><a name="2009_08_10"></a><h3>2009-08-10 - Version 3.6.17</h3><blockquote>
This is a monthly maintenance release with a focus of bug fixes,
performance improvements, and increased test coverage. This is the
first release of SQLite since <a href="testing.html#coverage">100% branch test coverage</a>
was achieved on the SQLite core. </p>
<p> In addition, a new interface <a href="c3ref/stricmp.html">sqlite3_strnicmp()</a> is provided for the
convenience of extension writers.</p>
<p> None of the bugs fixed in this release are serious. All bugs are
obscure. Upgrading is optional.
</blockquote><hr width="50%"><a name="2009_07_25"></a><h3>2009-07-25 - 100% Branch Test Coverage</h3><blockquote>
A subset of the <a href="th3.html">TH3</a> test suite was measured by gcov to provide
<a href="testing.html#coverage">100% branch test coverage</a> over the SQLite core
(exclusive of the VFS backend and of extensions such as FTS3 and RTREE)
when compiled for SuSE 10.1 Linux on x86. The SQLite developers pledge
to maintain branch test coverage at 100% in all future releases.
Ongoing work will strive for 100% branch test coverage on the
operating-system backends and extensions as well.
</blockquote><hr width="50%"><a name="2009_06_27"></a><h3>2009-06-27 - Version 3.6.16</h3><blockquote>
SQLite <a href="releaselog/3_6_16.html">version 3.6.16</a> is another general maintenance release containing
performance and robustness enhancements. A single notable bug was fixed
(ticket #3929). This bug cause cause INSERT or UPDATE statements to fail
on indexed tables that have AFTER triggers that modify the same table and
index.
</blockquote><hr width="50%"><a name="2009_06_15"></a><h3>2009-06-15 - Version 3.6.15</h3><blockquote>
SQLite <a href="releaselog/3_6_15.html">version 3.6.15</a> is a general maintenance release containing
performance and robustness enhancements and fixes for various obscure
bugs.
</blockquote><hr width="50%"><a name="2009_05_25"></a><h3>2009-05-25 - Version 3.6.14.2</h3><blockquote>
SQLite <a href="releaselog/3_6_14_2.html">version 3.6.14.2</a> fixes an obscure bug in the code generator
(<a href="http://www.sqlite.org/cvstrac/tktview?tn=3879">ticket #3879</a>)
section of SQLite which can potentially cause incorrect query results.
The changes from the prior release consist of only this one bug fix,
check-in <a href="http://www.sqlite.org/cvstrac/chngview?cn=6676">[6676]</a>
and a change to the version number text.</p>
<p> The bug was introduced in version 3.6.14. It is recommended that
users of version 3.6.14 and 3.6.14.1 upgrade to this release. Applications
are unlikely to hit this bug, but since it is difficult to predict which
applications might hit it and which might not, we recommend that all
users of 3.6.14 and 3.5.14.1 upgrade to this release.
</blockquote><hr width="50%"><a name="2009_05_19"></a><h3>2009-05-19 - Version 3.6.14.1</h3><blockquote>
SQLite <a href="releaselog/3_6_14_1.html">version 3.6.14.1</a> is a patch release to <a href="releaselog/3_6_14.html">version 3.6.14</a> with
minimal changes that fixes three bugs. Upgrading is only necessary
for users who are impacted by one or more of those bugs.
</blockquote><hr width="50%"><a name="2009_05_07"></a><h3>2009-05-07 - Version 3.6.14</h3><blockquote>
SQLite <a href="releaselog/3_6_14.html">version 3.6.14</a> provides new performance enhancements in
the btree and pager layers and in the query optimizer. Certain
workloads can be as much as twice as fast as the previous release,
though 10% faster is a more typical result.</p>
<p> Queries against <a href="vtab.html">virtual tables</a> that contain OR and IN operators
in the WHERE clause are now able to use indexing.</p>
<p> A new optional <a href="asyncvfs.html">asynchronous I/O backend</a> is available for
unix and windows. The asynchronous backend gives the illusion of faster
response time by pushing slow write operations into a background thread.
The tradeoff for faster response time is that more memory is required
(to hold the content of the pending writes) and if a power failure or
program crash occurs, some transactions that appeared to have committed
might end up being rolled back upon restart.</p>
<p> This release also contains many minor bug fixes, documentation enhancements,
new test cases, and cleanups and simplifications to the source code.</p>
<p> There is no compelling reason to upgrade from versions 3.6.12 or
3.6.13 if those prior versions are working. Though many users may
benefit from the improved performance.
</blockquote><hr width="50%"><a name="2008_12_16"></a><h3>2008-12-16 - Version 3.6.7</h3><blockquote>
SQLite <a href="releaselog/3_6_7.html">version 3.6.7</a> contains a major cleanup of the Unix driver,
and support for the new Proxy Locking mechanism on Mac OS X. Though
the Unix driver is reorganized, its functionality is the same and so
applications should not notice a difference.
</blockquote><hr width="50%"><a name="2008_11_26"></a><h3>2008-11-26 - Version 3.6.6.2</h3><blockquote>
This release fixes a bug that was introduced into SQLite <a href="releaselog/3_6_6.html">version 3.6.6</a>
and which seems like it might be able to cause database corruption. This
bug was detected during stress testing. It has not been seen in the wild.
An analysis of the problem suggests that the bug might be able to cause
database corruption, however focused efforts to find a real-world test
cases that actually causes database corruption have so far been unsuccessful.
Hence, the likelihood of this bug causing problems is low. Nevertheless,
we have decided to do an emergency branch release out of an abundance of
caution.</p>
<p> The <a href="releaselog/3_6_6_2.html">version 3.6.6.2</a> release also fixes an obscure memory leak that
can occur following a disk I/O error.
</blockquote><hr width="50%"><a name="2008_11_22"></a><h3>2008-11-22 - Version 3.6.6.1</h3><blockquote>
This release fixes a bug that was introduced into SQLite <a href="releaselog/3_6_4.html">version 3.6.4</a>
and that can cause database corruption in obscure cases. This bug has
never been seen in the wild; it was first detected by internal stress
tests and required substantial analysis before it could be shown to
potentially lead to corruption. So we feel that SQLite versions 3.6.4,
3.6.5, and 3.6.6 are safe to use for development work. But upgrading
to this patch release or later is recommended prior to deploying
products that incorporate SQLite.</p>
<p> We have taken the unusual step of issuing a patch release in order to
get the fix for this bug into circulation quickly. SQLite version 3.6.7
will continue on its normal path of development with an anticipated
release in mid December.
</blockquote><hr width="50%"><a name="2008_11_19"></a><h3>2008-11-19 - Version 3.6.6</h3><blockquote>
SQLite <a href="releaselog/3_6_5.html">version 3.6.5</a> is released. This is a quick turn-around release
that fixes a bug in virtual tables and FTS3 that snuck into
<a href="releaselog/3_6_5.html">version 3.6.5</a>. This release also adds the new
application-defined page cache mechanism.
</blockquote><hr width="50%"><a name="2008_11_12"></a><h3>2008-11-12 - Version 3.6.5</h3><blockquote>
SQLite <a href="releaselog/3_6_5.html">version 3.6.5</a> is released. There are various minor feature
enhancements and numerous obscure bug fixes.
The <a href="releaselog/3_6_5.html">change log</a> contains the details. Upgrading is
optional.
</blockquote><hr width="50%"><a name="2008_11_01"></a><h3>2008-11-01 - Bloomberg Joins SQLite Consortium</h3><blockquote>
The SQLite developers are honored to announce that
<a href="http://www.bloomberg.com/">Bloomberg</a> has joined the
<a href="consortium.html">SQLite Consortium</a>.
</blockquote><hr width="50%"><a name="2008_10_15"></a><h3>2008-10-15 - Version 3.6.4</h3><blockquote>
SQLite version 3.6.4 adds new features designed to help applications
detect when indices are not being used on query. There are also some
important performance improvements. Upgrading is optional.
</blockquote><hr width="50%"><a name="2008_09_22"></a><h3>2008-09-22 - Version 3.6.3</h3><blockquote>
SQLite version 3.6.3 fixes a bug in SELECT DISTINCT that was introduced
by the previous version. No new features are added. Upgrading is
recommended for all applications that make use of DISTINCT.
</blockquote><hr width="50%"><a name="2008_08_30"></a><h3>2008-08-30 - Version 3.6.2</h3><blockquote>
SQLite version 3.6.2 contains rewrites of the page-cache subsystem and
the procedures for matching identifiers to table columns in SQL statements.
These changes are designed to better modularize the code and make it more
maintainable and reliable moving forward. Nearly 5000 non-comment lines
of core code (about 11.3%) have changed
from the previous release. Nevertheless, there should be no
application-visible changes, other than bug fixes.
</blockquote><hr width="50%"><a name="2008_08_06"></a><h3>2008-08-06 - Version 3.6.1</h3><blockquote>
SQLite version 3.6.1 is a stabilization and performance enhancement
release.
</blockquote><hr width="50%"><a name="2008_07_16"></a><h3>2008-07-16 - Version 3.6.0 beta</h3><blockquote>
Version 3.6.0 makes changes to the <a href="c3ref/vfs.html">VFS</a> object in order
to make SQLite more easily portable to a wider variety of platforms.
There are potential incompatibilities with some legacy applications.
See the <a href="35to36.html">35to36.html</a> document for details.</p>
<p> Many new interfaces are introduced in version 3.6.0. The code is
very well tested and is appropriate for use in stable systems. We
have attached the "beta" designation only so that we can make tweaks to
the new interfaces in the next release without having to declare an
incompatibility.
</blockquote><hr width="50%"><a name="2008_05_12"></a><h3>2008-05-12 - Version 3.5.9</h3><blockquote>
Version 3.5.9 adds a new experimental <a href="pragma.html#syntax">PRAGMA</a>: <a href="pragma.html#pragma_journal_mode">journal_mode</a>.
Setting the journal mode to PERSIST can provide performance improvement
on systems where deleting a file is expensive. The PERSIST journal
mode is still considered experimental and should be used with caution
pending further testing.</p>
<p> Version 3.5.9 is intended to be the last stable release prior to
version 3.6.0. Version 3.6.0 will make incompatible changes to the
<a href="c3ref/vfs.html">sqlite3_vfs</a> VFS layer in order to address deficiencies in the original
design. These incompatibilities will only effect programmers who
write their own custom VFS layers (typically embedded device builders).
The planned VFS changes will be much smaller
than the changes that occurred on the
<a href="34to35.html">3.4.2 to 3.5.0 transaction</a> that occurred last
September.</p>
<p> This release of SQLite is considered stable and ready for production use.
</blockquote><hr width="50%"><a name="2008_04_16"></a><h3>2008-04-16 - Version 3.5.8</h3><blockquote>
Version 3.5.8 includes some important new performance optimizations
in the virtual machine code generator, including constant subexpression
factoring and common subexpression elimination. This release also
creates new public interfaces:
<a href="c3ref/randomness.html">sqlite3_randomness()</a> provides access to SQLite's internal
pseudo-random number generator, <a href="c3ref/limit.html">sqlite3_limit()</a> allows size
limits to be set at run-time on a per-connection basis, and
<a href="c3ref/context_db_handle.html">sqlite3_context_db_handle()</a> is a convenience routine that allows
an application-defined SQL function implementation to retrieve
its <a href="c3ref/sqlite3.html">database connection</a> handle.</p>
<p> This release of SQLite is considered stable and ready for production use.
</blockquote><hr width="50%"><a name="2008_03_17"></a><h3>2008-03-17 - Version 3.5.7</h3><blockquote>
Version 3.5.7 fixes several minor and obscure bugs, especially
in the autoconf-generated makefile. Upgrading is optional.
This release of SQLite is considered stable and ready for production use.
</blockquote><hr width="50%"><a name="2008_02_06"></a><h3>2008-02-06 - Version 3.5.6</h3><blockquote>
Version 3.5.6 fixes a minor regression in 3.5.5 - a regression that
had nothing to do with the massive change of the virtual machine
to a register-based design.
No problems have been reported with the new virtual machine. This
release of SQLite is considered stable and ready for production use.
</blockquote><hr width="50%"><a name="2008_01_31"></a><h3>2008-01-31 - Version 3.5.5</h3><blockquote>
Version 3.5.5 changes over 8% of the core source code of SQLite in order
to convert the internal virtual machine from a stack-based design into
a register-based design. This change will allow future optimizations
and will avoid an entire class of stack overflow bugs that have caused
problems in the past. Even though this change is large, extensive testing
has found zero errors in the new virtual machine and so we believe this
to be a very stable release.
</blockquote><hr width="50%"><a name="2007_12_14"></a><h3>2007-12-14 - Version 3.5.4</h3><blockquote>
Version 3.5.4 fixes a long-standing but obscure bug in UPDATE and
DELETE which might cause database corruption. (See ticket #2832.)
Upgrading is recommended for all users.</p>
<p> This release also brings the processing of ORDER BY statements into
compliance with standard SQL. This could, in theory, cause problems
for existing applications that depend on the older, buggy behavior.
See ticket #2822 for additional information.
</blockquote><hr width="50%"><a name="2007_12_12"></a><h3>2007-12-12 - SQLite Consortium Announced</h3><blockquote>
The <a href="consortium.html">SQLite Consortium</a> was launched
today with <a href="http://www.mozilla.org/">Mozilla</a> and
<a href="http://www.symbian.com/">Symbian</a> as charter members.
As noted in the <a href="pressrelease-20071212.html">press release</a>,
the Consortium's goal is to promote the continuing vitality and
independence of SQLite.
</blockquote><hr width="50%"><a name="2007_11_27"></a><h3>2007-11-27 - Version 3.5.3</h3><blockquote>
This is an incremental release that fixes several minor problems.
Upgrading is optional. If Version 3.5.2 or 3.5.1 is working fine
for you, then there is no pressing need to change to 3.5.3.</p>
<p> The prebuilt binaries and the amalgamation found on the
<a href="download.html">download</a> page include the FTS3 fulltext
search extension module. We are doing this on an experimental
basis and are not promising to provide prebuilt binaries with
FTS3 in the future.
</blockquote><hr width="50%"><a name="2007_11_05"></a><h3>2007-11-05 - Version 3.5.2</h3><blockquote>
This is an incremental release that fixes several minor problems,
adds some obscure features, and provides some performance tweaks.
Upgrading is optional.</p>
<p> The experimental compile-time option
<a href="compile.html#omitfeatures">SQLITE_OMIT_MEMORY_ALLOCATION</a> is no longer supported. On the other
hand, it is now possible to compile SQLite so that it uses a static
array for all its dynamic memory allocation needs and never calls
malloc. Expect to see additional radical changes to the memory
allocation subsystem in future releases.
</blockquote><hr width="50%"><a name="2007_10_04"></a><h3>2007-10-04 - Version 3.5.1</h3><blockquote>
Fix a long-standing bug that might cause database corruption if a
disk-full error occurs in the middle of a transaction and that
transaction is not rolled back.
<a href="http://www.sqlite.org/cvstrac/tktview?tn=2686">Ticket #2686.</a></p>
<p> The new VFS layer is stable. However, we still reserve the right to
make tweaks to the interface definition of the VFS if necessary.
</blockquote><hr width="50%"><a name="2007_09_04"></a><h3>2007-09-04 - Version 3.5.0 alpha</h3><blockquote>
The OS interface layer and the memory allocation subsystems in
SQLite have been reimplemented. The published API is largely unchanged
but the (unpublished) OS interface has been modified extensively.
Applications that implement their own OS interface will require
modification. See
<a href="34to35.html">34to35.html</a> for details.<p></p>
<p> This is a large change. Approximately 10% of the source code was
modified. We are calling this first release "alpha" in order to give
the user community time to test and evaluate the changes before we
freeze the new design.
</blockquote><hr width="50%"><a name="2007_08_13"></a><h3>2007-08-13 - Version 3.4.2</h3><blockquote>
While stress-testing the
<a href="c3ref/soft_heap_limit.html">soft_heap_limit</a>
feature, a bug that could lead to
<a href="http://www.sqlite.org/cvstrac/wiki?p=DatabaseCorruption">database
corruption</a> was <a href="http://www.sqlite.org/cvstrac/tktview?tn=2565">
discovered and fixed</a>.
Though the consequences of this bug are severe, the chances of hitting
it in a typical application are remote. Upgrading is recommended
only if you use the
<a href="c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit</a>
interface.
</blockquote><hr width="50%"><a name="2007_07_20"></a><h3>2007-07-20 - Version 3.4.1</h3><blockquote>
This release fixes a bug in <a href="lang_vacuum.html">VACUUM</a> that
can lead to <a href="http://www.sqlite.org/cvstrac/wiki?p=DatabaseCorruption">
database corruption</a>. The bug was introduced in version
<a href="changes.html#version_3_3_14">3.3.14</a>.
Upgrading is recommended for all users. Also included are a slew of
other more routine
<a href="changes.html#version_3_4_1">enhancements and bug fixes</a>.
</blockquote><hr width="50%"><a name="2007_06_18"></a><h3>2007-06-18 - Version 3.4.0</h3><blockquote>
This release fixes two separate bugs either of which
can lead to database corruption. Upgrading
is strongly recommended. If you must continue using an older version
of SQLite, please at least read about how to avoid these bugs
at
<a href="http://www.sqlite.org/cvstrac/wiki?p=CorruptionFollowingBusyError">
CorruptionFollowingBusyError</a> and
<a href="http://www.sqlite.org/cvstrac/tktview?tn=2418">ticket #2418</a>
<p>
This release also adds explicit <a href="limits.html">limits</a> on the
sizes and quantities of things SQLite will handle. The new limits might
causes compatibility problems for existing applications that
use excessively large strings, BLOBs, tables, or SQL statements.
The new limits can be increased at compile-time to work around any problems
that arise. Nevertheless, the version number of this release is
3.4.0 instead of 3.3.18 in order to call attention to the possible
incompatibility.
</p>
There are also new features, including
<a href="c3ref/blob_open.html">incremental BLOB I/O</a> and
<a href="pragma.html#pragma_incremental_vacuum">incremental vacuum</a>.
See the <a href="changes.html#version_3_4_0">change log</a>
for additional information.
</blockquote><hr width="50%"><a name="2007_04_25"></a><h3>2007-04-25 - Version 3.3.17</h3><blockquote>
This version fixes a bug in the forwards-compatibility logic of SQLite
that was causing a database to become unreadable when it should have
been read-only. Upgrade from 3.3.16 only if you plan to deploy into
a product that might need to be upgraded in the future. For day to day
use, it probably does not matter.
</blockquote><hr width="50%"><a name="2007_04_18"></a><h3>2007-04-18 - Version 3.3.16</h3><blockquote>
Performance improvements added in 3.3.14 but mistakenly turned off
in 3.3.15 have been reinstated. A bug has been fixed that prevented
VACUUM from running if a NULL value was in a UNIQUE column.
</blockquote><hr width="50%"><a name="2007_04_09"></a><h3>2007-04-09 - Version 3.3.15</h3><blockquote>
An annoying bug introduced in 3.3.14 has been fixed. There are
also many enhancements to the test suite.
</blockquote><hr width="50%"><a name="2007_04_02"></a><h3>2007-04-02 - Version 3.3.14</h3><blockquote>
This version focuses on performance improvements. If you recompile
<a href="http://www.sqlite.org/cvstrac/wiki?p=TheAmalgamation">
the amalgamation</a> using GCC option -O3 (the precompiled binaries
use -O2) you may see performance
improvements of 35% or more over version 3.3.13 depending on your
workload. This version also
adds support for <a href="pragma.html#pragma_locking_mode">
exclusive access mode</a>.
</blockquote><hr width="50%"><a name="2007_02_13"></a><h3>2007-02-13 - Version 3.3.13</h3><blockquote>
This version fixes a subtle bug in the ORDER BY optimizer that can
occur when using joins. There are also a few minor enhancements.
Upgrading is recommended.
</blockquote><hr width="50%"><a name="2007_01_27"></a><h3>2007-01-27 - Version 3.3.12</h3><blockquote>
The first published build of the previous version used the wrong
set of source files. Consequently, many people downloaded a build
that was labeled as "3.3.11" but was really 3.3.10. Version 3.3.12
is released to clear up the ambiguity. A couple more bugs have
also been fixed and <a href="pragma.html#pragma_integrity_check">
PRAGMA integrity_check</a> has been enhanced.
</blockquote><hr width="50%"><a name="2007_01_22"></a><h3>2007-01-22 - Version 3.3.11</h3><blockquote>
Version 3.3.11 fixes for a few more problems in version 3.3.9 that
version 3.3.10 failed to catch. Upgrading is recommended.
</blockquote><hr width="50%"><a name="2007_01_09"></a><h3>2007-01-09 - Version 3.3.10</h3><blockquote>
Version 3.3.10 fixes several bugs that were introduced by the previous
release. Upgrading is recommended.
</blockquote><hr width="50%"><a name="2007_01_04"></a><h3>2007-01-04 - Version 3.3.9</h3><blockquote>
Version 3.3.9 fixes bugs that can lead to database corruption under
obscure and difficult to reproduce circumstances. See
<a href="http://www.sqlite.org/cvstrac/wiki?p=DatabaseCorruption">
DatabaseCorruption</a> in the
<a href="http://www.sqlite.org/cvstrac/wiki">wiki</a> for details.
This release also adds the new
<a href="c3ref/prepare.html">sqlite3_prepare_v2()</a>
API and includes important bug fixes in the command-line
shell and enhancements to the query optimizer. Upgrading is
recommended.
</blockquote><hr width="50%"><a name="2006_10_09"></a><h3>2006-10-09 - Version 3.3.8</h3><blockquote>
Version 3.3.8 adds support for full-text search using the
<a href="http://www.sqlite.org/cvstrac/wiki?p=FtsOne">FTS1
module.</a> There are also minor bug fixes. Upgrade only if
you want to try out the new full-text search capabilities or if
you are having problems with 3.3.7.
</blockquote><hr width="50%"><a name="2006_08_12"></a><h3>2006-08-12 - Version 3.3.7</h3><blockquote>
Version 3.3.7 includes support for loadable extensions and virtual
tables. But both features are still considered "beta" and their
APIs are subject to change in a future release. This release is
mostly to make available the minor bug fixes that have accumulated
since 3.3.6. Upgrading is not necessary. Do so only if you encounter
one of the obscure bugs that have been fixed or if you want to try
out the new features.
</blockquote><hr width="50%"><a name="2006_06_19"></a><h3>2006-06-19 - New Book About SQLite</h3><blockquote>
<i><a href="http://www.apress.com/book/bookDisplay.html?bID=10130">The Definitive Guide to SQLite</a></i>,
a new book by
<a href="http://www.mikesclutter.com">Mike Owens</a>
is now available from <a href="http://www.apress.com">Apress</a>.
The books covers the latest SQLite internals as well as
the native C interface and bindings for PHP, Python,
Perl, Ruby, Tcl, and Java. Recommended.
</blockquote><hr width="50%"><a name="2006_06_6"></a><h3>2006-06-6 - Version 3.3.6</h3><blockquote>
Changes include improved tolerance for Windows virus scanners
and faster :memory: databases. There are also fixes for several
obscure bugs. Upgrade if you are having problems.
</blockquote><hr width="50%"><a name="2006_04_5"></a><h3>2006-04-5 - Version 3.3.5</h3><blockquote>
This release fixes many minor bugs and documentation typos and
provides some minor new features and performance enhancements.
Upgrade only if you are having problems or need one of the new features.
</blockquote><hr width="50%"><a name="2006_02_11"></a><h3>2006-02-11 - Version 3.3.4</h3><blockquote>
This release fixes several bugs, including a
blunder that might cause a deadlock on multithreaded systems.
Anyone using SQLite in a multithreaded environment should probably upgrade.
</blockquote><hr width="50%"><a name="2006_01_31"></a><h3>2006-01-31 - Version 3.3.3 stable</h3><blockquote>
There have been no major problems discovered in version 3.3.2, so
we hereby declare the new APIs and language features to be stable
and supported.
</blockquote><hr width="50%"><a name="2006_01_24"></a><h3>2006-01-24 - Version 3.3.2 beta</h3><blockquote>
More bug fixes and performance improvements as we move closer to
a production-ready version 3.3.x.
</blockquote><hr width="50%"><a name="2006_01_16"></a><h3>2006-01-16 - Version 3.3.1 alpha</h3><blockquote>
Many bugs found in last week's alpha release have now been fixed and
the library is running much faster again.</p>
<p> Database connections can now be moved between threads as long as the
connection holds no locks at the time it is moved. Thus the common
paradigm of maintaining a pool of database connections and handing
them off to transient worker threads is now supported.
Please help test this new feature.
See <a href="http://www.sqlite.org/cvstrac/wiki?p=MultiThreading">
the MultiThreading wiki page</a> for additional
information.
</blockquote><hr width="50%"><a name="2006_01_10"></a><h3>2006-01-10 - Version 3.3.0 alpha</h3><blockquote>
Version 3.3.0 adds support for CHECK constraints, DESC indices,
separate REAL and INTEGER column affinities, a new OS interface layer
design, and many other changes. The code passed a regression
test but should still be considered alpha. Please report any
problems.</p>
<p> The file format for version 3.3.0 has changed slightly to support
descending indices and
a more efficient encoding of boolean values. SQLite 3.3.0 will read and
write legacy databases created with any prior version of SQLite 3. But
databases created by version 3.3.0 will not be readable or writable
by earlier versions of the SQLite. The older file format can be
specified at compile-time for those rare cases where it is needed.
</blockquote><hr width="50%"><a name="2005_12_19"></a><h3>2005-12-19 - Versions 3.2.8 and 2.8.17</h3><blockquote>
These versions contain one-line changes to 3.2.7 and 2.8.16 to fix a bug
that has been present since March of 2002 and version 2.4.0.
That bug might possibly cause database corruption if a large INSERT or
UPDATE statement within a multi-statement transaction fails due to a
uniqueness constraint but the containing transaction commits.
</blockquote><hr width="50%"><a name="2005_09_24"></a><h3>2005-09-24 - Version 3.2.7</h3><blockquote>
This version fixes several minor and obscure bugs.
Upgrade only if you are having problems.
</blockquote><hr width="50%"><a name="2005_09_16"></a><h3>2005-09-16 - Version 3.2.6 - Critical Bug Fix</h3><blockquote>
This version fixes a bug that can result in database
corruption if a VACUUM of a 1 gigabyte or larger database fails
(perhaps do to running out of disk space or an unexpected power loss)
and is later rolled back.
<p>
Also in this release:
The ORDER BY and GROUP BY processing was rewritten to use less memory.
Support for COUNT(DISTINCT) was added. The LIKE operator can now be
used by the optimizer on columns with COLLATE NOCASE.
</blockquote><hr width="50%"><a name="2005_08_27"></a><h3>2005-08-27 - Version 3.2.5</h3><blockquote>
This release fixes a few more lingering bugs in the new code.
We expect that this release will be stable and ready for production use.
</blockquote><hr width="50%"><a name="2005_08_24"></a><h3>2005-08-24 - Version 3.2.4</h3><blockquote>
This release fixes a bug in the new optimizer that can lead to segfaults
when parsing very complex WHERE clauses.
</blockquote><hr width="50%"><a name="2005_08_21"></a><h3>2005-08-21 - Version 3.2.3</h3><blockquote>
This release adds the <a href="lang_analyze.html">ANALYZE</a> command,
the <a href="lang_expr.html">CAST</a> operator, and many
very substantial improvements to the query optimizer. See the
<a href="changes.html#version_3_2_3">change log</a> for additional
information.
</blockquote><hr width="50%"><a name="2005_08_02"></a><h3>2005-08-02 - 2005 Open Source Award for SQLite</h3><blockquote>
SQLite and its primary author D. Richard Hipp have been honored with
a <a href="http://osdir.com/Article6677.phtml">2005 Open Source Award</a>
from Google and O'Reilly.<br clear="right">
</blockquote><hr width="50%"><a name="2005_06_13"></a><h3>2005-06-13 - Version 3.2.2</h3><blockquote>
This release includes numerous minor bug fixes, speed improvements,
and code size reductions. There is no reason to upgrade unless you
are having problems or unless you just want to.
</blockquote><hr width="50%"><a name="2005_03_29"></a><h3>2005-03-29 - Version 3.2.1</h3><blockquote>
This release fixes a memory allocation problem in the new
<a href="lang_altertable.html">ALTER TABLE ADD COLUMN</a>
command.
</blockquote><hr width="50%"><a name="2005_03_21"></a><h3>2005-03-21 - Version 3.2.0</h3><blockquote>
The primary purpose for version 3.2.0 is to add support for
<a href="lang_altertable.html">ALTER TABLE ADD COLUMN</a>.
The new ADD COLUMN capability is made
possible by AOL developers supporting and embracing great
open-source software. Thanks, AOL!</p>
<p> Version 3.2.0 also fixes an obscure but serious bug that was discovered
just prior to release. If you have a multi-statement transaction and
within that transaction an UPDATE or INSERT statement fails due to a
constraint, then you try to rollback the whole transaction, the rollback
might not work correctly. See
<a href="http://www.sqlite.org/cvstrac/tktview?tn=1171">Ticket #1171</a>
for details. Upgrading is recommended for all users.
</blockquote><hr width="50%"><a name="2005_03_16"></a><h3>2005-03-16 - Version 3.1.6</h3><blockquote>
Version 3.1.6 fixes a critical bug that can cause database corruption
when inserting rows into tables with around 125 columns. This bug was
introduced in version 3.0.0. See
<a href="http://www.sqlite.org/cvstrac/tktview?tn=1163">Ticket #1163</a>
for additional information.
</blockquote><hr width="50%"><a name="2005_03_11"></a><h3>2005-03-11 - Versions 3.1.4 and 3.1.5 Released</h3><blockquote>
Version 3.1.4 fixes a critical bug that could cause database corruption
if the autovacuum mode of version 3.1.0 is turned on (it is off by
default) and a CREATE UNIQUE INDEX is executed within a transaction but
fails because the indexed columns are not unique. Anyone using the
autovacuum feature and unique indices should upgrade.</p>
<p> Version 3.1.5 adds the ability to disable
the F_FULLFSYNC ioctl() in OS-X by setting "PRAGMA synchronous=on" instead
of the default "PRAGMA synchronous=full". There was an attempt to add
this capability in 3.1.4 but it did not work due to a spelling error.
</blockquote><hr width="50%"><a name="2005_02_19"></a><h3>2005-02-19 - Version 3.1.3 Released</h3><blockquote>
Version 3.1.3 cleans up some minor issues discovered in version 3.1.2.
</blockquote><hr width="50%"><a name="2005_02_15"></a><h3>2005-02-15 - Versions 2.8.16 and 3.1.2 Released</h3><blockquote>
A critical bug in the VACUUM command that can lead to database
corruption has been fixed in both the 2.x branch and the main
3.x line. This bug has existed in all prior versions of SQLite.
Even though it is unlikely you will ever encounter this bug,
it is suggested that all users upgrade. See
<a href="http://www.sqlite.org/cvstrac/tktview?tn=1116">
ticket #1116</a>. for additional information.</p>
<p> Version 3.1.2 is also the first stable release of the 3.1
series. SQLite 3.1 features added support for correlated
subqueries, autovacuum, autoincrement, ALTER TABLE, and
other enhancements. See the
<a href="http://www.sqlite.org/releasenotes310.html">release notes
for version 3.1.0</a> for a detailed description of the
changes available in the 3.1 series.
</blockquote><hr width="50%"><a name="2005_02_01"></a><h3>2005-02-01 - Version 3.1.1 (beta) Released</h3><blockquote>
Version 3.1.1 (beta) is now available on the
website. Version 3.1.1 is fully backwards compatible with the 3.0 series
and features many new features including Autovacuum and correlated
subqueries. The
<a href="http://www.sqlite.org/releasenotes310.html">release notes</a>
From version 3.1.0 apply equally to this release beta. A stable release
is expected within a couple of weeks.
</blockquote><hr width="50%"><a name="2005_01_21"></a><h3>2005-01-21 - Version 3.1.0 (alpha) Released</h3><blockquote>
Version 3.1.0 (alpha) is now available on the
website. Version 3.1.0 is fully backwards compatible with the 3.0 series
and features many new features including Autovacuum and correlated
subqueries. See the
<a href="http://www.sqlite.org/releasenotes310.html">release notes</a>
for details.</p>
<p> This is an alpha release. A beta release is expected in about a week
with the first stable release to follow after two more weeks.
</blockquote><hr width="50%"><a name="2004_11_09"></a><h3>2004-11-09 - SQLite at the 2004 International PHP Conference</h3><blockquote>
There was a talk on the architecture of SQLite and how to optimize
SQLite queries at the 2004 International PHP Conference in Frankfurt,
Germany.
<a href="http://www.sqlite.org/php2004/page-001.html">
Slides</a> from that talk are available.
</blockquote><hr width="50%"><a name="2004_10_11"></a><h3>2004-10-11 - Version 3.0.8</h3><blockquote>
Version 3.0.8 of SQLite contains several code optimizations and minor
bug fixes and adds support for DEFERRED, IMMEDIATE, and EXCLUSIVE
transactions. This is an incremental release. There is no reason
to upgrade from version 3.0.7 if that version is working for you.
</blockquote><hr width="50%"><a name="2004_10_10"></a><h3>2004-10-10 - SQLite at the 11<sup><small>th</small></sup>
Annual Tcl/Tk Conference</h3><blockquote>
There will be a talk on the use of SQLite in Tcl/Tk at the
11<sup><small>th</small></sup> Tcl/Tk Conference this week in
New Orleans. Visit <a href="http://www.tcl.tk/community/tcl2004/">http://www.tcl.tk/community/tcl2004/</a>
for details.
<a href="http://www.sqlite.org/tclconf2004/page-001.html">
Slides</a> from the talk are available.
</blockquote><hr width="50%"><a name="2004_09_18"></a><h3>2004-09-18 - Version 3.0.7</h3><blockquote>
Version 3.0 has now been in use by multiple projects for several
months with no major difficulties. We consider it stable and
ready for production use.
</blockquote><hr width="50%"><a name="2004_09_02"></a><h3>2004-09-02 - Version 3.0.6 (beta)</h3><blockquote>
Because of some important changes to sqlite3_step(),
we have decided to
do an additional beta release prior to the first "stable" release.
If no serious problems are discovered in this version, we will
release version 3.0 "stable" in about a week.
</blockquote><hr width="50%"><a name="2004_08_29"></a><h3>2004-08-29 - Version 3.0.5 (beta)</h3><blockquote>
The fourth beta release of SQLite version 3.0 is now available.
The next release is expected to be called "stable".
</blockquote><hr width="50%"><a name="2004_08_08"></a><h3>2004-08-08 - Version 3.0.4 (beta)</h3><blockquote>
The third beta release of SQLite version 3.0 is now available.
This new beta fixes several bugs including a database corruption
problem that can occur when doing a DELETE while a SELECT is pending.
Expect at least one more beta before version 3.0 goes final.
</blockquote><hr width="50%"><a name="2004_07_22"></a><h3>2004-07-22 - Version 3.0.3 (beta)</h3><blockquote>
The second beta release of SQLite version 3.0 is now available.
This new beta fixes many bugs and adds support for databases with
varying page sizes. The next 3.0 release will probably be called
a final or stable release.</p>
<p> Version 3.0 adds support for internationalization and a new
more compact file format.
<a href="version3.html">Details.</a>
The API and file format have been fixed since 3.0.2. All
regression tests pass (over 100000 tests) and the test suite
exercises over 95% of the code.</p>
<p> SQLite version 3.0 is made possible in part by AOL
developers supporting and embracing great Open-Source Software.
</blockquote><hr width="50%"><a name="2004_07_22"></a><h3>2004-07-22 - Version 2.8.15</h3><blockquote>
SQLite version 2.8.15 is a maintenance release for the version 2.8
series. Version 2.8 continues to be maintained with bug fixes, but
no new features will be added to version 2.8. All the changes in
this release are minor. If you are not having problems, there is
there is no reason to upgrade.
</blockquote><hr width="50%"><a name="2004_06_30"></a><h3>2004-06-30 - Version 3.0.2 (beta) Released</h3><blockquote>
The first beta release of SQLite version 3.0 is now available.
Version 3.0 adds support for internationalization and a new
more compact file format.
<a href="version3.html">Details.</a>
As of this release, the API and file format are frozen. All
regression tests pass (over 100000 tests) and the test suite
exercises over 95% of the code.</p>
<p> SQLite version 3.0 is made possible in part by AOL
developers supporting and embracing great Open-Source Software.
</blockquote><hr width="50%"><a name="2004_06_25"></a><h3>2004-06-25 - Website hacked</h3><blockquote>
The www.sqlite.org website was hacked sometime around 2004-06-22
because the lead SQLite developer failed to properly patch CVS.
Evidence suggests that the attacker was unable to elevate privileges
above user "cvs". Nevertheless, as a precaution the entire website
has been reconstructed from scratch on a fresh machine. All services
should be back to normal as of 2004-06-28.
</blockquote><hr width="50%"><a name="2004_06_18"></a><h3>2004-06-18 - Version 3.0.0 (alpha) Released</h3><blockquote>
The first alpha release of SQLite version 3.0 is available for
public review and comment. Version 3.0 enhances internationalization support
through the use of UTF-16 and user-defined text collating sequences.
BLOBs can now be stored directly, without encoding.
A new file format results in databases that are 25% smaller (depending
on content). The code is also a little faster. In spite of the many
new features, the library footprint is still less than 240KB
(x86, gcc -O1).
<a href="version3.html">Additional information</a>.</p>
<p> Our intent is to freeze the file format and API on 2004-07-01.
Users are encouraged to review and evaluate this alpha release carefully
and submit any feedback prior to that date.</p>
<p> The 2.8 series of SQLite will continue to be supported with bug
fixes for the foreseeable future.
</blockquote><hr width="50%"><a name="2004_06_09"></a><h3>2004-06-09 - Version 2.8.14 Released</h3><blockquote>
SQLite version 2.8.14 is a patch release to the stable 2.8 series.
There is no reason to upgrade if 2.8.13 is working ok for you.
This is only a bug-fix release. Most development effort is
going into version 3.0.0 which is due out soon.
</blockquote><hr width="50%"><a name="2004_05_31"></a><h3>2004-05-31 - CVS Access Temporarily Disabled</h3><blockquote>
Anonymous access to the CVS repository will be suspended
for 2 weeks beginning on 2004-06-04. Everyone will still
be able to download
prepackaged source bundles, create or modify trouble tickets, or view
change logs during the CVS service interruption. Full open access to the
CVS repository will be restored on 2004-06-18.
</blockquote><hr width="50%"><a name="2004_04_23"></a><h3>2004-04-23 - Work Begins On SQLite Version 3</h3><blockquote>
Work has begun on version 3 of SQLite. Version 3 is a major
changes to both the C-language API and the underlying file format
that will enable SQLite to better support internationalization.
The first beta is schedule for release on 2004-07-01.</p>
<p> Plans are to continue to support SQLite version 2.8 with
bug fixes. But all new development will occur in version 3.0.
</blockquote><hr width="50%">
|