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 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356
|
<!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>Release History Of SQLite</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>
<h1 align=center>Release History</h1>
<p>
This page provides a high-level summary of changes to SQLite.
For more detail, refer the Fossil checkin logs at
<a href="http://www.sqlite.org/src/timeline">
http://www.sqlite.org/src/timeline</a> and
<a href="http://www.sqlite.org/src/timeline?t=release">
http://www.sqlite.org/src/timeline?t=release</a>
</p>
<a name="version_3_8_7_1"></a>
<h3>2014-10-30 (3.8.7.1)</h3><p><ul>
<li>In <a href="pragma.html#pragma_journal_mode">PRAGMA journal_mode=TRUNCATE</a> mode, call fsync() immediately after truncating
the journal file to ensure that the transaction is durable across a power loss.
<li>Fix an assertion fault that can occur when updating the NULL value of a field
at the end of a table that was added using <a href="lang_altertable.html">ALTER TABLE ADD COLUMN</a>.
<li>Do not attempt to use the strchrnul() function from the standard C library unless
the HAVE_STRCHRNULL compile-time option is set.
<li>Fix a couple of problems associated with running an UPDATE or DELETE on a
<a href="lang_createview.html">VIEW</a> with a <a href="lang_createtable.html#rowid">rowid</a> in the WHERE clause.
<li>SQLITE_SOURCE_ID: "2014-10-29 13:59:56 3b7b72c4685aa5cf5e675c2c47ebec10d9704221"
<li>SHA1 for sqlite3.c: 2d25bd1a73dc40f538f3a81c28e6efa5999bdf0c
</ul></p><a name="version_3_8_7"></a>
<h3>2014-10-17 (3.8.7)</h3><p><ul>
<p><b>Performance Enhancements:</b>
<li>Many micro-optimizations result in 20.3% more work for the same number
of CPU cycles relative to the previous release.
The cumulative performance increase since <a href="#version_3_8_0">version 3.8.0</a> is 61%.
(Measured using
<a href="http://valgrind.org/docs/manual/cg-manual.html">cachegrind</a> on the
<a href="http://www.sqlite.org/src/artifact/83f6b3318f7ee">speedtest1.c</a> workload on
Ubuntu 13.10 x64 with gcc 4.8.1 and -Os. Your performance may vary.)
<li>The sorter can use auxiliary helper threads to increase real-time response.
This feature is off by default and may be
enabled using the <a href="pragma.html#pragma_threads">PRAGMA threads</a> command or the <a href="compile.html#default_worker_threads">SQLITE_DEFAULT_WORKER_THREADS</a>
compile-time option.
<li>Enhance the <a href="optoverview.html#skipscan">skip-scan</a> optimization so that it is able to skip index terms that
occur in the middle of the index, not just as the left-hand side of the index.
<li>Improved optimization of <a href="lang_expr.html#castexpr">CAST</a> operators.
<li>Various improvements in how the query planner uses <a href="fileformat2.html#stat4tab">sqlite_stat4</a>
information to estimate plan costs.
<p><b>New Features:</b>
<li>Added new interfaces with 64-bit length parameters:
<a href="c3ref/free.html">sqlite3_malloc64()</a>,
<a href="c3ref/free.html">sqlite3_realloc64()</a>,
<a href="c3ref/bind_blob.html">sqlite3_bind_blob64()</a>,
<a href="c3ref/result_blob.html">sqlite3_result_blob64()</a>,
<a href="c3ref/bind_blob.html">sqlite3_bind_text64()</a>, and
<a href="c3ref/result_blob.html">sqlite3_result_text64()</a>.
<li>Added the new interface <a href="c3ref/free.html">sqlite3_msize()</a> that returns the size of a memory allocation
obtained from <a href="c3ref/free.html">sqlite3_malloc64()</a> and its variants.
<li>Added the <a href="c3ref/c_limit_attached.html#sqlitelimitworkerthreads">SQLITE_LIMIT_WORKER_THREADS</a> option to <a href="c3ref/limit.html">sqlite3_limit()</a> and
<a href="pragma.html#pragma_threads">PRAGMA threads</a> command for configuring the number of available worker threads.
<li>The <a href="spellfix1.html">spellfix1</a> extension allows the application to optionally specify the rowid for
each INSERT.
<li>Added the <a href="http://www.sqlite.org/src/doc/trunk/ext/userauth/user-auth.txt">User Authentication</a>
extension.
<p><b>Bug Fixes:</b>
<li>Fix a bug in the <a href="partialindex.html">partial index</a> implementation that might result in an incorrect
answer if a partial index is used in a subquery or in a <a href="lang_createview.html">view</a>.
Ticket <a href="http://www.sqlite.org/src/info/98d973b8f5">98d973b8f5</a>.
<li>Fix a query planner bug that might cause a table to be scanned in the wrong direction
(thus reversing the order of output) when a DESC index is used to implement the ORDER BY
clause on a query that has an identical GROUP BY clause.
Ticket <a href="http://www.sqlite.org/src/info/ba7cbfaedc7e6">ba7cbfaedc7e6</a>.
<li>Fix a bug in <a href="c3ref/profile.html">sqlite3_trace()</a> that was causing it to sometimes fail to print
an SQL statement if that statement needed to be re-prepared.
Ticket <a href="http://www.sqlite.org/src/info/11d5aa455e0d98f3c1e6a08">11d5aa455e0d98f3c1e6a08</a>
<li>Fix a faulty assert() statement.
Ticket <a href="http://www.sqlite.org/src/info/369d57fb8e5ccdff06f1">369d57fb8e5ccdff06f1</a>
<p><b>Test, Debug, and Analysis Changes:</b>
<li>Show ASCII-art abstract syntax tree diagrams using the ".selecttrace"
and ".wheretrace" commands in the
<a href="cli.html">command-line shell</a> when compiled with <a href="compile.html#debug">SQLITE_DEBUG</a>, SQLITE_ENABLE_SELECTTRACE,
and SQLITE_ENABLE_WHERETRACE. Also provide the sqlite3TreeViewExpr() and
sqlite3TreeViewSelect() entry points that can be invoked from with the
debugger to show the parse tree when stopped at a breakpoint.
<li>Drop support for SQLITE_ENABLE_TREE_EXPLAIN. The SELECTTRACE mechanism provides
more useful diagnostics information.
<li>New options to the <a href="cli.html">command-line shell</a> for configuring auxiliary
memory usage: --pagecache, --lookaside, and --scratch.
<li>SQLITE_SOURCE_ID: "2014-10-17 11:24:17 e4ab094f8afce0817f4074e823fabe59fc29ebb4"
<li>SHA1 for sqlite3.c: 56dcf5e931a9e1fa12fc2d600cd91d3bf9b639cd
</ul></p><a name="version_3_8_6"></a>
<h3>2014-08-15 (3.8.6)</h3><p><ul>
<li>Added support for <a href="lang_expr.html#hexint">hexadecimal integer literals</a> in the SQL parser.
(Ex: 0x123abc)
<li>Enhanced the <a href="pragma.html#pragma_integrity_check">PRAGMA integrity_check</a> command to detect <a href="lang_createtable.html#uniqueconst">UNIQUE</a> and
<a href="lang_createtable.html#notnullconst">NOT NULL</a> constraint violations.
<li>Increase the maximum value of <a href="limits.html#max_attached">SQLITE_MAX_ATTACHED</a> from 62 to 125.
<li>Increase the timeout in <a href="wal.html">WAL mode</a> before issuing an <a href="rescode.html#protocol">SQLITE_PROTOCOL</a>
error from 1 second to 10 seconds.
<li>Added the <a href="lang_corefunc.html#likely">likely(X)</a> SQL function.
<li>The <a href="fts3.html#unicode61">unicode61</a> tokenizer is now included in <a href="fts3.html#fts4">FTS4</a> by default.
<li>Trigger automatic reprepares on all prepared statements when <a href="lang_analyze.html">ANALYZE</a> is
run.
<li>Added a new
<a href="loadext.html">loadable extension</a> source code file to the source tree:
<a href="http://www.sqlite.org/src/finfo?name=ext/misc/fileio.c">fileio.c</a>
<li>Add extension functions <a href="cli.html#fileio">readfile(X) and writefile(X,Y)</a>
(using code copy/pasted from fileio.c in the previous bullet) to the
<a href="cli.html">command-line shell</a>.
<li>Added the <a href="cli.html#fullschema">.fullschema</a> dot-command to the <a href="cli.html">command-line shell</a>.
<p><b>Performance Enhancements:</b>
<li>Deactivate the <a href="lang_select.html#distinct">DISTINCT</a> keyword on subqueries on the
right-hand side of the <a href="lang_expr.html#in_op">IN operator</a>.
<li>Add the capability of evaluating an <a href="lang_expr.html#in_op">IN operator</a> as a sequence
of comparisons as an alternative to using a table lookup. Use the sequence
of comparisons implementation in circumstances where it is likely to be
faster, such as when the right-hand side of the IN operator
is small and/or changes frequently.
<li>The query planner now uses <a href="fileformat2.html#stat4tab">sqlite_stat4</a> information (created by <a href="lang_analyze.html">ANALYZE</a>)
to help determine if the <a href="optoverview.html#skipscan">skip-scan optimization</a> is appropriate.
<li>Ensure that the query planner never tries to use a self-made transient
index in place of a schema-defined index.
<li>Other minor tweaks to improve the quality of <a href="opcode.html">VDBE</a> code.
<p><b>Bug Fixes:</b>
<li>Fix a bug in <a href="lang_createindex.html">CREATE UNIQUE INDEX</a>, introduced when <a href="withoutrowid.html">WITHOUT ROWID</a>
support added in version 3.8.2, that allows a non-unique NOT NULL column to be
given a UNIQUE index.
Ticket <a href="http://www.sqlite.org/src/info/9a6daf340df99ba93c">9a6daf340df99ba93c</a>
<li>Fix a bug in <a href="rtree.html">R-Tree extension</a>, introduced in the previous release,
that can cause an
incorrect results for queries that use the rowid of the R-Tree on the
left-hand side of an <a href="lang_expr.html#in_op">IN operator</a>.
Ticket <a href="http://www.sqlite.org/src/info/d2889096e7bdeac6">d2889096e7bdeac6</a>.
<li>Fix the <a href="c3ref/stmt_busy.html">sqlite3_stmt_busy()</a> interface so that it gives the correct answer
for <a href="lang_transaction.html">ROLLBACK</a> statements that have been stepped but never reset.
<li>Fix a bug in that would cause a null pointer to be dereferenced
if a column with a DEFAULT that is an aggregate function tried to usee its
DEFAULT.
Ticket <a href="http://www.sqlite.org/src/info/3a88d85f36704eebe1">3a88d85f36704eebe1</a>
<li>CSV output from the <a href="cli.html">command-line shell</a> now always uses CRNL for the
row separator and avoids inserting CR in front of NLs contained in
data.
<li>Fix a <a href="datatype3.html#affinity">column affinity</a> problem with the <a href="lang_expr.html#in_op">IN operator</a>.
Ticket <a href="http://www.sqlite.org/src/info/9a8b09f8e6">9a8b09f8e6</a>.
<li>Fix the <a href="lang_analyze.html">ANALYZE</a> command so that it adds correct samples for
<a href="withoutrowid.html">WITHOUT ROWID</a> tables in the <a href="fileformat2.html#stat4tab">sqlite_stat4</a> table.
Ticket <a href="http://www.sqlite.org/src/info/b2fa5424e6fcb15">b2fa5424e6fcb15</a>.
<li>SQLITE_SOURCE_ID: "2014-08-15 11:46:33 9491ba7d738528f168657adb43a198238abde19e"
<li>SHA1 for sqlite3.c: 72c64f05cd9babb9c0f9b3c82536d83be7804b1c
</ul></p><a name="version_3_8_5"></a>
<h3>2014-06-04 (3.8.5)</h3><p><ul>
<li>Added support for <a href="queryplanner.html#partialsort">partial sorting by index</a>.
<li>Enhance the query planner so that it always prefers an index that uses a superset of
WHERE clause terms relative to some other index.
<li>Improvements to the <a href="fts3.html#*fts4automergecmd">automerge command</a> of <a href="fts3.html#fts4">FTS4</a> to better control the index size
for a full-text index that is subject to a large number of updates.
<li>Added the <a href="rtree.html#xquery">sqlite3_rtree_query_callback()</a> interface to <a href="rtree.html">R-Tree extension</a>
<li>Added new <a href="uri.html#coreqp">URI query parameters</a> "nolock" and "immutable".
<li>Use less memory by not remembering CHECK constraints on read-only
database connections.
<li>Enable the <a href="queryplanner.html#or_in_where">OR optimization</a> for <a href="withoutrowid.html">WITHOUT ROWID</a> tables.
<li>Render expressions of the form "x IN (?)" (with a single value in
the list on the right-hand side of the IN operator) as if they where "x==?",
Similarly optimize "x NOT IN (?)"
<li>Add the ".system" and ".once" commands to the <a href="cli.html">command-line shell</a>.
<li>Added the <a href="c3ref/c_iocap_atomic.html">SQLITE_IOCAP_IMMUTABLE</a> bit to the set of bits that can be returned by
the xDeviceCharacteristics method of a <a href="vfs.html">VFS</a>.
<li>Added the <a href="c3ref/c_testctrl_always.html">SQLITE_TESTCTRL_BYTEORDER</a> test control.
<p><b>Bug Fixes:</b>
<li>OFFSET clause ignored on queries without a FROM clause.
Ticket <a href="http://www.sqlite.org/src/info/07d6a0453d">07d6a0453d</a>
<li>Assertion fault on queries involving expressions of the form
"x IN (?)". Ticket <a href="http://www.sqlite.org/src/info/e39d032577">e39d032577</a>.
<li>Incorrect column datatype reported.
Ticket <a href="http://www.sqlite.org/src/info/a8a0d2996a">a8a0d2996a</a>
<li>Duplicate row returned on a query against a table with more than
16 indices, each on a separate column, and all used via OR-connected constraints.
Ticket <a href="http://www.sqlite.org/src/info/10fb063b11">10fb063b11</a>
<li>Partial index causes assertion fault on UPDATE OR REPLACE.
Ticket <a href="http://www.sqlite.org/src/info/2ea3e9fe63">2ea3e9fe63</a>
<li>Crash when calling undocumented SQL function sqlite_rename_parent()
with NULL parameters.
Ticket <a href="http://www.sqlite.org/src/info/264b970c4379fd">264b970c43</a>
<li>ORDER BY ignored if the query has an identical GROUP BY.
Ticket <a href="http://www.sqlite.org/src/info/b75a9ca6b0499">b75a9ca6b0</a>
<li>The group_concat(x,'') SQL function returns NULL instead of an empty string
when all inputs are empty strings.
Ticket <a href="http://www.sqlite.org/src/info/55746f9e65f85">55746f9e65</a>
<li>Fix a bug in the VDBE code generator that caused crashes when
doing an INSERT INTO ... SELECT statement where the number of columns
being inserted is larger than the number of columns in the destination
table.
Ticket <a href="http://www.sqlite.org/src/info/e9654505cfda9">e9654505cfd</a>
<li>Fix a problem in CSV import in the <a href="cli.html">command-line shell</a>
where if the leftmost field of the first row
in the CSV file was both zero bytes in size and unquoted no data would
be imported.
<li>Fix a problem in FTS4 where the left-most column that contained
the <a href="fts3.html#fts4notindexed">notindexed column</a> name as a prefix
was not indexed rather than the column whose name matched exactly.
<li>Fix the <a href="c3ref/db_readonly.html">sqlite3_db_readonly()</a> interface so that it returns true if
the database is read-only due to the file format write version number
being too large.
<li>SQLITE_SOURCE_ID: "2014-06-04 14:06:34 b1ed4f2a34ba66c29b130f8d13e9092758019212"
<li>SHA1 for sqlite3.c: 7bc194957238c61b1a47f301270286be5bc5208c
</ul></p><a name="version_3_8_4_3"></a>
<h3>2014-04-03 (3.8.4.3)</h3><p><ul>
<li>Add a
<a href="http://www.sqlite.org/src/fdiff?sbs=1&v1=7d539cedb1c&v2=ebad891b7494d&smhdr">one-character fix</a>
for a problem that might cause incorrect query results on a query that mixes
DISTINCT, GROUP BY in a subquery, and ORDER BY.
<a href="http://www.sqlite.org/src/info/98825a79ce1456863">Ticket 98825a79ce14</a>.
<li>SQLITE_SOURCE_ID: "2014-04-03 16:53:12 a611fa96c4a848614efe899130359c9f6fb889c3"
<li>SHA1 for sqlite3.c: 310a1faeb9332a3cd8d1f53b4a2e055abf537bdc
</ul></p><a name="version_3_8_4_2"></a>
<h3>2014-03-26 (3.8.4.2)</h3><p><ul>
<li>Fix a potential buffer overread that could result when trying to search a
corrupt database file.
<li>SQLITE_SOURCE_ID: "2014-03-26 18:51:19 02ea166372bdb2ef9d8dfbb05e78a97609673a8e"
<li>SHA1 for sqlite3.c: 4685ca86c2ea0649ed9f59a500013e90b3fe6d03
</ul></p><a name="version_3_8_4_1"></a>
<h3>2014-03-11 (3.8.4.1)</h3><p><ul>
<li>Work around a C-preprocessor macro conflict that breaks the build for some
configurations with Microsoft Visual Studio.
<li>When computing the cost of the <a href="optoverview.html#skipscan">skip-scan optimization</a>, take into account the
fact that multiple seeks are required.
<li>SQLITE_SOURCE_ID: "2014-03-11 15:27:36 018d317b1257ce68a92908b05c9c7cf1494050d0"
<li>SHA1 for sqlite3.c: d5cd1535053a50aa8633725e3595740b33709ac5
</ul></p><a name="version_3_8_4"></a>
<h3>2014-03-10 (3.8.4)</h3><p><ul>
<li>Code optimization and refactoring for improved performance.
<li>Add the ".clone" and ".save" commands to the command-line shell.
<li>Update the banner on the command-line shell to alert novice users when they
are using an ephemeral in-memory database.
<li>Fix editline support in the command-line shell.
<li>Add support for coverage testing of VDBE programs using the
<a href="c3ref/c_testctrl_always.html">SQLITE_TESTCTRL_VDBE_COVERAGE</a> verb of <a href="c3ref/test_control.html">sqlite3_test_control()</a>.
<li>Update the _FILE_OFFSET_BITS macro so that builds work again on QNX.
<li>Change the datatype of SrcList.nSrc from type u8 to type int to work around
an issue in the C compiler on AIX.
<li>Get extension loading working on Cygwin.
<li>Bug fix: Fix the <a href="lang_corefunc.html#char">char()</a> SQL function so that it returns an empty string
rather than an "out of memory" error when called with zero arguments.
<li>Bug fix: DISTINCT now recognizes that a <a href="lang_corefunc.html#zeroblob">zeroblob</a> and a blob of all
0x00 bytes are the same thing.
<a href="http://www.sqlite.org/src/info/fccbde530a">Ticket [fccbde530a]</a>
<li>Bug fix: Compute the correct answer for queries that contain an IS NOT NULL
term in the WHERE clause and also contain an OR term in the WHERE clause and
are compiled with <a href="compile.html#enable_stat4">SQLITE_ENABLE_STAT4</a>.
<a href="http://www.sqlite.org/src/info/4c86b126f2">Ticket [4c86b126f2]</a>
<li>Bug fix: Make sure "rowid" columns are correctly resolved in joins between
normal tables and WITHOUT ROWID tables.
<a href="http://www.sqlite.org/src/info/c34d0557f7">Ticket [c34d0557f7]</a>
<li>Bug fix: Make sure the same temporary registers are not used in concurrent
co-routines used to implement compound SELECT statements containing ORDER
BY clauses, as such use can lead to incorrect answers.
<a href="http://www.sqlite.org/src/info/8c63ff0eca">Ticket [8c63ff0eca]</a>
<li>Bug fix: Ensure that "ORDER BY random()" clauses do not get optimized out.
<a href="http://www.sqlite.org/src/info/65bdeb9739">Ticket [65bdeb9739]</a>
<li>Bug fix: Repair a name-resolution error that can occur in sub-select statements
contained within a TRIGGER.
<a href="http://www.sqlite.org/src/info/4ef7e3cfca">Ticket [4ef7e3cfca]</a>
<li>Bug fix: Fix column default values expressions of the form
"DEFAULT(-(-9223372036854775808))" so that they work correctly, initializing
the column to a floating point value approximately equal to
+9223372036854775808.0.
<li>SQLITE_SOURCE_ID: "2014-03-10 12:20:37 530a1ee7dc2435f80960ce4710a3c2d2bfaaccc5"
<li>SHA1 for sqlite3.c: b0c22e5f15f5ba2afd017ecd990ea507918afe1c
</ul></p><a name="version_3_8_3_1"></a>
<h3>2014-02-11 (3.8.3.1)</h3><p><ul>
<li>Fix a bug (ticket <a href="http://www.sqlite.org/src/info/4c86b126f2">4c86b126f2</a>)
that causes rows to go missing on some queries with OR clauses and
IS NOT NULL operators in the WHERE clause, when the <a href="compile.html#enable_stat3">SQLITE_ENABLE_STAT3</a>
or <a href="compile.html#enable_stat4">SQLITE_ENABLE_STAT4</a> compile-time options are used.
<li>Fix a harmless compiler warning that was causing problems for VS2013.
<li>SQLITE_SOURCE_ID: "2014-02-11 14:52:19 ea3317a4803d71d88183b29f1d3086f46d68a00e"
<li>SHA1 for sqlite3.c: 990004ef2d0eec6a339e4caa562423897fe02bf0
</ul></p><a name="version_3_8_3"></a>
<h3>2014-02-03 (3.8.3)</h3><p><ul>
<li>Added support for <a href="lang_with.html">common table expressions</a> and the <a href="lang_with.html">WITH clause</a>.
<li>Added the <a href="lang_corefunc.html#printf">printf()</a> SQL function.
<li>Added <a href="c3ref/c_deterministic.html">SQLITE_DETERMINISTIC</a> as an optional bit in the 4th argument to the
<a href="c3ref/create_function.html">sqlite3_create_function()</a> and related interfaces, providing applications with
the ability to create new functions that can be factored out of inner loops when
they have constant arguments.
<li>Add <a href="rescode.html#readonly_dbmoved">SQLITE_READONLY_DBMOVED</a> error code, returned at the beginning of a
transaction, to indicate that the underlying database file has been renamed
or moved out from under SQLite.
<li>Allow arbitrary expressions, including function calls and subqueries, in
the filename argument to <a href="lang_attach.html">ATTACH</a>.
<li>Allow a <a href="lang_select.html#values">VALUES clause</a> to be used anywhere a <a href="lang_select.html">SELECT</a> statement is valid.
<li>Reseed the PRNG used by <a href="c3ref/randomness.html">sqlite3_randomness(N,P)</a> when invoked with N==0.
Automatically reseed after a fork() on unix.
<li>Enhance the <a href="spellfix1.html">spellfix1</a> virtual table so that it can search efficiently by rowid.
<li>Performance enhancements.
<li>Improvements to the comments in the VDBE byte-code display when running <a href="lang_explain.html">EXPLAIN</a>.
<li>Add the "%token_class" directive to LEMON parser generator and use it to simplify
the grammar.
<li>Change the LEMON source code to avoid calling C-library functions that OpenBSD
considers dangerous. (Ex: sprintf).
<li>Bug fix: In the <a href="cli.html">command-line shell</a> CSV import feature, do not end a field
when an escaped double-quote occurs at the end of a CRLN line.
<li>SQLITE_SOURCE_ID:
"2014-02-03 13:52:03 e816dd924619db5f766de6df74ea2194f3e3b538"
<li>SHA1 for sqlite3.c: 98a07da78f71b0275e8d9c510486877adc31dbee
</ul></p><a name="version_3_8_2"></a>
<h3>2013-12-06 (3.8.2)</h3><p><ul>
<li>Changed the defined behavior for the <a href="lang_expr.html#castexpr">CAST expression</a> when floating point values
greater than +9223372036854775807 are cast into into integers so that the
result is the largest possible integer, +9223372036854775807, instead of
the smallest possible integer, -9223372036854775808. After this change,
CAST(9223372036854775809.0 as INT) yields +9223372036854775807 instead
of -9223372036854775808.
<b><big>←</big> Potentially Incompatible Change!</b>
<li>Added support for <a href="withoutrowid.html">WITHOUT ROWID</a> tables.
<li>Added the <a href="optoverview.html#skipscan">skip-scan optimization</a> to the query planner.
<li>Extended the <a href="vtab.html">virtual table</a> interface, and in particular the
<a href="c3ref/index_info.html">sqlite3_index_info</a> object to allow a virtual table to report its estimate
on the number of rows that will be returned by a query.
<li>Update the <a href="rtree.html">R-Tree extension</a> to make use of the enhanced virtual table
interface.
<li>Add the <a href="compile.html#enable_explain_comments">SQLITE_ENABLE_EXPLAIN_COMMENTS</a> compile-time option.
<li>Enhanced the comments that are inserted into <a href="lang_explain.html">EXPLAIN</a> output when the
<a href="compile.html#enable_explain_comments">SQLITE_ENABLE_EXPLAIN_COMMENTS</a> compile-time option is enabled.
<li>Performance enhancements in the VDBE, especially to the OP_Column opcode.
<li>Factor constant subexpressions in inner loops out to the initialization code
in prepared statements.
<li>Enhanced the ".explain" output formatting of the <a href="cli.html">command-line shell</a>
so that loops are indented to better show the structure of the program.
<li>Enhanced the ".timer" feature of the <a href="cli.html">command-line shell</a> so that it
shows wall-clock time in addition to system and user times.
<li>SQLITE_SOURCE_ID:
"2013-12-06 14:53:30 27392118af4c38c5203a04b8013e1afdb1cebd0d"
<li>SHA1 for sqlite3.c: 6422c7d69866f5ea3db0968f67ee596e7114544e
</ul></p><a name="version_3_8_1"></a>
<h3>2013-10-17 (3.8.1)</h3><p><ul>
<li>Added the <a href="lang_corefunc.html#unlikely">unlikely()</a> and <a href="lang_corefunc.html#likelihood">likelihood()</a> SQL functions to be used
as hints to the query planner.
<li>Enhancements to the query planner:
<ul>
<li>Take into account the fact WHERE clause terms that cannot be used with indices
still probably reduce the number of output rows.
<li>Estimate the sizes of table and index rows and use the smallest applicable B-Tree
for full scans and "count(*)" operations.
</ul>
<li>Added the <a href="pragma.html#pragma_soft_heap_limit">soft_heap_limit pragma</a>.
<li>Added support for <a href="compile.html#enable_stat4">SQLITE_ENABLE_STAT4</a>
<li>Added support for "sz=NNN" parameters at the end of
<a href="fileformat2.html#stat1tab">sqlite_stat1.stat</a> fields
used to specify the average length in bytes for table and index rows.
<li>Avoid running foreign-key constraint checks on an UPDATE if none of the
modified columns are associated with foreign keys.
<li>Added the <a href="compile.html#minimum_file_descriptor">SQLITE_MINIMUM_FILE_DESCRIPTOR</a> compile-time option
<li>Added the win32-longpath VFS on windows, permitting filenames up to 32K
characters in length.
<li>The <a href="lang_datefunc.html">Date And Time Functions</a> are enhanced so that the current time
(ex: julianday('now')) is always the same for multiple function invocations
within the same <a href="c3ref/step.html">sqlite3_step()</a> call.
<li>Add the "totype.c" extension, implementing the tointeger() and toreal()
SQL functions.
<li><a href="fts3.html#fts4">FTS4</a> queries are better able to make use of docid<$limit constraints to
limit the amount of I/O required.
<li>Added the hidden <a href="fts3.html#f4alid">fts4aux languageid column</a> to the <a href="fts3.html#fts4aux">fts4aux</a> virtual table.
<li>The <a href="lang_vacuum.html">VACUUM</a> command packs the database about 1% tighter.
<li>The sqlite3_analyzer utility program is updated to provide better descriptions
and to compute a more accurate estimate for "Non-sequential pages"
<li>Refactor the implementation of PRAGMA statements to improve parsing performance.
<li>The directory used to hold temporary files on unix can now be set using
the SQLITE_TMPDIR environment variable, which takes precedence over the
TMPDIR environment variable. The <a href="c3ref/temp_directory.html">sqlite3_temp_directory</a> global variable
still has higher precedence than both environment variables, however.
<li>Added the <a href="pragma.html#pragma_stats">PRAGMA stats</a> statement.
<li><b>Bug fix:</b> Return the correct answer for "SELECT count(*) FROM table" even if
there is a <a href="partialindex.html">partial index</a> on the table. Ticket
<a href="http://www.sqlite.org/src/info/a5c8ed66ca">a5c8ed66ca</a>.
<li>SQLITE_SOURCE_ID:
"2013-10-17 12:57:35 c78be6d786c19073b3a6730dfe3fb1be54f5657a"
<li>SHA1 for sqlite3.c: 0a54d76566728c2ba96292a49b138e4f69a7c391
</ul></p><a name="version_3_8_0_2"></a>
<h3>2013-09-03 (3.8.0.2)</h3><p><ul>
<li>Fix a bug in the optimization that attempts to omit unused LEFT JOINs
<li>SQLITE_SOURCE_ID:
"2013-09-03 17:11:13 7dd4968f235d6e1ca9547cda9cf3bd570e1609ef"
<li>SHA1 for sqlite3.c: 6cf0c7b46975a87a0dc3fba69c229a7de61b0c21
</ul></p><a name="version_3_8_0_1"></a>
<h3>2013-08-29 (3.8.0.1)</h3><p><ul>
<li>Fix an off-by-one error that caused quoted empty string at the end of a
CRNL-terminated line of CSV input to be misread by the command-line shell.
<li>Fix a query planner bug involving a LEFT JOIN with a BETWEEN or LIKE/GLOB
constraint and then another INNER JOIN to the right that involves an OR constraint.
<li>Fix a query planner bug that could result in a segfault when querying tables
with a UNIQUE or PRIMARY KEY constraint with more than four columns.
<li>SQLITE_SOURCE_ID:
"2013-08-29 17:35:01 352362bc01660edfbda08179d60f09e2038a2f49"
<li>SHA1 for sqlite3.c: 99906bf63e6cef63d6f3d7f8526ac4a70e76559e
</ul></p><a name="version_3_8_0"></a>
<h3>2013-08-26 (3.8.0)</h3><p><ul>
<li>Add support for <a href="partialindex.html">partial indexes</a></li>
<li>Cut-over to the <a href="queryplanner-ng.html">next generation query planner</a> for faster and better query plans.
<li>The <a href="eqp.html">EXPLAIN QUERY PLAN</a> output no longer shows an estimate of the number of
rows generated by each loop in a join.
<li>Added the <a href="fts3.html#fts4notindexed">FTS4 notindexed option</a>, allowing non-indexed columns in an FTS4 table.
<li>Added the <a href="c3ref/c_stmtstatus_counter.html#sqlitestmtstatusvmstep">SQLITE_STMTSTATUS_VM_STEP</a> option to <a href="c3ref/stmt_status.html">sqlite3_stmt_status()</a>.
<li>Added the <a href="pragma.html#pragma_cache_spill">cache_spill pragma</a>.
<li>Added the <a href="pragma.html#pragma_query_only">query_only pragma</a>.
<li>Added the <a href="pragma.html#pragma_defer_foreign_keys">defer_foreign_keys pragma</a> and the
<a href="c3ref/db_status.html">sqlite3_db_status</a>(db, <a href="c3ref/c_dbstatus_options.html#sqlitedbstatusdeferredfks">SQLITE_DBSTATUS_DEFERRED_FKS</a>,...) C-language interface.
<li>Added the "percentile()" function as a <a href="loadext.html">loadable extension</a> in the ext/misc
subdirectory of the source tree.
<li>Added the <a href="compile.html#allow_uri_authority">SQLITE_ALLOW_URI_AUTHORITY</a> compile-time option.
<li>Add the <a href="c3ref/cancel_auto_extension.html">sqlite3_cancel_auto_extension(X)</a> interface.
<li>A running SELECT statement that lacks a FROM clause (or any other statement that
never reads or writes from any database file) will not prevent a read
transaction from closing.
<li>Add the <a href="compile.html#default_automatic_index">SQLITE_DEFAULT_AUTOMATIC_INDEX</a> compile-time option. Setting this option
to 0 disables automatic indices by default.
<li>Issue an <a href="rescode.html#warning_autoindex">SQLITE_WARNING_AUTOINDEX</a> warning on the <a href="c3ref/c_config_covering_index_scan.html#sqliteconfiglog">SQLITE_CONFIG_LOG</a> whenever
the query planner uses an automatic index.
<li>Added the <a href="compile.html#fts3_max_expr_depth">SQLITE_FTS3_MAX_EXPR_DEPTH</a> compile-time option.
<li>Added an optional 5th parameter defining the collating sequence to the
next_char() extension SQL function.
<li>The <a href="rescode.html#busy_snapshot">SQLITE_BUSY_SNAPSHOT</a> extended error code is returned in WAL mode when
a read transaction cannot be upgraded to a write transaction because the read is
on an older snapshot.
<li>Enhancements to the sqlite3_analyzer utility program to provide size
information separately for each individual index of a table, in addition to
the aggregate size.
<li>Allow read transactions to be freely opened and closed by SQL statements run
from within the implementation of <a href="c3ref/create_function.html">application-defined SQL functions</a> if the
function is called by a SELECT statement that does not access any database table.
<li>Disable the use of posix_fallocate() on all (unix) systems unless the
HAVE_POSIX_FALLOCATE compile-time option is used.
<li>Update the ".import" command in the <a href="cli.html">command-line shell</a> to support multi-line
fields and correct RFC-4180 quoting and to issue warning and/or error messages
if the input text is not strictly RFC-4180 compliant.
<li>Bug fix: In the <a href="fts3.html#unicode61">unicode61</a> tokenizer of <a href="fts3.html#fts4">FTS4</a>, treat all private code points
as identifier symbols.
<li>Bug fix: Bare identifiers in ORDER BY clauses bind more tightly to output column
names, but identifiers in expressions bind more tightly to input column names.
Identifiers in GROUP BY clauses always prefer output column names, however.
<li>Bug fixes: Multiple problems in the legacy query optimizer were fixed by the
move to <a href="queryplanner-ng.html">NGQP</a>.
<li>SQLITE_SOURCE_ID:
"2013-08-26 04:50:08 f64cd21e2e23ed7cff48f7dafa5e76adde9321c2"
<li>SHA1 for sqlite3.c: b7347f4b4c2a840e6ba12040093d606bd16ea21e
</ul></p><a name="version_3_7_17"></a>
<h3>2013-05-20 (3.7.17)</h3><p><ul>
<li>Add support for <a href="mmap.html">memory-mapped I/O</a>.
<li>Add the <a href="c3ref/strglob.html">sqlite3_strglob()</a> convenience interface.
<li>Assigned the integer at offset 68 in the <a href="fileformat2.html#database_header">database header</a> as the
<a href="fileformat2.html#appid">Application ID</a> for when SQLite is used as an <a href="appfileformat.html">application file-format</a>.
Added the <a href="pragma.html#pragma_application_id">PRAGMA application_id</a> command to query and set the Application ID.
<li>Report rollback recovery in the <a href="errlog.html">error log</a> as SQLITE_NOTICE_RECOVER_ROLLBACK.
Change the error log code for WAL recover from
SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL.
<li>Report the risky uses of <a href="howtocorrupt.html#unlink">unlinked database files</a> and
<a href="howtocorrupt.html#alias">database filename aliasing</a> as SQLITE_WARNING messages in the <a href="errlog.html">error log</a>.
<li>Added the <a href="compile.html#trace_size_limit">SQLITE_TRACE_SIZE_LIMIT</a> compile-time option.
<li>Increase the default value of <a href="compile.html#max_schema_retry">SQLITE_MAX_SCHEMA_RETRY</a> to 50 and make sure
that it is honored in every place that a schema change might force a statement
retry.
<li>Add a new test harness called "mptester" used to verify correct operation
when multiple processes are using the same database file at the same time.
<li>Enhance the <a href="loadext.html">extension loading</a> mechanism to be more flexible (while
still maintaining backwards compatibility) in two ways:
<ol>
<li>If the default entry point "sqlite3_extension_init" is not present in
the loadable extension, also try an entry point "sqlite3_X_init" where
"X" is based on the shared library filename. This allows every extension
to have a different entry point, which allows them to be statically linked
with no code changes.
<li>The shared library filename passed to <a href="c3ref/load_extension.html">sqlite3_load_extension()</a> may
omit the filename suffix, and an appropriate architecture-dependent
suffix (".so", ".dylib", or ".dll") will be added automatically.
</ol>
<li>Added many new loadable extensions to the source tree, including
amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix,
and wholenumber. See header comments on each extension source file
for further information about what that extension does.
<li>Enhance <a href="fts3.html">FTS3</a> to avoid using excess stack space when there are a huge
number of terms on the right-hand side of the MATCH operator. A side-effect
of this change is that the MATCH operator can only accommodate 12 NEAR
operators at a time.
<li>Enhance the <a href="fts3.html#fts4aux">fts4aux</a> virtual table so that it can be a TEMP table.
<li>Added the <a href="fts3.html#fts3tok">fts3tokenize virtual table</a> to the <a href="fts3.html">full-text search</a> logic.
<li>Query planner enhancement: Use the transitive property of constraints
to move constraints into the outer loops of a join whenever possible,
thereby reducing the amount of work that needs to occur in inner loops.
<li>Discontinue the use of posix_fallocate() on unix, as it does not work on all
filesystems.
<li>Improved tracing and debugging facilities in the Windows <a href="vfs.html">VFS</a>.
<li>Bug fix: Fix a potential <b>database corruption bug</b>
in <a href="sharedcache.html">shared cache mode</a> when one
<a href="c3ref/sqlite3.html">database connection</a> is closed while another is in the middle of a write
transaction.
Ticket <a href="http://www.sqlite.org/src/info/e636a050b7">e636a050b7</a>
<li>Bug fix:
Only consider AS names from the result set as candidates for resolving
identifiers in the WHERE clause if there are no other matches. In the
ORDER BY clause, AS names take priority over any column names.
Ticket <a href="http://www.sqlite.org/src/info/2500cdb9be05">2500cdb9be05</a>
<li>Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless
all outer loops are guaranteed to return no more than one row result.
Ticket <a href="http://www.sqlite.org/src/info/ba82a4a41eac1">ba82a4a41eac1</a>.
<li>Bug fix: Do not suppress the ORDER BY clause on a virtual table query if
an IN constraint is used.
Ticket <a href="http://www.sqlite.org/src/info/f69b96e3076e">f69b96e3076e</a>.
<li>Bug fix: The <a href="cli.html">command-line shell</a> gives an exit code of 0 when terminated
using the ".quit" command.
<li>Bug fix: Make sure <a href="pragma.html#syntax">PRAGMA</a> statements appear in <a href="c3ref/profile.html">sqlite3_trace()</a> output.
<li>Bug fix: When a <a href="lang_select.html#compound">compound query</a> that uses an ORDER BY clause
with a <a href="lang_expr.html#collateop">COLLATE operator</a>, make sure that the sorting occurs
according to the specified collation and that the comparisons associate with
the compound query use the native collation. Ticket
<a href="http://www.sqlite.org/src/info/6709574d2a8d8">6709574d2a8d8</a>.
<li>Bug fix: Makes sure the <a href="c3ref/set_authorizer.html">authorizer</a> callback gets
a valid pointer to the string "ROWID" for the column-name parameter when
doing an <a href="lang_update.html">UPDATE</a> that changes the rowid. Ticket
<a href="http://www.sqlite.org/src/info/0eb70d77cb05bb2272">0eb70d77cb05bb2272</a>
<li>Bug fix: Do not move WHERE clause terms inside OR expressions that are
contained within an ON clause of a LEFT JOIN. Ticket
<a href="http://www.sqlite.org/src/info/f2369304e4">f2369304e4</a>
<li>Bug fix: Make sure an error is always reported when attempting to preform
an operation that requires a <a href="datatype3.html#collation">collating sequence</a> that is missing.
Ticket <a href="http://www.sqlite.org/src/info/0fc59f908b">0fc59f908b</a>
<li>SQLITE_SOURCE_ID:
"2013-05-20 00:56:22 118a3b35693b134d56ebd780123b7fd6f1497668"
<li>SHA1 for sqlite3.c: 246987605d0503c700a08b9ee99a6b5d67454aab
</ul></p><a name="version_3_7_16_2"></a>
<h3>2013-04-12 (3.7.16.2)</h3><p><ul>
<li>Fix a bug (present since version 3.7.13) that could result in database corruption
on windows if two or more processes try to access the same database file at the
same time and immediately after third process crashed in the middle of committing
to that same file. See ticket
<a href="http://www.sqlite.org/src/info/7ff3120e4f">7ff3120e4f</a> for further
information.
<li>SQLITE_SOURCE_ID:
"2013-04-12 11:52:43 cbea02d93865ce0e06789db95fd9168ebac970c7"
<li>SHA1 for sqlite3.c: d466b54789dff4fb0238b9232e74896deaefab94
</ul></p><a name="version_3_7_16_1"></a>
<h3>2013-03-29 (3.7.16.1)</h3><p><ul>
<li>Fix for a bug in the ORDER BY optimizer that was introduced in
<a href="#version_3_7_15">version 3.7.15</a> which would sometimes optimize out the sorting step
when in fact the sort was required.
Ticket <a href="http://www.sqlite.org/src/info/a179fe7465">a179fe7465</a>
<li>Fix a long-standing bug in the <a href="lang_expr.html#castexpr">CAST expression</a> that would recognize UTF16
characters as digits even if their most-significant-byte was not zero.
Ticket <a href="http://www.sqlite.org/src/info/689137afb6da41">689137afb6da41</a>.
<li>Fix a bug in the NEAR operator of <a href="fts3.html">FTS3</a> when applied to subfields.
Ticket <a href="http://www.sqlite.org/src/info/38b1ae018f">38b1ae018f</a>.
<li>Fix a long-standing bug in the storage engine that would (very rarely)
cause a spurious report of an SQLITE_CORRUPT error but which was otherwise
harmless.
Ticket <a href="http://www.sqlite.org/src/info/6bfb98dfc0c">6bfb98dfc0c</a>.
<li>The SQLITE_OMIT_MERGE_SORT option has been removed. The merge sorter is
now a required component of SQLite.
<li>Fixed lots of spelling errors in the source-code comments
<li>SQLITE_SOURCE_ID:
"2013-03-29 13:44:34 527231bc67285f01fb18d4451b28f61da3c4e39d"
<li>SHA1 for sqlite3.c: 7a91ceceac9bcf47ceb8219126276e5518f7ff5a
</ul></p><a name="version_3_7_16"></a>
<h3>2013-03-18 (3.7.16)</h3><p><ul>
<li>Added the <a href="pragma.html#pragma_foreign_key_check">PRAGMA foreign_key_check</a> command.
<li>Added new extended error codes for all SQLITE_CONSTRAINT errors
<li>Added the SQLITE_READONLY_ROLLBACK extended error code for when a database
cannot be opened because it needs rollback recovery but is read-only.
<li>Added SQL functions <a href="lang_corefunc.html#unicode">unicode(A)</a> and <a href="lang_corefunc.html#char">char(X1,...,XN)</a>.
<li>Performance improvements for <a href="pragma.html#pragma_incremental_vacuum">PRAGMA incremental_vacuum</a>, especially in
cases where the number of free pages is greater than what will fit on a
single trunk page of the freelist.
<li>Improved optimization of queries containing aggregate min() or max().
<li>Enhance virtual tables so that they can potentially use an index when
the WHERE clause contains the IN operator.
<li>Allow indices to be used for sorting even if prior terms of the index
are constrained by IN operators in the WHERE clause.
<li>Enhance the <a href="pragma.html#pragma_table_info">PRAGMA table_info</a> command so that the "pk" column is an
increasing integer to show the order of columns in the primary key.
<li>Enhance the query optimizer to exploit transitive join constraints.
<li>Performance improvements in the query optimizer.
<li>Allow the error message from <a href="pragma.html#pragma_integrity_check">PRAGMA integrity_check</a> to be longer than
20000 bytes.
<li>Improved name resolution for deeply nested queries.
<li>Added the test_regexp.c module as a demonstration of how to implement
the REGEXP operator.
<li>Improved error messages in the <a href="rtree.html">RTREE</a> extension.
<li>Enhance the <a href="cli.html">command-line shell</a> so that a non-zero argument to the
".exit" command causes the shell to exit immediately without cleanly
shutting down the database connection.
<li>Improved error messages for invalid boolean arguments to dot-commands
in the <a href="cli.html">command-line shell</a>.
<li>Improved error messages for "foreign key mismatch" showing the names of
the two tables involved.
<li>Remove all uses of umask() in the unix VFS.
<li>Added the <a href="pragma.html#pragma_vdbe_addoptrace">PRAGMA vdbe_addoptrace</a> and <a href="pragma.html#pragma_vdbe_debug">PRAGMA vdbe_debug</a> commands.
<li>Change to use strncmp() or the equivalent instead of memcmp() when
comparing non-zero-terminated strings.
<li>Update cygwin interfaces to omit deprecated API calls.
<li>Enhance the <a href="spellfix1.html">spellfix1</a> extension so that the edit distance cost table can
be changed at runtime by inserting a string like 'edit_cost_table=TABLE'
into the "command" field.
<li>Bug fix: repair a long-standing problem that could cause incorrect query
results in a 3-way or larger join that compared INTEGER fields against TEXT
fields in two or more places.
Ticket <a href="http://www.sqlite.org/src/info/fc7bd6358f">fc7bd6358f</a>
<li>Bug fix: Issue an error message if the 16-bit reference counter on a
view overflows due to an overly complex query.
<li>Bug fix: Avoid leaking memory on LIMIT and OFFSET clauses in deeply
nested UNION ALL queries.
<li>Bug fix: Make sure the schema is up-to-date prior to running pragmas
table_info, index_list, index_info, and foreign_key_list.
<li>SQLITE_SOURCE_ID:
"2013-03-18 11:39:23 66d5f2b76750f3520eb7a495f6247206758f5b90"
<li>SHA1 for sqlite3.c: 7308ab891ca1b2ebc596025cfe4dc36f1ee89cf6
</ul></p><a name="version_3_7_15_2"></a>
<h3>2013-01-09 (3.7.15.2)</h3><p><ul>
<li>Fix a bug, introduced in <a href="#version_3_7_15">version 3.7.15</a>, that causes an ORDER BY clause
to be optimized out of a three-way join when the ORDER BY is actually
required.
Ticket <a href="http://www.sqlite.org/src/info/598f5f7596b055">598f5f7596b055</a>
<li>SQLITE_SOURCE_ID:
"2013-01-09 11:53:05 c0e09560d26f0a6456be9dd3447f5311eb4f238f"
<li>SHA1 for sqlite3.c: 5741f47d1bc38aa0a8c38f09e60a5fe0031f272d
</ul></p><a name="version_3_7_15_1"></a>
<h3>2012-12-19 (3.7.15.1)</h3><p><ul>
<li>Fix a bug, introduced in <a href="#version_3_7_15">version 3.7.15</a>, that causes a segfault if
the AS name of a result column of a SELECT statement is used as a logical
term in the WHERE clause. Ticket
<a href="http://www.sqlite.org/src/info/a7b7803e8d1e869">a7b7803e8d1e869</a>.
<li>SQLITE_SOURCE_ID:
"2012-12-19 20:39:10 6b85b767d0ff7975146156a99ad673f2c1a23318"
<li>SHA1 for sqlite3.c: bbbaa68061e925bd4d7d18d7e1270935c5f7e39a
</ul></p><a name="version_3_7_15"></a>
<h3>2012-12-12 (3.7.15)</h3><p><ul>
<li>Added the <a href="c3ref/errcode.html">sqlite3_errstr()</a> interface.
<li>Avoid invoking the <a href="c3ref/profile.html">sqlite3_trace()</a> callback multiple times when a
statement is automatically reprepared due to <a href="rescode.html#schema">SQLITE_SCHEMA</a> errors.
<li>Added support for Windows Phone 8 platforms
<li>Enhance IN operator processing to make use of indices with numeric
affinities.
<li>Do full-table scans using covering indices when possible, under the
theory that an index will be smaller and hence can be scanned with
less I/O.
<li>Enhance the query optimizer so that ORDER BY clauses are more aggressively
optimized, especially in joins where various terms of the ORDER BY clause
come from separate tables of the join.
<li>Add the ability to implement FROM clause subqueries as coroutines rather
that manifesting the subquery into a temporary table.
<li>Enhancements the command-line shell:
<ul>
<li>Added the ".print" command
<li>Negative numbers in the ".width" command cause right-alignment
<li>Add the ".wheretrace" command when compiled with SQLITE_DEBUG
</ul>
<li>Added the <a href="pragma.html#pragma_busy_timeout">busy_timeout pragma</a>.
<li>Added the <a href="lang_corefunc.html#instr">instr()</a> SQL function.
<li>Added the <a href="c3ref/c_fcntl_busyhandler.html#sqlitefcntlbusyhandler">SQLITE_FCNTL_BUSYHANDLER</a> file control, used to allow VFS
implementations to get access to the busy handler callback.
<li>The xDelete method in the built-in <a href="vfs.html">VFSes</a> now return
SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist.
<li>Enhanced support for QNX.
<li>Work around an optimizer bug in the MSVC compiler when targeting ARM.
<li>Bug fix: Avoid various concurrency problems in <a href="sharedcache.html">shared cache mode</a>.
<li>Bug fix: Avoid a deadlock or crash if the <a href="backup.html">backup API</a>, <a href="sharedcache.html">shared cache</a>,
and the SQLite Encryption Extension are all used at once.
<li>Bug fix: SQL functions created using the TCL interface honor the
"nullvalue" setting.
<li>Bug fix: Fix a 32-bit overflow problem on CREATE INDEX for databases
larger than 16GB.
<li>Bug fix: Avoid segfault when using the <a href="lang_expr.html#collateop">COLLATE operator</a> inside of a
<a href="lang_createtable.html#ckconst">CHECK constraint</a> or <a href="lang_createview.html">view</a> in <a href="sharedcache.html">shared cache mode</a>.
<li>SQLITE_SOURCE_ID:
"2012-12-12 13:36:53 cd0b37c52658bfdf992b1e3dc467bae1835a94ae"
<li>SHA1 for sqlite3.c: 2b413611f5e3e3b6ef5f618f2a9209cdf25cbcff"
</ul></p><a name="version_3_7_14_1"></a>
<h3>2012-10-04 (3.7.14.1)</h3><p><ul>
<li>Fix a bug (ticket
<a href="www.sqlite.org/src/tktview/d02e1406a58ea02d">[d02e1406a58ea02d]]</a>)
that causes a segfault on a LEFT JOIN that includes an OR in the ON clause.
<li>Work around a bug in the optimizer in the VisualStudio-2012 compiler that
causes invalid code to be generated when compiling SQLite on ARM.
<li>Fix the TCL interface so that the "nullvalue" setting is honored for
TCL implementations of SQL functions.
<li>SQLITE_SOURCE_ID:
"2012-10-04 19:37:12 091570e46d04e84b67228e0bdbcd6e1fb60c6bdb"
<li>SHA1 for sqlite3.c: 62aaecaacab3a4bf4a8fe4aec1cfdc1571fe9a44
</ul></p><a name="version_3_7_14"></a>
<h3>2012-09-03 (3.7.14)</h3><p><ul>
<li>Drop built-in support for OS/2. If you need to upgrade an OS/2
application to use this or a later version of SQLite,
then add an application-defined <a href="vfs.html">VFS</a> using the
<a href="c3ref/vfs_find.html">sqlite3_vfs_register()</a> interface. The code removed in this release can
serve as a baseline for the application-defined VFS.
<li>Ensure that floating point values are preserved exactly when reconstructing
a database from the output of the ".dump" command of the
<a href="cli.html">command-line shell</a>.
<li>Added the <a href="c3ref/close.html">sqlite3_close_v2()</a> interface.
<li>Updated the <a href="cli.html">command-line shell</a> so that it can be built using
<a href="compile.html#omit_floating_point">SQLITE_OMIT_FLOATING_POINT</a> and <a href="compile.html#omit_autoinit">SQLITE_OMIT_AUTOINIT</a>.
<li>Improvements to the windows makefiles and build processes.
<li>Enhancements to <a href="pragma.html#pragma_integrity_check">PRAGMA integrity_check</a> and <a href="pragma.html#pragma_quick_check">PRAGMA quick_check</a> so that
they can optionally check just a single attached database instead of all
attached databases.
<li>Enhancements to <a href="wal.html">WAL mode</a> processing that ensure that at least one
valid read-mark is available at all times, so that read-only processes
can always read the database.
<li>Performance enhancements in the sorter used by ORDER BY and CREATE INDEX.
<li>Added the <a href="compile.html#disable_fts4_deferred">SQLITE_DISABLE_FTS4_DEFERRED</a> compile-time option.
<li>Better handling of aggregate queries where the aggregate functions are
contained within subqueries.
<li>Enhance the query planner so that it will try to use a <a href="queryplanner.html#covidx">covering index</a>
on queries that make use of <a href="optoverview.html#or_opt">or optimization</a>.
<li>SQLITE_SOURCE_ID:
"2012-09-03 15:42:36 c0d89d4a9752922f9e367362366efde4f1b06f2a"
<li>SHA1 for sqlite3.c: 5fdf596b29bb426001f28b488ff356ae14d5a5a6
</ul></p><a name="version_3_7_13"></a>
<h3>2012-06-11 (3.7.13)</h3><p><ul>
<li><a href="inmemorydb.html">In-memory databases</a> that are specified using
<a href="uri.html">URI filenames</a> are allowed to use <a href="sharedcache.html#inmemsharedcache">shared cache</a>,
so that the same
in-memory database can be accessed from multiple database connections.
<li>Recognize and use the <a href="uri.html#coreqp">mode=memory</a> query parameter in
<a href="uri.html">URI filenames</a>.
<li>Avoid resetting the schema of <a href="sharedcache.html">shared cache</a> connections when any one
connection closes. Instead, wait for the last connection to close before
resetting the schema.
<li>In the <a href="rtree.html">RTREE</a> extension, when rounding 64-bit floating point numbers
to 32-bit for storage, always round in a direction that causes the
bounding box to get larger.
<li>Adjust the unix driver to avoid unnecessary calls to fchown().
<li>Add interfaces sqlite3_quota_ferror() and sqlite3_quota_file_available()
to the test_quota.c module.
<li>The <a href="c3ref/create_module.html">sqlite3_create_module()</a> and <a href="c3ref/create_module.html">sqlite3_create_module_v2()</a> interfaces
return SQLITE_MISUSE on any attempt to overload or replace a <a href="vtab.html">virtual table</a>
module. The destructor is always called in this case, in accordance with
historical and current documentation.
<li>SQLITE_SOURCE_ID:
"2012-06-11 02:05:22 f5b5a13f7394dc143aa136f1d4faba6839eaa6dc"
<li>SHA1 for sqlite3.c: ff0a771d6252545740ba9685e312b0e3bb6a641b
</ul></p><a name="version_3_7_12_1"></a>
<h3>2012-05-22 (3.7.12.1)</h3><p><ul>
<li>Fix a bug
<a href="http://www.sqlite.org/src/info/c2ad16f997ee9c">(ticket c2ad16f997)</a>
in the 3.7.12 release that can cause a segfault for certain
obscure nested aggregate queries.
<li>Fix various other minor test script problems.
<li>SQLITE_SOURCE_ID:
"2012-05-22 02:45:53 6d326d44fd1d626aae0e8456e5fa2049f1ce0789"
<li>SHA1 for sqlite3.c: d494e8d81607f0515d4f386156fb0fd86d5ba7df
</ul></p><a name="version_3_7_12"></a>
<h3>2012-05-14 (3.7.12)</h3><p><ul>
<li>Add the <a href="c3ref/c_dbstatus_options.html#sqlitedbstatuscachewrite">SQLITE_DBSTATUS_CACHE_WRITE</a> option for <a href="c3ref/db_status.html">sqlite3_db_status()</a>.
<li>Optimize the <a href="lang_corefunc.html#typeof">typeof()</a> and <a href="lang_corefunc.html#length">length()</a> SQL functions so that they avoid
unnecessary reading of database content from disk.
<li>Add the <a href="fts3.html#*fts4mergecmd">FTS4 "merge" command</a>, the <a href="fts3.html#*fts4automergecmd">FTS4 "automerge" command</a>, and
the <a href="fts3.html#*fts4ickcmd">FTS4 "integrity-check" command</a>.
<li>Report the name of specific <a href="lang_createtable.html#ckconst">CHECK</a> constraints that fail.
<li>In the command-line shell, use popen() instead of fopen() if the first
character of the argument to the ".output" command is "|".
<li>Make use of OVERLAPPED in the windows <a href="vfs.html">VFS</a> to avoid some system calls
and thereby obtain a performance improvement.
<li>More aggressive optimization of the AND operator when one side or the
other is always false.
<li>Improved performance of queries with many OR-connected terms in the
WHERE clause that can all be indexed.
<li>Add the <a href="compile.html#rtree_int_only">SQLITE_RTREE_INT_ONLY</a> compile-time option to force the
<a href="rtree.html">R*Tree Extension Module</a> to use integer instead of
floating point values for both storage and computation.
<li>Enhance the <a href="pragma.html#pragma_integrity_check">PRAGMA integrity_check</a> command to use much less memory when
processing multi-gigabyte databases.
<li>New interfaces added to the test_quota.c add-on module.
<li>Added the ".trace" dot-command to the command-line shell.
<li>Allow virtual table constructors to be invoked recursively.
<li>Improved optimization of ORDER BY clauses on compound queries.
<li>Improved optimization of aggregate subqueries contained within an
aggregate query.
<li>Bug fix: Fix the <a href="lang_savepoint.html">RELEASE</a> command so that it does not cancel pending
queries. This repairs a problem introduced in 3.7.11.
<li>Bug fix: Do not discard the DISTINCT as superfluous unless a subset of
the result set is subject to a UNIQUE constraint <em>and</em> it none
of the columns in that subset can be NULL.
Ticket <a href="http://www.sqlite.org/src/info/385a5b56b9">385a5b56b9</a>.
<li>Bug fix: Do not optimize away an ORDER BY clause that has the same terms
as a UNIQUE index unless those terms are also NOT NULL.
Ticket <a href="http://www.sqlite.org/src/info/2a5629202f">2a5629202f</a>.
<li>SQLITE_SOURCE_ID:
"2012-05-14 01:41:23 8654aa9540fe9fd210899d83d17f3f407096c004"
<li>SHA1 for sqlite3.c: 57e2104a0f7b3f528e7f6b7a8e553e2357ccd2e1
</ul></p><a name="version_3_7_11"></a>
<h3>2012-03-20 (3.7.11)</h3><p><ul>
<li>Enhance the <a href="lang_insert.html">INSERT</a> syntax to allow multiple rows to be inserted
via the VALUES clause.
<li>Enhance the <a href="lang_createvtab.html">CREATE VIRTUAL TABLE</a> command to support the
IF NOT EXISTS clause.
<li>Added the <a href="c3ref/stricmp.html">sqlite3_stricmp()</a> interface as a counterpart to
<a href="c3ref/stricmp.html">sqlite3_strnicmp()</a>.
<li>Added the <a href="c3ref/db_readonly.html">sqlite3_db_readonly()</a> interface.
<li>Added the <a href="c3ref/c_fcntl_busyhandler.html#sqlitefcntlpragma">SQLITE_FCNTL_PRAGMA</a> file control, giving <a href="vfs.html">VFS</a> implementations
the ability to add new <a href="pragma.html#syntax">PRAGMA</a> statements or to override built-in
PRAGMAs.
<li>Queries of the form: "SELECT max(x), y FROM table" returns the
value of y on the same row that contains the maximum x value.
<li>Added support for the <a href="fts3.html#*fts4languageid">FTS4 languageid option</a>.
<li>Documented support for the <a href="fts3.html#*fts4content">FTS4 content option</a>. This feature has
actually been in the code since <a href="#version_3_7_9">version 3.7.9</a> but is only now considered
to be officially supported.
<li>Pending statements no longer block <a href="lang_transaction.html">ROLLBACK</a>. Instead, the pending
statement will return SQLITE_ABORT upon next access after the ROLLBACK.
<li>Improvements to the handling of CSV inputs in the <a href="cli.html">command-line shell</a>
<li>Fix a <a href="http://www.sqlite.org/src/info/b7c8682cc1">bug</a> introduced
in <a href="#version_3_7_10">version 3.7.10</a> that might cause a LEFT JOIN
to be incorrectly converted into an INNER JOIN if the WHERE clause
indexable terms connected by OR.
<li>SQLITE_SOURCE_ID:
"2012-03-20 11:35:50 00bb9c9ce4f465e6ac321ced2a9d0062dc364669"
<li>SHA1 for sqlite3.c: d460d7eda3a9dccd291aed2a9fda868b9b120a10
</ul></p><a name="version_3_7_10"></a>
<h3>2012-01-16 (3.7.10)</h3><p><ul>
<li>The default <a href="fileformat2.html#schemaformat">schema format number</a> is changed from 1 to 4.
This means that, unless
the <a href="pragma.html#pragma_legacy_file_format">PRAGMA legacy_file_format=ON</a> statement is
run, newly created database files will be unreadable by version of SQLite
prior to 3.3.0 (2006-01-10). It also means that the <a href="lang_createindex.html#descidx">descending indices</a>
are enabled by default.
<li>The sqlite3_pcache_methods structure and the <a href="c3ref/c_config_covering_index_scan.html#sqliteconfigpcache">SQLITE_CONFIG_PCACHE</a>
and <a href="c3ref/c_config_covering_index_scan.html#sqliteconfiggetpcache">SQLITE_CONFIG_GETPCACHE</a> configuration parameters are deprecated.
They are replaced by a new <a href="c3ref/pcache_methods2.html">sqlite3_pcache_methods2</a> structure and
<a href="c3ref/c_config_covering_index_scan.html#sqliteconfigpcache2">SQLITE_CONFIG_PCACHE2</a> and <a href="c3ref/c_config_covering_index_scan.html#sqliteconfiggetpcache2">SQLITE_CONFIG_GETPCACHE2</a> configuration
parameters.
<li>Added the <a href="psow.html">powersafe overwrite</a> property to the VFS interface. Provide
the <a href="c3ref/c_iocap_atomic.html">SQLITE_IOCAP_POWERSAFE_OVERWRITE</a> I/O capability, the
<a href="compile.html#powersafe_overwrite">SQLITE_POWERSAFE_OVERWRITE</a> compile-time option, and the
"psow=BOOLEAN" query parameter for <a href="uri.html">URI filenames</a>.
<li>Added the <a href="c3ref/db_release_memory.html">sqlite3_db_release_memory()</a> interface and the
<a href="pragma.html#pragma_shrink_memory">shrink_memory pragma</a>.
<li>Added the <a href="c3ref/db_filename.html">sqlite3_db_filename()</a> interface.
<li>Added the <a href="c3ref/stmt_busy.html">sqlite3_stmt_busy()</a> interface.
<li>Added the <a href="c3ref/uri_boolean.html">sqlite3_uri_boolean()</a> and <a href="c3ref/uri_boolean.html">sqlite3_uri_int64()</a> interfaces.
<li>If the argument to <a href="pragma.html#pragma_cache_size">PRAGMA cache_size</a> is negative N, that means to use
approximately -1024*N bytes of memory for the page cache regardless of
the page size.
<li>Enhanced the default memory allocator to make use of _msize() on windows,
malloc_size() on Mac, and malloc_usable_size() on Linux.
<li>Enhanced the query planner to support index queries with range constraints
on the rowid.
<li>Enhanced the query planner flattening logic to allow UNION ALL compounds
to be promoted upwards to replace a simple wrapper SELECT even if the
compounds are joins.
<li>Enhanced the query planner so that the xfer optimization can be used with
INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is
initially empty.
<li>Enhanced the windows <a href="vfs.html">VFS</a> so that all system calls can be overridden
using the xSetSystemCall interface.
<li>Updated the "unix-dotfile" <a href="vfs.html">VFS</a> to use locking directories with mkdir()
and rmdir() instead of locking files with open() and unlink().
<li>Enhancements to the test_quota.c extension to support stdio-like interfaces
with quotas.
<li>Change the unix <a href="vfs.html">VFS</a> to be tolerant of read() system calls that return
less then the full number of requested bytes.
<li>Change both unix and windows <a href="vfs.html">VFSes</a> to report a sector size of 4096
instead of the old default of 512.
<li>In the <a href="tclsqlite.html">TCL Interface</a>, add the -uri option to the "sqlite3" TCL command
used for creating new database connection objects.
<li>Added the <a href="c3ref/c_testctrl_always.html">SQLITE_TESTCTRL_EXPLAIN_STMT</a> test-control option with the
<a href="compile.html#enable_tree_explain">SQLITE_ENABLE_TREE_EXPLAIN</a> compile-time option to enable the
<a href="cli.html">command-line shell</a> to display ASCII-art parse trees of SQL statements
that it processes, for debugging and analysis.
<li><b>Bug fix:</b>
Add an additional xSync when restarting a WAL in order to prevent an
exceedingly unlikely but theoretically possible
database corruption following power-loss.
Ticket <a href="http://www.sqlite.org/src/info/ff5be73dee">ff5be73dee</a>.
<li><b>Bug fix:</b>
Change the VDBE so that all registers are initialized to Invalid
instead of NULL.
Ticket <a href="http://www.sqlite.org/src/info/7bbfb7d442">7bbfb7d442</a>
<li><b>Bug fix:</b>
Fix problems that can result from 32-bit integer overflow.
Ticket <a href="http://www.sqlite.org/src/info/ac0ff496b7e2">ac00f496b7e2</a>
<li>SQLITE_SOURCE_ID:
"2012-01-16 13:28:40 ebd01a8deffb5024a5d7494eef800d2366d97204"
<li>SHA1 for sqlite3.c: 6497cbbaad47220bd41e2e4216c54706e7ae95d4
</ul></p><a name="version_3_7_9"></a>
<h3>2011-11-01 (3.7.9)</h3><p><ul>
<li>If a search token (on the right-hand side of the MATCH operator) in
<a href="fts3.html#fts4">FTS4</a> begins with "^" then that token must be the first in its field
of the document. <b>** Potentially Incompatible Change **</b>
<li>Added options <a href="c3ref/c_dbstatus_options.html#sqlitedbstatuscachehit">SQLITE_DBSTATUS_CACHE_HIT</a> and <a href="c3ref/c_dbstatus_options.html#sqlitedbstatuscachemiss">SQLITE_DBSTATUS_CACHE_MISS</a>
to the <a href="c3ref/db_status.html">sqlite3_db_status()</a> interface.
<li>Removed support for <a href="compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a>, replacing it with the much
more capable <a href="compile.html#enable_stat3">SQLITE_ENABLE_STAT3</a> option.
<li>Enhancements to the sqlite3_analyzer utility program, including the
--pageinfo and --stats options and support for multiplexed databases.
<li>Enhance the <a href="c3ref/data_count.html">sqlite3_data_count()</a> interface so that it can be used to
determine if SQLITE_DONE has been seen on the prepared statement.
<li>Added the <a href="c3ref/c_fcntl_busyhandler.html#sqlitefcntloverwrite">SQLITE_FCNTL_OVERWRITE</a> file-control by which the SQLite core
indicates to the VFS that the current transaction will overwrite the
entire database file.
<li>Increase the default <a href="malloc.html#lookaside">lookaside memory allocator</a> allocation size from
100 to 128 bytes.
<li>Enhanced the query planner so that it can factor terms in and out of
OR expressions in the WHERE clause in an effort to find better indices.
<li>Added the <a href="compile.html#direct_overflow_read">SQLITE_DIRECT_OVERFLOW_READ</a> compile-time option, causing
<a href="fileformat2.html#ovflpgs">overflow pages</a> to be read directly from the database file,
bypassing the <a href="c3ref/pcache_methods2.html">page cache</a>.
<li>Remove limits on the magnitude of precision and width value in the
format specifiers of the <a href="c3ref/mprintf.html">sqlite3_mprintf()</a> family of string rendering
routines.
<li>Fix a bug that prevent <a href="lang_altertable.html">ALTER TABLE ... RENAME</a> from working
on some virtual tables in a database with a UTF16 encoding.
<li>Fix a bug in ASCII-to-float conversion that causes slow performance and
incorrect results when converting numbers with ridiculously large exponents.
<li>Fix a bug that causes incorrect results in aggregate queries that use
multiple aggregate functions whose arguments contain complicated expressions
that differ only in the case of string literals contained within those
expressions.
<li>Fix a bug that prevented the <a href="pragma.html#pragma_page_count">page_count</a> and <a href="pragma.html#pragma_quick_check">quick_check</a> pragmas from
working correctly if their names were capitalized.
<li>Fix a bug that caused <a href="lang_vacuum.html">VACUUM</a> to fail if the <a href="pragma.html#pragma_count_changes">count_changes pragma</a> was
engaged.
<li>Fix a bug in <a href="vtab.html">virtual table</a> implementation that causes a crash if
an <a href="fts3.html#fts4">FTS4</a> table is <a href="lang_droptable.html">dropped</a> inside a transaction and
a <a href="lang_savepoint.html">SAVEPOINT</a> occurs afterwards.
<li>SQLITE_SOURCE_ID:
"2011-11-01 00:52:41 c7c6050ef060877ebe77b41d959e9df13f8c9b5e"
<li>SHA1 for sqlite3.c: becd16877f4f9b281b91c97e106089497d71bb47
</ul></p><a name="version_3_7_8"></a>
<h3>2011-09-19 (3.7.8)</h3><p><ul>
<li> Orders of magnitude performance improvement for <a href="lang_createindex.html">CREATE INDEX</a> on
very large tables.
<li> Improved the windows VFS to better defend against interference
from anti-virus software.
<li> Improved query plan optimization when the DISTINCT keyword is present.
<li> Allow more system calls to be overridden in the unix VFS - to provide
better support for chromium sandboxes.
<li> Increase the default size of a lookahead cache line from 100 to 128 bytes.
<li> Enhancements to the test_quota.c module so that it can track
preexisting files.
<li> Bug fix: Virtual tables now handle IS NOT NULL constraints correctly.
<li> Bug fixes: Correctly handle nested correlated subqueries used with
indices in a WHERE clause.
<li> SQLITE_SOURCE_ID:
"2011-09-19 14:49:19 3e0da808d2f5b4d12046e05980ca04578f581177"
<li> SHA1 for sqlite3.c: bfcd74a655636b592c5dba6d0d5729c0f8e3b4de
</ul></p><a name="version_3_7_7_1"></a>
<h3>2011-06-28 (3.7.7.1)</h3><p><ul>
<li> Fix <a href="http://www.sqlite.org/src/info/25ee812710">a bug</a> causing
<a href="pragma.html#pragma_case_sensitive_like">PRAGMA case_sensitive_like</a> statements compiled using sqlite3_prepare()
to fail with an <a href="rescode.html#schema">SQLITE_SCHEMA</a> error.
<li> SQLITE_SOURCE_ID:
"2011-06-28 17:39:05 af0d91adf497f5f36ec3813f04235a6e195a605f"
<li> SHA1 for sqlite3.c: d47594b8a02f6cf58e91fb673e96cb1b397aace0
</ul></p><a name="version_3_7_7"></a>
<h3>2011-06-24 (3.7.7)</h3><p><ul>
<li> Add support for <a href="uri.html">URI filenames</a>
<li> Add the <a href="c3ref/vtab_config.html">sqlite3_vtab_config()</a> interface in
support of <a href="lang_conflict.html">ON CONFLICT</a> clauses with <a href="vtab.html">virtual tables</a>.
<li> Add the <a href="vtab.html#xsavepoint">xSavepoint</a>, <a href="vtab.html#xsavepoint">xRelease</a> and <a href="vtab.html#xsavepoint">xRollbackTo</a> methods in
<a href="vtab.html">virtual tables</a> in support of <a href="lang_savepoint.html">SAVEPOINT</a> for virtual tables.
<li> Update the built-in <a href="fts3.html">FTS3/FTS4</a> and <a href="rtree.html">RTREE</a> virtual tables to support
<a href="lang_conflict.html">ON CONFLICT</a> clauses and <a href="lang_replace.html">REPLACE</a>.
<li> Avoid unnecessary reparsing of the database schema.
<li> Added support for the <a href="fts3.html#fts4prefix">FTS4 prefix option</a> and the <a href="fts3.html#fts4order">FTS4 order option</a>.
<li> Allow <a href="wal.html">WAL-mode</a> databases to be opened read-only as long as
there is an existing read/write connection.
<li> Added support for <a href="shortnames.html">short filenames</a>.
<li> SQLITE_SOURCE_ID:
"2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2"
<li> SHA1 for sqlite3.c: 5bbe79e206ae5ffeeca760dbd0d66862228db551
</ul></p><a name="version_3_7_6_3"></a>
<h3>2011-05-19 (3.7.6.3)</h3><p><ul>
<li> Fix a problem with <a href="wal.html">WAL mode</a> which could cause transactions to
silently rollback 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.
</ul></p><a name="version_3_7_6_2"></a>
<h3>2011-04-17 (3.7.6.2)</h3><p><ul>
<li> Fix the function prototype for the open(2) system call to agree with
POSIX. Without this fix, pthreads does not work correctly on NetBSD.
<li> SQLITE_SOURCE_ID:
"2011-04-17 17:25:17 154ddbc17120be2915eb03edc52af1225eb7cb5e"
<li> SHA1 for sqlite3.c: 806577fd524dd5f3bfd8d4d27392ed2752bc9701
</ul></p><a name="version_3_7_6_1"></a>
<h3>2011-04-14 (3.7.6.1)</h3><p><ul>
<li> Fix a bug in 3.7.6 that only appears if the <a href="c3ref/c_fcntl_busyhandler.html#sqlitefcntlsizehint">SQLITE_FCNTL_SIZE_HINT</a>
file control is used with a build of SQLite that makes use of the
HAVE_POSIX_FALLOCATE compile-time option and which has
SQLITE_ENABLE_LOCKING_MODE turned off.
<li> SQLITE_SOURCE_ID:
"2011-04-13 14:40:25 a35e83eac7b185f4d363d7fa51677f2fdfa27695"
<li> SHA1 for sqlite3.c: b81bfa27d3e09caf3251475863b1ce6dd9f6ab66
</ul></p><a name="version_3_7_6"></a>
<h3>2011-04-12 (3.7.6)</h3><p><ul>
<li> Added the <a href="c3ref/wal_checkpoint_v2.html">sqlite3_wal_checkpoint_v2()</a> interface and enhanced the
<a href="pragma.html#pragma_wal_checkpoint">wal_checkpoint pragma</a> to support blocking checkpoints.
<li> Improvements to the query planner so that it makes better estimates of
plan costs and hence does a better job of choosing the right plan,
especially when <a href="compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a> is used.
<li> Fix a bug which prevented deferred foreign key constraints from being
enforced when <a href="c3ref/finalize.html">sqlite3_finalize()</a> was not
called by one statement with a failed foreign key constraint prior to
another statement with foreign key constraints running.
<li> Integer arithmetic operations that would have resulted in overflow
are now performed using floating-point instead.
<li> Increased the version number on the <a href="c3ref/vfs.html">VFS object</a> to
3 and added new methods xSetSysCall, xGetSysCall, and xNextSysCall
used for doing full-coverage testing.
<li> Increase the maximum value of <a href="limits.html#max_attached">SQLITE_MAX_ATTACHED</a> from 30 to 62
(though the default value remains at 10).
<li> Enhancements to FTS4:
<ol type="a">
<li> Added the <a href="fts3.html#fts4aux">fts4aux</a> table
<li> Added support for <a href="fts3.html#*fts4compression">compressed FTS4 content</a>
</ol>
<li> Enhance the <a href="lang_analyze.html">ANALYZE</a> command to support the name of an index
as its argument, in order to analyze just that one index.
<li> Added the "unix-excl" built-in VFS on unix and unix-like platforms.
<li> SQLITE_SOURCE_ID:
"2011-04-12 01:58:40 f9d43fa363d54beab6f45db005abac0a7c0c47a7"
<li> SHA1 for sqlite3.c: f38df08547efae0ff4343da607b723f588bbd66b
</ul></p><a name="version_3_7_5"></a>
<h3>2011-02-01 (3.7.5)</h3><p><ul>
<li> Added the <a href="c3ref/mprintf.html">sqlite3_vsnprintf()</a> interface.
<li> Added the <a href="c3ref/c_dbstatus_options.html#sqlitedbstatuslookasidehit">SQLITE_DBSTATUS_LOOKASIDE_HIT</a>,
<a href="c3ref/c_dbstatus_options.html#sqlitedbstatuslookasidemisssize">SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE</a>, and
<a href="c3ref/c_dbstatus_options.html#sqlitedbstatuslookasidemissfull">SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL</a> options for the
<a href="c3ref/db_status.html">sqlite3_db_status()</a> interface.
<li> Added the <a href="compile.html#omit_autoreset">SQLITE_OMIT_AUTORESET</a> compile-time option.
<li> Added the <a href="compile.html#default_foreign_keys">SQLITE_DEFAULT_FOREIGN_KEYS</a> compile-time option.
<li> Updates to <a href="c3ref/stmt_readonly.html">sqlite3_stmt_readonly()</a> so that its result is well-defined
for all prepared statements and so that it works with <a href="lang_vacuum.html">VACUUM</a>.
<li> Added the "-heap" option to the <a href="cli.html">command-line shell</a>
<li> Fix <a href="http://www.sqlite.org/src/info/5d863f876e">a bug</a> involving
frequent changes in and out of WAL mode and
VACUUM that could (in theory) cause database corruption.
<li> Enhance the <a href="c3ref/profile.html">sqlite3_trace()</a> mechanism so that nested SQL statements
such as might be generated by virtual tables are shown but are shown
in comments and without parameter expansion. This
greatly improves tracing output when using the FTS3/4 and/or RTREE
virtual tables.
<li> Change the xFileControl() methods on all built-in VFSes to return
<a href="rescode.html#notfound">SQLITE_NOTFOUND</a> instead of <a href="rescode.html#error">SQLITE_ERROR</a> for an unrecognized
operation code.
<li> The SQLite core invokes the <a href="c3ref/c_fcntl_busyhandler.html#sqlitefcntlsyncomitted">SQLITE_FCNTL_SYNC_OMITTED</a>
<a href="c3ref/file_control.html">file control</a>
to the VFS in place of a call to xSync if the database has
<a href="pragma.html#pragma_synchronous">PRAGMA synchronous</a> set to OFF.
</ul></p><a name="version_3_7_4"></a>
<h3>2010-12-08 (3.7.4)</h3><p><ul>
<li> Added the <a href="c3ref/blob_reopen.html">sqlite3_blob_reopen()</a> interface to allow an existing
<a href="c3ref/blob.html">sqlite3_blob</a> object to be rebound to a new row.
<li> Use the new <a href="c3ref/blob_reopen.html">sqlite3_blob_reopen()</a> interface to improve the performance
of FTS.
<li> <a href="c3ref/vfs.html">VFSes</a> that do not support shared memory are allowed
to access <a href="wal.html">WAL</a> databases if <a href="pragma.html#pragma_locking_mode">PRAGMA locking_mode</a> is set to EXCLUSIVE.
<li> Enhancements to <a href="eqp.html">EXPLAIN QUERY PLAN</a>.
<li> Added the <a href="c3ref/stmt_readonly.html">sqlite3_stmt_readonly()</a> interface.
<li> Added <a href="pragma.html#pragma_checkpoint_fullfsync">PRAGMA checkpoint_fullfsync</a>.
<li> Added the <a href="c3ref/c_fcntl_busyhandler.html#sqlitefcntlfilepointer">SQLITE_FCNTL_FILE_POINTER</a> option
to <a href="c3ref/file_control.html">sqlite3_file_control()</a>.
<li> Added support for <a href="fts3.html#fts4">FTS4</a> and enhancements
to the FTS <a href="fts3.html#matchinfo">matchinfo()</a> function.
<li> Added the test_superlock.c module which provides example
code for obtaining an exclusive lock to a rollback
or WAL database.
<li> Added the test_multiplex.c module which provides
an example VFS that provides multiplexing (sharding)
of a DB, splitting it over multiple files of fixed size.
<li> A <a href="http://www.sqlite.org/src/info/80ba201079">very obscure bug</a>
associated with the <a href="optoverview.html#or_opt">or optimization</a> was fixed.
</ul></p><a name="version_3_7_3"></a>
<h3>2010-10-08 (3.7.3)</h3><p><ul>
<li> Added the <a href="c3ref/create_function.html">sqlite3_create_function_v2()</a> interface that includes a
destructor callback.
<li> Added support for <a href="rtree.html#customquery">custom r-tree queries</a> using application-supplied
callback routines to define the boundary of the query region.
<li> The default page cache strives more diligently to avoid using memory
beyond what is allocated to it by <a href="c3ref/c_config_covering_index_scan.html#sqliteconfigpagecache">SQLITE_CONFIG_PAGECACHE</a>. Or if
using page cache is allocating from the heap, it strives to avoid
going over the <a href="c3ref/soft_heap_limit64.html">sqlite3_soft_heap_limit64()</a>, even if
<a href="compile.html#enable_memory_management">SQLITE_ENABLE_MEMORY_MANAGEMENT</a> is not set.
<li> Added the <a href="c3ref/soft_heap_limit64.html">sqlite3_soft_heap_limit64()</a> interface as a replacement for
<a href="c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit()</a>.
<li> The <a href="lang_analyze.html">ANALYZE</a> command now gathers statistics on tables even if they
have no indices.
<li> Tweaks to the query planner to help it do a better job of finding the
most efficient query plan for each query.
<li> Enhanced the internal text-to-numeric conversion routines so that they
work with UTF8 or UTF16, thereby avoiding some UTF16-to-UTF8 text
conversions.
<li> Fix a problem that was causing excess memory usage with large <a href="wal.html">WAL</a>
transactions in win32 systems.
<li> The interface between the VDBE and B-Tree layer is enhanced such that
the VDBE provides hints to the B-Tree layer letting the B-Tree layer
know when it is safe to use hashing instead of B-Trees for transient
tables.
<li> Miscellaneous documentation enhancements.
</ul></p><a name="version_3_7_2"></a>
<h3>2010-08-24 (3.7.2)</h3><p><ul>
<li> Fix an <a href="http://www.sqlite.org/src/info/5e10420e8d">
old and very obscure bug</a> that can lead to corruption of the
database <a href="fileformat2.html#freelist">free-page list</a> when <a href="pragma.html#pragma_incremental_vacuum">incremental_vacuum</a> is used.
</ul></p><a name="version_3_7_1"></a>
<h3>2010-08-23 (3.7.1)</h3><p><ul>
<li> Added new commands <a href="c3ref/c_dbstatus_options.html#sqlitedbstatusschemaused">SQLITE_DBSTATUS_SCHEMA_USED</a> and
<a href="c3ref/c_dbstatus_options.html#sqlitedbstatusstmtused">SQLITE_DBSTATUS_STMT_USED</a> to the <a href="c3ref/db_status.html">sqlite3_db_status()</a> interface, in
order to report out the amount of memory used to hold the schema and
prepared statements of a connection.
<li> Increase the maximum size of a database pages from 32KiB to 64KiB.
<li> Use the <a href="optoverview.html#like_opt">LIKE optimization</a> even if the right-hand side string contains
no wildcards.
<li> Added the <a href="c3ref/c_fcntl_busyhandler.html#sqlitefcntlchunksize">SQLITE_FCNTL_CHUNK_SIZE</a> verb to the <a href="c3ref/file_control.html">sqlite3_file_control()</a>
interface for both unix and windows, to cause database files to grow in
large chunks in order to reduce disk fragmentation.
<li> Fixed a bug in the query planner that caused performance regressions
relative to 3.6.23.1 on some complex joins.
<li> Fixed a typo in the OS/2 backend.
<li> Refactored the pager module.
<li> The SQLITE_MAX_PAGE_SIZE compile-time option is now silently ignored.
The maximum page size is hard-coded at 65536 bytes.
</ul></p><a name="version_3_7_0_1"></a>
<h3>2010-08-04 (3.7.0.1)</h3><p><ul>
<li> Fix a potential database corruption bug that can occur if version 3.7.0
and version 3.6.23.1 alternately write to the same database file.
<a href="http://www.sqlite.org/src/info/51ae9cad317a1">
Ticket [51ae9cad317a1]</a>
<li> Fix a performance regression related to the query planner enhancements
of version 3.7.0.
</ul></p><a name="version_3_7_0"></a>
<h3>2010-07-22 (3.7.0)</h3><p><ul>
<li> Added support for <a href="wal.html">write-ahead logging</a>.
<li> Query planner enhancement - automatic transient indices are created
when doing so reduces the estimated query time.
<li> Query planner enhancement - the ORDER BY becomes a no-op if the query
also contains a GROUP BY clause that forces the correct output order.
<li> Add the <a href="c3ref/c_dbstatus_options.html#sqlitedbstatuscacheused">SQLITE_DBSTATUS_CACHE_USED</a> verb for <a href="c3ref/db_status.html">sqlite3_db_status()</a>.
<li> The logical database size is now stored in the database header so that
bytes can be appended to the end of the database file without corrupting
it and so that SQLite will work correctly on systems that lack support
for ftruncate().
</ul></p><a name="version_3_6_23_1"></a>
<h3>2010-03-30 (3.6.23.1)</h3><p><ul>
<li> Fix a bug in the offsets() function of <a href="fts3.html">FTS3</a>
<li> Fix a missing "sync" that when omitted could lead to database
corruption if a power failure or OS crash occurred just as a
ROLLBACK operation was finishing.
</ul></p><a name="version_3_6_23"></a>
<h3>2010-03-09 (3.6.23)</h3><p><ul>
<li> Added the <a href="pragma.html#pragma_secure_delete">secure_delete pragma</a>.
<li> Added the <a href="c3ref/compileoption_get.html">sqlite3_compileoption_used()</a> and
<a href="c3ref/compileoption_get.html">sqlite3_compileoption_get()</a> interfaces as well as the
<a href="pragma.html#pragma_compile_options">compile_options pragma</a> and the <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> SQL functions.
<li> Added the <a href="c3ref/log.html">sqlite3_log()</a> interface together with the
<a href="c3ref/c_config_covering_index_scan.html#sqliteconfiglog">SQLITE_CONFIG_LOG</a> verb to <a href="c3ref/config.html">sqlite3_config()</a>. The ".log" command
is added to the <a href="cli.html">Command Line Interface</a>.
<li> Improvements to <a href="fts3.html">FTS3</a>.
<li> Improvements and bug-fixes in support for <a href="compile.html#omit_floating_point">SQLITE_OMIT_FLOATING_POINT</a>.
<li> The <a href="pragma.html#pragma_integrity_check">integrity_check pragma</a> is enhanced to detect out-of-order rowids.
<li> The ".genfkey" operator has been removed from the
<a href="cli.html">Command Line Interface</a>.
<li> Updates to the co-hosted Lemon LALR(1) parser generator. (These
updates did not affect SQLite.)
<li> Various minor bug fixes and performance enhancements.
</ul></p><a name="version_3_6_22"></a>
<h3>2010-01-06 (3.6.22)</h3><p><ul>
<li>Fix bugs that can (rarely) lead to incorrect query results when
the CAST or OR operators are used in the WHERE clause of a query.
<li>Continuing enhancements and improvements to <a href="fts3.html">FTS3</a>.
<li>Other miscellaneous bug fixes.
</ul></p><a name="version_3_6_21"></a>
<h3>2009-12-07 (3.6.21)</h3><p><ul>
<li>The SQL output resulting from <a href="c3ref/profile.html">sqlite3_trace()</a> is now modified to include
the values of <a href="lang_expr.html#varparam">bound parameters</a>.
<li>Performance optimizations targeting a specific use case from
a single high-profile user of SQLite. A 12% reduction in the number of
CPU operations is achieved (as measured by Valgrind). Actual performance
improvements in practice may vary depending on workload. Changes
include:
<ul>
<li>The <a href="lang_corefunc.html#ifnull">ifnull()</a> and <a href="lang_corefunc.html#coalesce">coalesce()</a> SQL functions are now implemented
using in-line VDBE code rather than calling external functions, so that
unused arguments need never be evaluated.
<li>The <a href="lang_corefunc.html#substr">substr()</a> SQL function does not bother to measure the length
its entire input string if it is only computing a prefix
<li>Unnecessary OP_IsNull, OP_Affinity, and OP_MustBeInt VDBE opcodes
are suppressed
<li>Various code refactorizations for performance
</ul>
<li>The FTS3 extension has undergone a major rework and cleanup.
New <a href="fts3.html">FTS3 documentation</a> is now available.
<li>The <a href="compile.html#secure_delete">SQLITE_SECURE_DELETE</a> compile-time option fixed to make sure that
content is deleted even when the <a href="lang_delete.html#truncateopt">truncate optimization</a> applies.
<li>Improvements to "dot-command" handling in the
<a href="cli.html">Command Line Interface</a>.
<li>Other minor bug fixes and documentation enhancements.
</ul></p><a name="version_3_6_20"></a>
<h3>2009-11-04 (3.6.20)</h3><p><ul>
<li>Optimizer enhancement: <a href="c3ref/stmt.html">prepared statements</a> are automatically
re-compiled when a binding on the RHS of a LIKE operator changes or
when any range constraint changes under <a href="compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a>.
<li>Various minor bug fixes and documentation enhancements.
</ul></p><a name="version_3_6_16_1"></a>
<h3>2009-10-30 (3.6.16.1)</h3><p><ul>
<li>A small patch to version 3.6.16 to fix
<a href="http://www.sqlite.org/src/info/6b00e0a34c">the OP_If bug</a>.
</ul></p><a name="version_3_6_19"></a>
<h3>2009-10-14 (3.6.19)</h3><p><ul>
<li>Added support for <a href="foreignkeys.html">foreign key constraints</a>. Foreign key constraints
are disabled by default. Use the <a href="pragma.html#pragma_foreign_keys">foreign_keys pragma</a> to turn them on.
<li>Generalized the IS and IS NOT operators to take arbitrary expressions
on their right-hand side.
<li>The <a href="tclsqlite.html">TCL Interface</a> has been enhanced to use the
<a href="http://www.tcl.tk/cgi-bin/tct/tip/322.html">Non-Recursive Engine (NRE)</a>
interface to the TCL interpreter when linked against TCL 8.6 or later.
<li>Fix a bug introduced in 3.6.18 that can lead to a segfault when an
attempt is made to write on a read-only database.
</ul></p><a name="version_3_6_18"></a>
<h3>2009-09-11 (3.6.18)</h3><p><ul>
<li>Versioning of the SQLite source code has transitioned from CVS to
<a href="http://www.fossil-scm.org/">Fossil</a>.
<li>Query planner enhancements.
<li>The <a href="compile.html#enable_stat2">SQLITE_ENABLE_STAT2</a> compile-time option causes the <a href="lang_analyze.html">ANALYZE</a>
command to collect a small histogram of each index, to help SQLite better
select among competing range query indices.
<li>Recursive triggers can be enabled using the <a href="pragma.html#pragma_recursive_triggers">PRAGMA recursive_triggers</a>
statement.
<li>Delete triggers fire when rows are removed due to a
<a href="lang_conflict.html">REPLACE conflict resolution</a>. This feature is only
enabled when recursive triggers are enabled.
<li>Added the <a href="c3ref/c_open_autoproxy.html">SQLITE_OPEN_SHAREDCACHE</a> and <a href="c3ref/c_open_autoproxy.html">SQLITE_OPEN_PRIVATECACHE</a>
flags for <a href="c3ref/open.html">sqlite3_open_v2()</a> used to override the global
<a href="sharedcache.html">shared cache mode</a> settings for individual database connections.
<li>Added improved version identification features:
C-Preprocessor macro <a href="c3ref/c_source_id.html">SQLITE_SOURCE_ID</a>,
C/C++ interface <a href="c3ref/libversion.html">sqlite3_sourceid()</a>, and SQL function <a href="lang_corefunc.html#sqlite_source_id">sqlite_source_id()</a>.
<li>Obscure bug fix on triggers
(<a href="http://www.sqlite.org/src/info/efc02f9779">[efc02f9779]</a>).
</ul></p><a name="version_3_6_17"></a>
<h3>2009-08-10 (3.6.17)</h3><p><ul>
<li>Expose the <a href="c3ref/stricmp.html">sqlite3_strnicmp()</a> interface for use by extensions and
applications.
<li>Remove the restriction on <a href="vtab.html">virtual tables</a> and <a href="sharedcache.html">shared cache mode</a>.
Virtual tables and shared cache can now be used at the same time.
<li>Many code simplifications and obscure bug fixes in support of
providing <a href="testing.html#coverage">100% branch test coverage</a>.
</ul></p><a name="version_3_6_16"></a>
<h3>2009-06-27 (3.6.16)</h3><p><ul>
<li>Fix a bug (ticket #3929) that occasionally causes INSERT or UPDATE
operations to fail on an indexed table that has a self-modifying trigger.
<li>Other minor bug fixes and performance optimizations.
</ul></p><a name="version_3_6_15"></a>
<h3>2009-06-15 (3.6.15)</h3><p><ul>
<li>Refactor the internal representation of SQL expressions so that they
use less memory on embedded platforms.
<li>Reduce the amount of stack space used
<li>Fix an 64-bit alignment bug on HP/UX and Sparc
<li>The <a href="c3ref/create_function.html">sqlite3_create_function()</a> family of interfaces now return
<a href="rescode.html#misuse">SQLITE_MISUSE</a> instead of <a href="rescode.html#error">SQLITE_ERROR</a> when passed invalid
parameter combinations.
<li>When new tables are created using CREATE TABLE ... AS SELECT ... the
datatype of the columns is the simplified SQLite datatype (TEXT, INT,
REAL, NUMERIC, or BLOB) instead of a copy of the original datatype from
the source table.
<li>Resolve race conditions when checking for a hot rollback journal.
<li>The <a href="c3ref/initialize.html">sqlite3_shutdown()</a> interface frees all mutexes under windows.
<li>Enhanced robustness against corrupt database files
<li>Continuing improvements to the test suite and fixes to obscure
bugs and inconsistencies that the test suite improvements are
uncovering.
</ul></p><a name="version_3_6_14_2"></a>
<h3>2009-05-25 (3.6.14.2)</h3><p><ul>
<li>Fix a code generator bug introduced in <a href="#version_3_6_14">version 3.6.14</a>. This bug
can cause incorrect query results under obscure circumstances.
<a href="http://www.sqlite.org/cvstrac/tktview?tn=3879">Ticket #3879</a>.
</ul></p><a name="version_3_6_14_1"></a>
<h3>2009-05-19 (3.6.14.1)</h3><p><ul>
<li>Fix a bug in <a href="lang_aggfunc.html#groupconcat">group_concat()</a>, <a href="http://www.sqlite.org/cvstrac/tktview?tn=3841">ticket #3841</a>
<li>Fix a performance bug in the pager cache, <a href="http://www.sqlite.org/cvstrac/tktview?tn=3844">ticket #3844</a>
<li>Fix a bug in the <a href="c3ref/backup.html">sqlite3_backup</a> implementation that can lead
to a corrupt backup database. <a href="http://www.sqlite.org/cvstrac/tktview?tn=3858">Ticket #3858</a>.
</ul></p><a name="version_3_6_14"></a>
<h3>2009-05-07 (3.6.14)</h3><p><ul>
<li>Added the optional <a href="asyncvfs.html">asynchronous VFS</a> module.</li>
<li>Enhanced the query optimizer so that <a href="vtab.html">virtual tables</a> are able to
make use of OR and IN operators in the WHERE clause.</li>
<li>Speed improvements in the btree and pager layers.</li>
<li>Added the <a href="compile.html#have_isnan">SQLITE_HAVE_ISNAN</a> compile-time option which will cause
the isnan() function from the standard math library to be used instead
of SQLite's own home-brew NaN checker.</li>
<li>Countless minor bug fixes, documentation improvements, new and
improved test cases, and code simplifications and cleanups.</p>
</ul></p><a name="version_3_6_13"></a>
<h3>2009-04-13 (3.6.13)</h3><p><ul>
<li>Fix a bug in <a href="#version_3_6_12">version 3.6.12</a> that causes a segfault when running
a count(*) on the sqlite_master table of an empty database. Ticket #3774.
<li>Fix a bug in <a href="#version_3_6_12">version 3.6.12</a> that causes a segfault that when
inserting into a table using a DEFAULT value where there is a
function as part of the DEFAULT value expression. Ticket #3791.
<li>Fix data structure alignment issues on Sparc. Ticket #3777.
<li>Other minor bug fixes.
</ul></p><a name="version_3_6_12"></a>
<h3>2009-03-31 (3.6.12)</h3><p><ul>
<li>Fixed a bug that caused database corruption when an <a href="pragma.html#pragma_incremental_vacuum">incremental_vacuum</a> is
rolled back in an in-memory database. Ticket #3761.
<li>Added the <a href="c3ref/unlock_notify.html">sqlite3_unlock_notify()</a> interface.
<li>Added the <a href="pragma.html#pragma_reverse_unordered_selects">reverse_unordered_selects pragma</a>.
<li>The default page size on windows is automatically adjusted to match the
capabilities of the underlying filesystem.
<li>Add the new ".genfkey" command in the <a href="cli.html">CLI</a> for generating triggers to
implement foreign key constraints.
<li>Performance improvements for "count(*)" queries.
<li>Reduce the amount of heap memory used, especially by TRIGGERs.
<li>
</ul></p><a name="version_3_6_11"></a>
<h3>2009-02-18 (3.6.11)</h3><p><ul>
<li>Added the <a href="c3ref/backup_finish.html#sqlite3backupinit">hot-backup interface</a>.
<li>Added new commands ".backup" and ".restore" to the <a href="cli.html">CLI</a>.
<li>Added new methods <a href="tclsqlite.html#backup">backup</a> and
<a href="tclsqlite.html#restore">restore</a> to the TCL interface.
<li>Improvements to the <a href="syntaxdiagrams.html">syntax bubble
diagrams</a>
<li>Various minor bug fixes
</ul></p><a name="version_3_6_10"></a>
<h3>2009-01-15 (3.6.10)</h3><p><ul>
<li>Fix a cache coherency problem that could lead to database corruption.
<a href="http://www.sqlite.org/cvstrac/tktview?tn=3584">Ticket #3584</a>.
</ul></p><a name="version_3_6_9"></a>
<h3>2009-01-14 (3.6.9)</h3><p><ul>
<li>Fix two bugs, which when combined might result in incorrect
query results. Both bugs were harmless by themselves; only when
they team up do they cause problems. <a href="http://www.sqlite.org/cvstrac/tktview?tn=3581">Ticket #3581</a>.
</ul></p><a name="version_3_6_8"></a>
<h3>2009-01-12 (3.6.8)</h3><p><ul>
<li>Added support for <a href="lang_savepoint.html">nested transactions</a></li>
<li>Enhanced the query optimizer so that it is able to use
multiple indices to efficiently process
<a href="optoverview.html#or_opt">OR-connected constraints</a>
in a WHERE clause.</li>
<li>Added support for parentheses in FTS3 query patterns using the
<a href="compile.html#enable_fts3_parenthesis">SQLITE_ENABLE_FTS3_PARENTHESIS</a> compile-time option.</li>
</ul></p><a name="version_3_6_7"></a>
<h3>2008-12-16 (3.6.7)</h3><p><ul>
<li>Reorganize the Unix interface in os_unix.c</li>
<li>Added support for "Proxy Locking" on Mac OS X.</li>
<li>Changed the prototype of the <a href="c3ref/auto_extension.html">sqlite3_auto_extension()</a> interface in a
way that is backwards compatible but which might cause warnings in new
builds of applications that use that interface.</li>
<li>Changed the signature of the xDlSym method of the <a href="c3ref/vfs.html">sqlite3_vfs</a> object
in a way that is backwards compatible but which might cause
compiler warnings.</li>
<li>Added superfluous casts and variable initializations in order
to suppress nuisance compiler warnings.</li>
<li>Fixes for various minor bugs.</li>
</ul></p><a name="version_3_6_6_2"></a>
<h3>2008-11-26 (3.6.6.2)</h3><p><ul>
<li>Fix a bug in the b-tree delete algorithm that seems like it might be
able to cause database corruption. The bug was first introduced in
<a href="#version_3_6_6">version 3.6.6</a> by check-in [5899] on 2008-11-13.</li>
<li>Fix a memory leak that can occur following a disk I/O error.</li>
</ul></p><a name="version_3_6_6_1"></a>
<h3>2008-11-22 (3.6.6.1)</h3><p><ul>
<li>Fix a bug in the page cache that can lead database corruption following
a rollback. This bug was first introduced in <a href="#version_3_6_4">version 3.6.4</a>.</li>
<li>Two other very minor bug fixes</li>
</ul></p><a name="version_3_6_6"></a>
<h3>2008-11-19 (3.6.6)</h3><p><ul>
<li>Fix a #define that prevented <a href="malloc.html#memsys5">memsys5</a> from compiling</li>
<li>Fix a problem in the virtual table commit mechanism that was causing
a crash in FTS3. <a href="http://www.sqlite.org/cvstrac/tktview?tn=3497">Ticket #3497</a>.</li>
<li>Add the <a href="c3ref/pcache_methods2.html">application-defined page cache</a></li>
<li>Added built-in support for VxWorks</li>
</ul></p><a name="version_3_6_5"></a>
<h3>2008-11-12 (3.6.5)</h3><p><ul>
<li>Add the MEMORY option to the <a href="pragma.html#pragma_journal_mode">journal_mode pragma</a>.</li>
<li>Added the <a href="c3ref/db_mutex.html">sqlite3_db_mutex()</a> interface.</li>
<li>Added the <a href="compile.html#omit_truncate_optimization">SQLITE_OMIT_TRUNCATE_OPTIMIZATION</a> compile-time option.</li>
<li>Fixed the <a href="lang_delete.html#truncateopt">truncate optimization</a> so that <a href="c3ref/changes.html">sqlite3_changes()</a> and
<a href="c3ref/total_changes.html">sqlite3_total_changes()</a> interfaces and the <a href="pragma.html#pragma_count_changes">count_changes pragma</a>
return the correct values.</li>
<li>Added the <a href="c3ref/errcode.html">sqlite3_extended_errcode()</a> interface.</li>
<li>The <a href="lang_transaction.html">COMMIT</a> command now succeeds even if there are pending queries.
It returns <a href="rescode.html#busy">SQLITE_BUSY</a> if there are pending incremental BLOB I/O requests.
<li>The error code is changed to <a href="rescode.html#busy">SQLITE_BUSY</a> (instead of <a href="rescode.html#error">SQLITE_ERROR</a>)
when an attempt is made to <a href="lang_transaction.html">ROLLBACK</a> while one or more queries are
still pending.</li>
<li>Drop all support for the <a href="malloc.html#memsysx">experimental memory allocators</a> memsys4 and
memsys6.</li>
<li>Added the <a href="compile.html#zero_malloc">SQLITE_ZERO_MALLOC</a> compile-time option.</li>
</ul></p><a name="version_3_6_4"></a>
<h3>2008-10-15 (3.6.4)</h3><p><ul>
<li>Add option support for LIMIT and ORDER BY clauses on <a href="lang_delete.html">DELETE</a> and
<a href="lang_update.html">UPDATE</a> statements. Only works if SQLite is compiled with
<a href="compile.html#enable_update_delete_limit">SQLITE_ENABLE_UPDATE_DELETE_LIMIT</a>.
<li>Added the <a href="c3ref/stmt_status.html">sqlite3_stmt_status()</a> interface for performance monitoring.</li>
<li>Add the <a href="lang_indexedby.html">INDEXED BY</a> clause.</li>
<li>The LOCKING_STYLE extension is now enabled by default on Mac OS X</li>
<li>Added the TRUNCATE option to <a href="pragma.html#pragma_journal_mode">PRAGMA journal_mode</a></li>
<li>Performance enhancements to tree balancing logic in the B-Tree layer.</li>
<li>Added the
<a href="http://www.sqlite.org/src/finfo?name=tool/genfkey.c">
source code</a> and
<a href="http://www.sqlite.org/src/finfo?name=tool/genfkey.README">
documentation</a> for the <b>genfkey</b> program for automatically generating
triggers to enforce foreign key constraints.</li>
<li>Added the <a href="compile.html#omit_truncate_optimization">SQLITE_OMIT_TRUNCATE_OPTIMIZATION</a> compile-time option.</li>
<li>The <a href="lang.html">SQL language documentation</a> is converted to use
<a href="syntaxdiagrams.html">syntax diagrams</a> instead of BNF.</li>
<li>Other minor bug fixes</li>
</ul></p><a name="version_3_6_3"></a>
<h3>2008-09-22 (3.6.3)</h3><p><ul>
<li>Fix for a bug in the SELECT DISTINCT logic that was introduced by the
prior version.</li>
<li>Other minor bug fixes</li>
</ul></p><a name="version_3_6_2"></a>
<h3>2008-08-30 (3.6.2)</h3><p><ul>
<li>Split the pager subsystem into separate pager and pcache subsystems.</li>
<li>Factor out identifier resolution procedures into separate files.</li>
<li>Bug fixes</li>
</ul></p><a name="version_3_6_1"></a>
<h3>2008-08-06 (3.6.1)</h3><p><ul>
<li>Added the <a href="malloc.html#lookaside">lookaside memory allocator</a> for a speed improvement in excess
of 15% on some workloads. (Your mileage may vary.)</li>
<li>Added the <a href="c3ref/c_config_covering_index_scan.html#sqliteconfiglookaside">SQLITE_CONFIG_LOOKASIDE</a> verb to <a href="c3ref/config.html">sqlite3_config()</a> to control
the default lookaside configuration.</li>
<li>Added verbs <a href="c3ref/c_status_malloc_count.html#sqlitestatuspagecachesize">SQLITE_STATUS_PAGECACHE_SIZE</a> and
<a href="c3ref/c_status_malloc_count.html#sqlitestatusscratchsize">SQLITE_STATUS_SCRATCH_SIZE</a> to the <a href="c3ref/status.html">sqlite3_status()</a> interface.
<li>Modified <a href="c3ref/c_config_covering_index_scan.html#sqliteconfigpagecache">SQLITE_CONFIG_PAGECACHE</a> and <a href="c3ref/c_config_covering_index_scan.html#sqliteconfigscratch">SQLITE_CONFIG_SCRATCH</a> to remove
the "+4" magic number in the buffer size computation.
<li>Added the <a href="c3ref/db_config.html">sqlite3_db_config()</a> and <a href="c3ref/db_status.html">sqlite3_db_status()</a> interfaces for
controlling and monitoring the lookaside allocator separately on each
<a href="c3ref/sqlite3.html">database connection</a>.</li>
<li>Numerous other performance enhancements</li>
<li>Miscellaneous minor bug fixes</li>
</ul></p><h3>2008-07-16 (3.6.0 beta)</h3><p><ul>
<li>Modifications to the <a href="c3ref/vfs.html">virtual file system</a> interface
to support a wider range of embedded systems.
See <a href="35to36.html">35to36.html</a> for additional information.
<font color="red">*** Potentially incompatible change ***</font></li>
<li>All C-preprocessor macros used to control compile-time options
now begin with the prefix "SQLITE_". This may require changes to
applications that compile SQLite using their own makefiles and with
custom compile-time options, hence we mark this as a
<font color="red">*** Potentially incompatible change ***</font></li>
<li>The SQLITE_MUTEX_APPDEF compile-time option is no longer supported.
Alternative mutex implementations can now be added at run-time using
the <a href="c3ref/config.html">sqlite3_config()</a> interface with the <a href="c3ref/c_config_covering_index_scan.html#sqliteconfigmutex">SQLITE_CONFIG_MUTEX</a> verb.
<font color="red">*** Potentially incompatible change ***</font></li>
<li>The handling of IN and NOT IN operators that contain a NULL on their
right-hand side expression is brought into compliance with the SQL
standard and with other SQL database engines. This is a bug fix,
but as it has the potential to break legacy applications that depend
on the older buggy behavior, we mark that as a
<font color="red">*** Potentially incompatible change ***</font></li>
<li>The result column names generated for compound subqueries have been
simplified to show only the name of the column of the original table and
omit the table name. This makes SQLite operate more like other SQL
database engines.</li>
<li>Added the <a href="c3ref/config.html">sqlite3_config()</a> interface for doing run-time configuration
of the entire SQLite library.</li>
<li>Added the <a href="c3ref/status.html">sqlite3_status()</a> interface used for querying run-time status
information about the overall SQLite library and its subsystems.</li>
<li>Added the <a href="c3ref/initialize.html">sqlite3_initialize()</a> and <a href="c3ref/initialize.html">sqlite3_shutdown()</a> interfaces.</li>
<li>The <a href="c3ref/c_open_autoproxy.html">SQLITE_OPEN_NOMUTEX</a> option was added to <a href="c3ref/open.html">sqlite3_open_v2()</a>.</li>
<li>Added the <a href="pragma.html#pragma_page_count">PRAGMA page_count</a> command.</li>
<li>Added the <a href="c3ref/next_stmt.html">sqlite3_next_stmt()</a> interface.</li>
<li>Added a new <a href="rtree.html">R*Tree virtual table</a></li>
</ul></p><a name="version_3_5_9"></a>
<h3>2008-05-14 (3.5.9)</h3><p><ul>
<li>Added <em>experimental</em>
support for the <a href="pragma.html#pragma_journal_mode">journal_mode</a> PRAGMA and persistent journal.</li>
<li><a href="pragma.html#pragma_journal_mode">Journal mode PERSIST</a> is the default behavior in
<a href="pragma.html#pragma_locking_mode">exclusive locking mode</a>.</li>
<li>Fix a performance regression on LEFT JOIN (see <a href="http://www.sqlite.org/cvstrac/tktview?tn=3015">ticket #3015</a>)
that was mistakenly introduced in <a href="#version_3_5_8">version 3.5.8</a>.</li>
<li>Performance enhancement: Reengineer the internal routines used
to interpret and render variable-length integers.</li>
<li>Fix a buffer-overrun problem in <a href="c3ref/mprintf.html">sqlite3_mprintf()</a> which occurs
when a string without a zero-terminator is passed to "%.*s".</li>
<li>Always convert IEEE floating point NaN values into NULL during
processing. (<a href="http://www.sqlite.org/cvstrac/tktview?tn=3060">Ticket #3060</a>)</li>
<li>Make sure that when a connection blocks on a RESERVED lock that
it is able to continue after the lock is released. (<a href="http://www.sqlite.org/cvstrac/tktview?tn=3093">Ticket #3093</a>)</li>
<li>The "configure" scripts should now automatically configure Unix
systems for large file support. Improved error messages for
when large files are encountered and large file support is disabled.</li>
<li>Avoid cache pages leaks following disk-full or I/O errors</li>
<li>And, many more minor bug fixes and performance enhancements....</li>
</ul></p><a name="version_3_5_8"></a>
<h3>2008-04-16 (3.5.8)</h3><p><ul>
<li>Expose SQLite's internal pseudo-random number generator (PRNG)
via the <a href="c3ref/randomness.html">sqlite3_randomness()</a> interface</li>
<li>New interface <a href="c3ref/context_db_handle.html">sqlite3_context_db_handle()</a> that returns the
<a href="c3ref/sqlite3.html">database connection</a> handle that has invoked an application-defined
SQL function.</li>
<li>New interface <a href="c3ref/limit.html">sqlite3_limit()</a> allows size and length limits to be
set on a per-connection basis and at run-time.</li>
<li>Improved crash-robustness: write the database page size into the rollback
journal header.</li>
<li>Allow the <a href="lang_vacuum.html">VACUUM</a> command to change the page size of a database file.</li>
<li>The xAccess() method of the VFS is allowed to return -1 to signal
a memory allocation error.</li>
<li>Performance improvement: The OP_IdxDelete opcode uses unpacked records,
obviating the need for one OP_MakeRecord opcode call for each index
record deleted.</li>
<li>Performance improvement: Constant subexpressions are factored out of
loops.</li>
<li>Performance improvement: Results of OP_Column are reused rather than
issuing multiple OP_Column opcodes.</li>
<li>Fix a bug in the RTRIM collating sequence.</li>
<li>Fix a bug in the SQLITE_SECURE_DELETE option that was causing
Firefox crashes. Make arrangements to always test SQLITE_SECURE_DELETE
prior to each release.</li>
<li>Other miscellaneous performance enhancements.</li>
<li>Other miscellaneous minor bug fixes.</li>
</ul></p><a name="version_3_5_7"></a>
<h3>2008-03-17 (3.5.7)</h3><p><ul>
<li>Fix a bug (<a href="http://www.sqlite.org/cvstrac/tktview?tn=2927">ticket #2927</a>) in the register allocation for
compound selects - introduced by the new VM code in version 3.5.5.</li>
<li>ALTER TABLE uses double-quotes instead of single-quotes for quoting
filenames.</li>
<li>Use the WHERE clause to reduce the size of a materialized VIEW in
an UPDATE or DELETE statement. (Optimization)</li>
<li>Do not apply the flattening optimization if the outer query is an
aggregate and the inner query contains ORDER BY. (<a href="http://www.sqlite.org/cvstrac/tktview?tn=2943">Ticket #2943</a>)</li>
<li>Additional OS/2 updates</li>
<li>Added an experimental power-of-two, first-fit memory allocator.</li>
<li>Remove all instances of sprintf() from the code</li>
<li>Accept "Z" as the zulu timezone at the end of date strings</li>
<li>Fix a bug in the LIKE optimizer that occurs when the last character
before the first wildcard is an upper-case "Z"</li>
<li>Added the "bitvec" object for keeping track of which pages have
been journalled. Improves speed and reduces memory consumption, especially
for large database files.</li>
<li>Get the SQLITE_ENABLE_LOCKING_STYLE macro working again on Mac OS X.</li>
<li>Store the statement journal in the temporary file directory instead of
collocated with the database file.</li>
<li>Many improvements and cleanups to the configure script</li>
</ul></p><a name="version_3_5_6"></a>
<h3>2008-02-06 (3.5.6)</h3><p><ul>
<li>Fix a bug (<a href="http://www.sqlite.org/cvstrac/tktview?tn=2913">ticket #2913</a>)
that prevented virtual tables from working in a LEFT JOIN.
The problem was introduced into shortly before the 3.5.5 release.</li>
<li>Bring the OS/2 porting layer up-to-date.</li>
<li>Add the new <a href="c3ref/result_blob.html">sqlite3_result_error_code()</a> API and use it in the
implementation of <a href="lang_attach.html">ATTACH</a> so that proper error codes are returned
when an <a href="lang_attach.html">ATTACH</a> fails.</li>
</ul></p><a name="version_3_5_5"></a>
<h3>2008-01-31 (3.5.5)</h3><p><ul>
<li>Convert the underlying virtual machine to be a register-based machine
rather than a stack-based machine. The only user-visible change
is in the output of EXPLAIN.</li>
<li>Add the build-in RTRIM collating sequence.</li>
</ul></p><a name="version_3_5_4"></a>
<h3>2007-12-14 (3.5.4)</h3><p><ul>
<li>Fix a critical bug in UPDATE or DELETE that occurs when an
OR REPLACE clause or a trigger causes rows in the same table to
be deleted as side effects. (See <a href="http://www.sqlite.org/cvstrac/tktview?tn=2832">ticket #2832</a>.) The most likely
result of this bug is a segmentation fault, though database
corruption is a possibility.</li>
<li>Bring the processing of ORDER BY into compliance with the
SQL standard for case where a result alias and a table column name
are in conflict. Correct behavior is to prefer the result alias.
Older versions of SQLite incorrectly picked the table column.
(See <a href="http://www.sqlite.org/cvstrac/tktview?tn=2822">ticket #2822</a>.)</li>
<li>The <a href="lang_vacuum.html">VACUUM</a> command preserves
the setting of the
<a href="pragma.html#pragma_legacy_file_format">legacy_file_format pragma</a>.
(<a href="http://www.sqlite.org/cvstrac/tktview?tn=2804">Ticket #2804</a>.)</li>
<li>Productize and officially support the group_concat() SQL function.</li>
<li>Better optimization of some IN operator expressions.</li>
<li>Add the ability to change the
<a href="pragma.html#pragma_auto_vacuum">auto_vacuum</a> status of a
database by setting the auto_vaccum pragma and VACUUMing the database.</li>
<li>Prefix search in FTS3 is much more efficient.</li>
<li>Relax the SQL statement length restriction in the CLI so that
the ".dump" output of databases with very large BLOBs and strings can
be played back to recreate the database.</li>
<li>Other small bug fixes and optimizations.</li>
</ul></p><a name="version_3_5_3"></a>
<h3>2007-11-27 (3.5.3)</h3><p><ul>
<li>Move website and documentation files out of the source tree into
a <a href="http://www.sqlite.org/docsrc/">separate CM system</a>.
<li>Fix a long-standing bug in INSERT INTO ... SELECT ... statements
where the SELECT is compound.
<li>Fix a long-standing bug in RAISE(IGNORE) as used in BEFORE triggers.
<li>Fixed the operator precedence for the ~ operator.
<li>On Win32, do not return an error when attempting to delete a file
that does not exist.
<li>Allow collating sequence names to be quoted.
<li>Modify the TCL interface to use <a href="c3ref/prepare.html">sqlite3_prepare_v2()</a>.
<li>Fix multiple bugs that can occur following a malloc() failure.
<li><a href="c3ref/step.html">sqlite3_step()</a> returns <a href="rescode.html#misuse">SQLITE_MISUSE</a> instead of crashing when
called with a NULL parameter.
<li>FTS3 now uses the SQLite memory allocator exclusively. The
FTS3 amalgamation can now be appended to the SQLite amalgamation to
generate a super-amalgamation containing both.
<li>The DISTINCT keyword now will sometimes use an INDEX if an
appropriate index is available and the optimizer thinks its use
might be advantageous.
</ul></p><a name="version_3_5_2"></a>
<h3>2007-11-05 (3.5.2)</h3><p><ul>
<li>Dropped support for the <a href="compile.html#omitfeatures">SQLITE_OMIT_MEMORY_ALLOCATION</a> compile-time
option.
<li>Always open files using FILE_FLAG_RANDOM_ACCESS under Windows.
<li>The 3rd parameter of the built-in SUBSTR() function is now optional.
<li>Bug fix: do not invoke the authorizer when reparsing the schema after
a schema change.
<li>Added the experimental malloc-free memory allocator in mem3.c.
<li>Virtual machine stores 64-bit integer and floating point constants
in binary instead of text for a performance boost.
<li>Fix a race condition in test_async.c.
<li>Added the ".timer" command to the CLI
</ul></p><a name="version_3_5_1"></a>
<h3>2007-10-04 (3.5.1)</h3><p><ul>
<li><i><b>Nota Bene:</b> We are not using terms "alpha" or "beta" on this
release because the code is stable and because if we use those terms,
nobody will upgrade. However, we still reserve the right to make
incompatible changes to the new VFS interface in future releases.</i></li>
<li>Fix a bug in the handling of <a href="rescode.html#full">SQLITE_FULL</a> errors that could lead
to database corruption. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2686">Ticket #2686</a>.
<li>The test_async.c drive now does full file locking and works correctly
when used simultaneously by multiple processes on the same database.
<li>The CLI ignores whitespace (including comments) at the end of lines
<li>Make sure the query optimizer checks dependencies on all terms of
a compound SELECT statement. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2640">Ticket #2640</a>.
<li>Add demonstration code showing how to build a VFS for a raw
mass storage without a filesystem.
<li>Added an output buffer size parameter to the xGetTempname() method
of the VFS layer.
<li>Sticky <a href="rescode.html#full">SQLITE_FULL</a> or <a href="rescode.html#ioerr">SQLITE_IOERR</a> errors in the pager are reset
when a new transaction is started.
</ul></p><a name="version_3_5_0"></a>
<h3>2007-09-04 (3.5.0) alpha</h3><p><ul>
<li>Redesign the OS interface layer. See
<a href="34to35.html">34to35.html</a> for details.
<font color="red">*** Potentially incompatible change ***</font>
<li>The <a href="c3ref/release_memory.html">sqlite3_release_memory()</a>, <a href="c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit()</a>,
and <a href="c3ref/enable_shared_cache.html">sqlite3_enable_shared_cache()</a> interfaces now work cross all
threads in the process, not just the single thread in which they
are invoked.
<font color="red">*** Potentially incompatible change ***</font>
<li>Added the <a href="c3ref/open.html">sqlite3_open_v2()</a> interface.
<li>Reimplemented the memory allocation subsystem and made it
replaceable at compile-time.
<li>Created a new mutex subsystem and made it replicable at
compile-time.
<li>The same database connection may now be used simultaneously by
separate threads.
</ul></p><a name="version_3_4_2"></a>
<h3>2007-08-13 (3.4.2)</h3><p><ul>
<li>Fix a database corruption bug that might occur if a ROLLBACK command
is executed in <a href="pragma.html#pragma_auto_vacuum">auto-vacuum mode</a>
and a very small <a href="c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit</a> is set.
<a href="http://www.sqlite.org/cvstrac/tktview?tn=2565">Ticket #2565</a>.
<li>Add the ability to run a full regression test with a small
<a href="c3ref/soft_heap_limit.html">sqlite3_soft_heap_limit</a>.
<li>Fix other minor problems with using small soft heap limits.
<li>Work-around for
<a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32575">GCC bug 32575</a>.
<li>Improved error detection of misused aggregate functions.
<li>Improvements to the amalgamation generator script so that all symbols
are prefixed with either SQLITE_PRIVATE or SQLITE_API.
</ul></p><a name="version_3_4_1"></a>
<h3>2007-07-20 (3.4.1)</h3><p><ul>
<li>Fix 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> if two
processes are connected to the database at the same time and one
VACUUMs then the other then modifies the database.</li>
<li>The expression "+column" is now considered the same as "column"
when computing the collating sequence to use on the expression.</li>
<li>In the <a href="tclsqlite.html">TCL language interface</a>,
"@variable" instead of "$variable" always binds as a blob.</li>
<li>Added <a href="pragma.html#pragma_freelist_count">PRAGMA freelist_count</a>
for determining the current size of the freelist.</li>
<li>The <a href="pragma.html#pragma_auto_vacuum">
PRAGMA auto_vacuum=incremental</a> setting is now persistent.</li>
<li>Add FD_CLOEXEC to all open files under Unix.</li>
<li>Fix a bug in the <a href="optoverview.html#minmax">
min()/max() optimization</a> when applied to
descending indices.</li>
<li>Make sure the TCL language interface works correctly with 64-bit
integers on 64-bit machines.</li>
<li>Allow the value -9223372036854775808 as an integer literal in SQL
statements.</li>
<li>Add the capability of "hidden" columns in virtual tables.</li>
<li>Use the macro SQLITE_PRIVATE (defaulting to "static") on all
internal functions in the amalgamation.</li>
<li>Add pluggable tokenizers and <a href="http://www.icu-project.org/">ICU</a>
tokenization support to FTS2</li>
<li>Other minor bug fixes and documentation enhancements</li>
</ul></p><a name="version_3_4_0"></a>
<h3>2007-06-18 (3.4.0)</h3><p><ul>
<li>Fix a bug that can lead to database corruption if an <a href="rescode.html#busy">SQLITE_BUSY</a> error
occurs in the middle of an explicit transaction and that transaction
is later committed. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2409">Ticket #2409</a>.
See the
<a href="http://www.sqlite.org/cvstrac/wiki?p=CorruptionFollowingBusyError">
CorruptionFollowingBusyError</a> wiki page for details.</i>
<li>Fix a bug that can lead to database corruption if autovacuum mode is
on and a malloc() failure follows a CREATE TABLE or CREATE INDEX statement
which itself follows a cache overflow inside a transaction. See
<a href="http://www.sqlite.org/cvstrac/tktview?tn=2418">ticket #2418</a>.
</li>
<li>Added explicit <a href="limits.html">upper bounds</a> on the sizes and
quantities of things SQLite can process. This change might cause
compatibility problems for
applications that use SQLite in the extreme, which is why the current
release is 3.4.0 instead of 3.3.18.</li>
<li>Added support for <a href="c3ref/blob_open.html">Incremental BLOB I/O</a>.</li>
<li>Added the <a href="c3ref/bind_blob.html">sqlite3_bind_zeroblob()</a> API</a>
and the <a href="lang_expr.html#zeroblob">zeroblob()</a> SQL function.</li>
<li>Added support for <a href="pragma.html#pragma_incremental_vacuum">
Incremental Vacuum</a>.</li>
<li>Added the SQLITE_MIXED_ENDIAN_64BIT_FLOAT compile-time option to support
ARM7 processors with goofy endianness.</li>
<li>Removed all instances of sprintf() and strcpy() from the core library.</li>
<li>Added support for
<a href="http://www.icu-project.org/">International Components for Unicode (ICU)</a>
to the full-text search extensions.
</ul><p>
<ul type="circle">
<li>In the Windows OS driver, reacquire a SHARED lock if an attempt to
acquire an EXCLUSIVE lock fails. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2354">Ticket #2354</a></li>
<li>Fix the REPLACE() function so that it returns NULL if the second argument
is an empty string. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2324">Ticket #2324</a>.</li>
<li>Document the hazards of type conversions in
<a href="c3ref/column_blob.html">sqlite3_column_blob()</a>
and related APIs. Fix unnecessary type conversions. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2321">Ticket #2321</a>.</li>
<li>Internationalization of the TRIM() function. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2323">Ticket #2323</a></li>
<li>Use memmove() instead of memcpy() when moving between memory regions
that might overlap. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2334">Ticket #2334</a></li>
<li>Fix an optimizer bug involving subqueries in a compound SELECT that has
both an ORDER BY and a LIMIT clause. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2339">Ticket #2339</a>.</li>
<li>Make sure the <a href="c3ref/mprintf.html">sqlite3_snprintf()</a>
interface does not zero-terminate the buffer if the buffer size is
less than 1. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2341">Ticket #2341</a></li>
<li>Fix the built-in printf logic so that it prints "NaN" not "Inf" for
floating-point NaNs. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2345">Ticket #2345</a></li>
<li>When converting BLOB to TEXT, use the text encoding of the main database.
<a href="http://www.sqlite.org/cvstrac/tktview?tn=2349">Ticket #2349</a></li>
<li>Keep the full precision of integers (if possible) when casting to
NUMERIC. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2364">Ticket #2364</a></li>
<li>Fix a bug in the handling of UTF16 codepoint 0xE000</li>
<li>Consider explicit collate clauses when matching WHERE constraints
to indices in the query optimizer. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2391">Ticket #2391</a></li>
<li>Fix the query optimizer to correctly handle constant expressions in
the ON clause of a LEFT JOIN. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2403">Ticket #2403</a></li>
<li>Fix the query optimizer to handle rowid comparisons to NULL
correctly. <a href="http://www.sqlite.org/cvstrac/tktview?tn=2404">Ticket #2404</a></li>
<li>Fix many potential segfaults that could be caused by malicious SQL
statements.</li>
</ul></p><a name="version_3_3_17"></a>
<h3>2007-04-25 (3.3.17)</h3><p><ul>
<li>When the "write_version" value of the database header is larger than
what the library understands, make the database read-only instead of
unreadable.</li>
<li>Other minor bug fixes</li>
</ul></p><a name="version_3_3_16"></a>
<h3>2007-04-18 (3.3.16)</h3><p><ul>
<li>Fix a bug that caused VACUUM to fail if NULLs appeared in a
UNIQUE column.</li>
<li>Reinstate performance improvements that were added in
<a href="#version_3_3_14">Version 3.3.14</a>
but regressed in <a href="#version_3_3_15">Version 3.3.15</a>.</li>
<li>Fix problems with the handling of ORDER BY expressions on
compound SELECT statements in subqueries.</li>
<li>Fix a potential segfault when destroying locks on WinCE in
a multi-threaded environment.</li>
<li>Documentation updates.</li>
</ul></p><a name="version_3_3_15"></a>
<h3>2007-04-09 (3.3.15)</h3><p><ul>
<li>Fix a bug introduced in 3.3.14 that caused a rollback of
CREATE TEMP TABLE to leave the database connection wedged.</li>
<li>Fix a bug that caused an extra NULL row to be returned when
a descending query was interrupted by a change to the database.</li>
<li>The FOR EACH STATEMENT clause on a trigger now causes a syntax
error. It used to be silently ignored.</li>
<li>Fix an obscure and relatively harmless problem that might have caused
a resource leak following an I/O error.</li>
<li>Many improvements to the test suite. Test coverage now exceeded 98%</li>
</ul></p><a name="version_3_3_14"></a>
<h3>2007-04-02 (3.3.14)</h3><p><ul>
<li>Fix a bug (<a href="http://www.sqlite.org/cvstrac/tktview?tn=2273">ticket #2273</a>)
that could cause a segfault when the IN operator
is used one one term of a two-column index and the right-hand side of
the IN operator contains a NULL.</li>
<li>Added a new OS interface method for determining the sector size
of underlying media: sqlite3OsSectorSize().</li>
<li>A new algorithm for statements of the form
INSERT INTO <i>table1</i> SELECT * FROM <i>table2</i>
is faster and reduces fragmentation. VACUUM uses statements of
this form and thus runs faster and defragments better.</li>
<li>Performance enhancements through reductions in disk I/O:
<ul>
<li>Do not read the last page of an overflow chain when
deleting the row - just add that page to the freelist.</li>
<li>Do not store pages being deleted in the
rollback journal.</li>
<li>Do not read in the (meaningless) content of
pages extracted from the freelist.</li>
<li>Do not flush the page cache (and thus avoiding
a cache refill) unless another process changes the underlying
database file.</li>
<li>Truncate rather than delete the rollback journal when committing
a transaction in exclusive access mode, or when committing the TEMP
database.</li>
</ul></li>
<li>Added support for exclusive access mode using
<a href="pragma.html#pragma_locking_mode">
"PRAGMA locking_mode=EXCLUSIVE"</a></li>
<li>Use heap space instead of stack space for large buffers in the
pager - useful on embedded platforms with stack-space
limitations.</li>
<li>Add a makefile target "sqlite3.c" that builds an amalgamation containing
the core SQLite library C code in a single file.</li>
<li>Get the library working correctly when compiled
with GCC option "-fstrict-aliasing".</li>
<li>Removed the vestigal SQLITE_PROTOCOL error.</li>
<li>Improvements to test coverage, other minor bugs fixed,
memory leaks plugged,
code refactored and/or recommended in places for easier reading.</li>
</ul></p><a name="version_3_3_13"></a>
<h3>2007-02-13 (3.3.13)</h3><p><ul>
<li>Add a "fragmentation" measurement in the output of sqlite3_analyzer.</li>
<li>Add the COLLATE operator used to explicitly set the collating sequence
used by an expression. This feature is considered experimental pending
additional testing.</li>
<li>Allow up to 64 tables in a join - the old limit was 32.</li>
<li>Added two new experimental functions:
<a href="lang_expr.html#randomblobFunc">randomBlob()</a> and
<a href="lang_expr.html#hexFunc">hex()</a>.
Their intended use is to facilitate generating
<a href="http://en.wikipedia.org/wiki/UUID">UUIDs</a>.
</li>
<li>Fix a problem where
<a href="pragma.html#pragma_count_changes">PRAGMA count_changes</a> was
causing incorrect results for updates on tables with triggers</li>
<li>Fix a bug in the ORDER BY clause optimizer for joins where the
left-most table in the join is constrained by a UNIQUE index.</li>
<li>Fixed a bug in the "copy" method of the TCL interface.</li>
<li>Bug fixes in fts1 and fts2 modules.</li>
</ul></p><a name="version_3_3_12"></a>
<h3>2007-01-27 (3.3.12)</h3><p><ul>
<li>Fix another bug in the IS NULL optimization that was added in
version 3.3.9.</li>
<li>Fix an assertion fault that occurred on deeply nested views.</li>
<li>Limit the amount of output that
<a href="pragma.html#pragma_integrity_check">PRAGMA integrity_check</a>
generates.</li>
<li>Minor syntactic changes to support a wider variety of compilers.</li>
</ul></p><a name="version_3_3_11"></a>
<h3>2007-01-22 (3.3.11)</h3><p><ul>
<li>Fix another bug in the implementation of the new
<a href="c3ref/prepare.html">sqlite3_prepare_v2()</a> API.
We'll get it right eventually...</li>
<li>Fix a bug in the IS NULL optimization that was added in version 3.3.9 -
the bug was causing incorrect results on certain LEFT JOINs that included
in the WHERE clause an IS NULL constraint for the right table of the
LEFT JOIN.</li>
<li>Make AreFileApisANSI() a no-op macro in WinCE since WinCE does not
support this function.</li>
</ul></p><a name="version_3_3_10"></a>
<h3>2007-01-09 (3.3.10)</h3><p><ul>
<li>Fix bugs in the implementation of the new
<a href="c3ref/prepare.html">sqlite3_prepare_v2()</a> API
that can lead to segfaults.</li>
<li>Fix 1-second round-off errors in the
<a href="http://www.sqlite.org/cvstrac/wiki?p=DateAndTimeFunctions">
strftime()</a> function</li>
<li>Enhance the Windows OS layer to provide detailed error codes</li>
<li>Work around a win2k problem so that SQLite can use single-character
database file names</li>
<li>The
<a href="pragma.html#pragma_user_version">user_version</a> and
<a href="pragma.html#pragma_schema_version">schema_version</a> pragmas
correctly set their column names in the result set</li>
<li>Documentation updates</li>
</ul></p><a name="version_3_3_9"></a>
<h3>2007-01-04 (3.3.9)</h3><p><ul>
<li>Fix bugs in pager.c that could lead to database corruption if two
processes both try to recover a hot journal at the same instant</li>
<li>Added the <a href="c3ref/prepare.html">sqlite3_prepare_v2()</a>
API.</li>
<li>Fixed the ".dump" command in the command-line shell to show
indices, triggers and views again.</li>
<li>Change the table_info pragma so that it returns NULL for the default
value if there is no default value</li>
<li>Support for non-ASCII characters in win95 filenames</li>
<li>Query optimizer enhancements:
<ul>
<li>Optimizer does a better job of using indices to satisfy ORDER BY
clauses that sort on the integer primary key</li>
<li>Use an index to satisfy an IS NULL operator in the WHERE clause</li>
<li>Fix a bug that was causing the optimizer to miss an OR optimization
opportunity</li>
<li>The optimizer has more freedom to reorder tables in the FROM clause
even in there are LEFT joins.</li>
</ul>
<li>Extension loading supported added to WinCE</li>
<li>Allow constraint names on the DEFAULT clause in a table definition</li>
<li>Added the ".bail" command to the command-line shell</li>
<li>Make CSV (comma separate value) output from the command-line shell
more closely aligned to accepted practice</li>
<li>Experimental FTS2 module added</li>
<li>Use sqlite3_mprintf() instead of strdup() to avoid libc dependencies</li>
<li>VACUUM uses a temporary file in the official TEMP folder, not in the
same directory as the original database</li>
<li>The prefix on temporary filenames on Windows is changed from "sqlite"
to "etilqs".</li>
</ul></p><a name="version_3_3_8"></a>
<h3>2006-10-09 (3.3.8)</h3><p><ul>
<li>Support for full text search using the
<a href="http://www.sqlite.org/cvstrac/wiki?p=FullTextIndex">FTS1 module</a>
(beta)</li>
<li>Added Mac OS X locking patches (beta - disabled by default)</li>
<li>Introduce extended error codes and add error codes for various
kinds of I/O errors.</li>
<li>Added support for IF EXISTS on CREATE/DROP TRIGGER/VIEW</li>
<li>Fix the regression test suite so that it works with Tcl8.5</li>
<li>Enhance sqlite3_set_authorizer() to provide notification of calls to
SQL functions.</li>
<li>Added experimental API: sqlite3_auto_extension()</li>
<li>Various minor bug fixes</li>
</ul></p><a name="version_3_3_7"></a>
<h3>2006-08-12 (3.3.7)</h3><p><ul>
<li>Added support for
<a href="http://www.sqlite.org/cvstrac/wiki?p=VirtualTables">virtual tables</a>
(beta)</li>
<li>Added support for
<a href="http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions">
dynamically loaded extensions</a> (beta)</li>
<li>The
<a href="c3ref/interrupt.html">sqlite3_interrupt()</a>
routine can be called for a different thread</li>
<li>Added the <a href="lang_expr.html#match">MATCH</a> operator.</li>
<li>The default file format is now 1.
</ul></p><a name="version_3_3_6"></a>
<h3>2006-06-06 (3.3.6)</h3><p><ul>
<li>Plays better with virus scanners on Windows</li>
<li>Faster :memory: databases</li>
<li>Fix an obscure segfault in UTF-8 to UTF-16 conversions</li>
<li>Added driver for OS/2</li>
<li>Correct column meta-information returned for aggregate queries</li>
<li>Enhanced output from EXPLAIN QUERY PLAN</li>
<li>LIMIT 0 now works on subqueries</li>
<li>Bug fixes and performance enhancements in the query optimizer</li>
<li>Correctly handle NULL filenames in ATTACH and DETACH</li>
<li>Improved syntax error messages in the parser</li>
<li>Fix type coercion rules for the IN operator</li>
</ul></p><a name="version_3_3_5"></a>
<h3>2006-04-05 (3.3.5)</h3><p><ul>
<li>CHECK constraints use conflict resolution algorithms correctly.</li>
<li>The SUM() function throws an error on integer overflow.</li>
<li>Choose the column names in a compound query from the left-most SELECT
instead of the right-most.</li>
<li>The sqlite3_create_collation() function
honors the SQLITE_UTF16_ALIGNED flag.</li>
<li>SQLITE_SECURE_DELETE compile-time option causes deletes to overwrite
old data with zeros.</li>
<li>Detect integer overflow in abs().</li>
<li>The random() function provides 64 bits of randomness instead of
only 32 bits.</li>
<li>Parser detects and reports automaton stack overflow.</li>
<li>Change the round() function to return REAL instead of TEXT.</li>
<li>Allow WHERE clause terms on the left table of a LEFT OUTER JOIN to
contain aggregate subqueries.</li>
<li>Skip over leading spaces in text to numeric conversions.</li>
<li>Various minor bug and documentation typo fixes and
performance enhancements.</li>
</ul></p><a name="version_3_3_4"></a>
<h3>2006-02-11 (3.3.4)</h3><p><ul>
<li>Fix a blunder in the Unix mutex implementation that can lead to
deadlock on multithreaded systems.</li>
<li>Fix an alignment problem on 64-bit machines</li>
<li>Added the fullfsync pragma.</li>
<li>Fix an optimizer bug that could have caused some unusual LEFT OUTER JOINs
to give incorrect results.</li>
<li>The SUM function detects integer overflow and converts to accumulating
an approximate result using floating point numbers</li>
<li>Host parameter names can begin with '@' for compatibility with SQL Server.
</li>
<li>Other miscellaneous bug fixes</li>
</ul></p><a name="version_3_3_3"></a>
<h3>2006-01-31 (3.3.3)</h3><p><ul>
<li>Removed support for an ON CONFLICT clause on CREATE INDEX - it never
worked correctly so this should not present any backward compatibility
problems.</li>
<li>Authorizer callback now notified of ALTER TABLE ADD COLUMN commands</li>
<li>After any changes to the TEMP database schema, all prepared statements
are invalidated and must be recreated using a new call to
sqlite3_prepare()</li>
<li>Other minor bug fixes in preparation for the first stable release
of version 3.3</li>
</ul></p><h3>2006-01-24 (3.3.2 beta)</h3><p><ul>
<li>Bug fixes and speed improvements. Improved test coverage.</li>
<li>Changes to the OS-layer interface: mutexes must now be recursive.</li>
<li>Discontinue the use of thread-specific data for out-of-memory
exception handling</li>
</ul></p><h3>2006-01-16 (3.3.1 alpha)</h3><p><ul>
<li>Countless bug fixes</li>
<li>Speed improvements</li>
<li>Database connections can now be used by multiple threads, not just
the thread in which they were created.</li>
</ul></p><h3>2006-01-10 (3.3.0 alpha)</h3><p><ul>
<li>CHECK constraints</li>
<li>IF EXISTS and IF NOT EXISTS clauses on CREATE/DROP TABLE/INDEX.</li>
<li>DESC indices</li>
<li>More efficient encoding of boolean values resulting in smaller database
files</li>
<li>More aggressive <a href="compile.html#omit_floating_point">SQLITE_OMIT_FLOATING_POINT</a></li>
<li>Separate INTEGER and REAL affinity</li>
<li>Added a virtual function layer for the OS interface</li>
<li>"exists" method added to the TCL interface</li>
<li>Improved response to out-of-memory errors</li>
<li>Database cache can be optionally shared between connections
in the same thread</li>
<li>Optional READ UNCOMMITTED isolation (instead of the default
isolation level of SERIALIZABLE) and table level locking when
database connections share a common cache.</li>
</ul></p><a name="version_3_2_8"></a>
<h3>2005-12-19 (3.2.8)</h3><p><ul>
<li>Fix an obscure bug that can cause database corruption under the
following unusual circumstances: A large INSERT or UPDATE statement which
is part of an even larger transaction fails due to a uniqueness constraint
but the containing transaction commits.</li>
</ul></p><a name="version_2_8_17"></a>
<h3>2005-12-19 (2.8.17)</h3><p><ul>
<li>Fix an obscure bug that can cause database corruption under the
following unusual circumstances: A large INSERT or UPDATE statement which
is part of an even larger transaction fails due to a uniqueness contraint
but the containing transaction commits.</li>
</ul></p><a name="version_3_2_7"></a>
<h3>2005-09-24 (3.2.7)</h3><p><ul>
<li>GROUP BY now considers NULLs to be equal again, as it should
</li>
<li>Now compiles on Solaris and OpenBSD and other Unix variants
that lack the fdatasync() function</li>
<li>Now compiles on MSVC++6 again</li>
<li>Fix uninitialized variables causing malfunctions for various obscure
queries</li>
<li>Correctly compute a LEFT OUTER JOINs that is constrained on the
left table only</li>
</ul></p><a name="version_3_2_6"></a>
<h3>2005-09-17 (3.2.6)</h3><p><ul>
<li>Fix a bug that can cause database corruption if a VACUUM (or
autovacuum) fails and is rolled back on a database that is
larger than 1GiB</li>
<li>LIKE optimization now works for columns with COLLATE NOCASE</li>
<li>ORDER BY and GROUP BY now use bounded memory</li>
<li>Added support for COUNT(DISTINCT expr)</li>
<li>Change the way SUM() handles NULL values in order to comply with
the SQL standard</li>
<li>Use fdatasync() instead of fsync() where possible in order to speed
up commits slightly</li>
<li>Use of the CROSS keyword in a join turns off the table reordering
optimization</li>
<li>Added the experimental and undocumented EXPLAIN QUERY PLAN capability</li>
<li>Use the unicode API in Windows</li>
</ul></p><a name="version_3_2_5"></a>
<h3>2005-08-27 (3.2.5)</h3><p><ul>
<li>Fix a bug effecting DELETE and UPDATE statements that changed
more than 40960 rows.</li>
<li>Change the makefile so that it no longer requires GNUmake extensions</li>
<li>Fix the --enable-threadsafe option on the configure script</li>
<li>Fix a code generator bug that occurs when the left-hand side of an IN
operator is constant and the right-hand side is a SELECT statement</li>
<li>The PRAGMA synchronous=off statement now disables syncing of the
master journal file in addition to the normal rollback journals</li>
</ul></p><a name="version_3_2_4"></a>
<h3>2005-08-24 (3.2.4)</h3><p><ul>
<li>Fix a bug introduced in the previous release
that can cause a segfault while generating code
for complex WHERE clauses.</li>
<li>Allow floating point literals to begin or end with a decimal point.</li>
</ul></p><a name="version_3_2_3"></a>
<h3>2005-08-21 (3.2.3)</h3><p><ul>
<li>Added support for the CAST operator</li>
<li>Tcl interface allows BLOB values to be transferred to user-defined
functions</li>
<li>Added the "transaction" method to the Tcl interface</li>
<li>Allow the DEFAULT value of a column to call functions that have constant
operands</li>
<li>Added the ANALYZE command for gathering statistics on indices and
using those statistics when picking an index in the optimizer</li>
<li>Remove the limit (formerly 100) on the number of terms in the
WHERE clause</li>
<li>The right-hand side of the IN operator can now be a list of expressions
instead of just a list of constants</li>
<li>Rework the optimizer so that it is able to make better use of indices</li>
<li>The order of tables in a join is adjusted automatically to make
better use of indices</li>
<li>The IN operator is now a candidate for optimization even if the left-hand
side is not the left-most term of the index. Multiple IN operators can be
used with the same index.</li>
<li>WHERE clause expressions using BETWEEN and OR are now candidates
for optimization</li>
<li>Added the "case_sensitive_like" pragma and the SQLITE_CASE_SENSITIVE_LIKE
compile-time option to set its default value to "on".</li>
<li>Use indices to help with GLOB expressions and LIKE expressions too
when the case_sensitive_like pragma is enabled</li>
<li>Added support for grave-accent quoting for compatibility with MySQL</li>
<li>Improved test coverage</li>
<li>Dozens of minor bug fixes</li>
</ul></p><a name="version_3_2_2"></a>
<h3>2005-06-13 (3.2.2)</h3><p><ul>
<li>Added the sqlite3_db_handle() API</li>
<li>Added the sqlite3_get_autocommit() API</li>
<li>Added a REGEXP operator to the parser. There is no function to back
up this operator in the standard build but users can add their own using
sqlite3_create_function()</li>
<li>Speed improvements and library footprint reductions.</li>
<li>Fix byte alignment problems on 64-bit architectures.</li>
<li>Many, many minor bug fixes and documentation updates.</li>
</ul></p><a name="version_3_2_1"></a>
<h3>2005-03-29 (3.2.1)</h3><p><ul>
<li>Fix a memory allocation error in the new ADD COLUMN comment.</li>
<li>Documentation updates</li>
</ul></p><a name="version_3_2_0"></a>
<h3>2005-03-21 (3.2.0)</h3><p><ul>
<li>Added support for ALTER TABLE ADD COLUMN.</li>
<li>Added support for the "T" separator in ISO-8601 date/time strings.</li>
<li>Improved support for Cygwin.</li>
<li>Numerous bug fixes and documentation updates.</li>
</ul></p><a name="version_3_1_6"></a>
<h3>2005-03-16 (3.1.6)</h3><p><ul>
<li>Fix a bug that could cause database corruption when inserting
record into tables with around 125 columns.</li>
<li>sqlite3_step() is now much more likely to invoke the busy handler
and less likely to return SQLITE_BUSY.</li>
<li>Fix memory leaks that used to occur after a malloc() failure.</li>
</ul></p><a name="version_3_1_5"></a>
<h3>2005-03-11 (3.1.5)</h3><p><ul>
<li>The ioctl on Mac OS X to control syncing to disk is F_FULLFSYNC,
not F_FULLSYNC. The previous release had it wrong.</li>
</ul></p><a name="version_3_1_4"></a>
<h3>2005-03-10 (3.1.4)</h3><p><ul>
<li>Fix a bug in autovacuum that could cause database corruption if
a CREATE UNIQUE INDEX fails because of a constraint violation.
This problem only occurs if the new autovacuum feature introduced in
version 3.1 is turned on.</li>
<li>The F_FULLSYNC ioctl (currently only supported on Mac OS X) is disabled
if the synchronous pragma is set to something other than "full".</li>
<li>Add additional forward compatibility to the future version 3.2 database
file format.</li>
<li>Fix a bug in WHERE clauses of the form (rowid<'2')</li>
<li>New <a href="compile.html#omitfeatures">SQLITE_OMIT_...</a> compile-time options added</li>
<li>Updates to the man page</li>
<li>Remove the use of strcasecmp() from the shell</li>
<li>Windows DLL exports symbols Tclsqlite_Init and Sqlite_Init</li>
</ul></p><a name="version_3_1_3"></a>
<h3>2005-02-19 (3.1.3)</h3><p><ul>
<li>Fix a problem with VACUUM on databases from which tables containing
AUTOINCREMENT have been dropped.</li>
<li>Add forward compatibility to the future version 3.2 database file
format.</li>
<li>Documentation updates</li>
</ul></p><a name="version_3_1_2"></a>
<h3>2005-02-15 (3.1.2)</h3><p><ul>
<li>Fix a bug that can lead to database corruption if there are two
open connections to the same database and one connection does a VACUUM
and the second makes some change to the database.</li>
<li>Allow "?" parameters in the LIMIT clause.</li>
<li>Fix VACUUM so that it works with AUTOINCREMENT.</li>
<li>Fix a race condition in AUTOVACUUM that can lead to corrupt databases</li>
<li>Add a numeric version number to the sqlite3.h include file.</li>
<li>Other minor bug fixes and performance enhancements.</li>
</ul></p><a name="version_2_8_16"></a>
<h3>2005-02-15 (2.8.16)</h3><p><ul>
<li>Fix a bug that can lead to database corruption if there are two
open connections to the same database and one connection does a VACUUM
and the second makes some change to the database.</li>
<li>Correctly handle quoted names in CREATE INDEX statements.</li>
<li>Fix a naming conflict between sqlite.h and sqlite3.h.</li>
<li>Avoid excess heap usage when copying expressions.</li>
<li>Other minor bug fixes.</li>
</ul></p><h3>2005-02-01 (3.1.1 BETA)</h3><p><ul>
<li>Automatic caching of prepared statements in the TCL interface</li>
<li>ATTACH and DETACH as well as some other operations cause existing
prepared statements to expire.</li>
<li>Numerous minor bug fixes</li>
</ul></p><h3>2005-01-21 (3.1.0 ALPHA)</h3><p><ul>
<li>Autovacuum support added</li>
<li>CURRENT_TIME, CURRENT_DATE, and CURRENT_TIMESTAMP added</li>
<li>Support for the EXISTS clause added.</li>
<li>Support for correlated subqueries added.</li>
<li>Added the ESCAPE clause on the LIKE operator.</li>
<li>Support for ALTER TABLE ... RENAME TABLE ... added</li>
<li>AUTOINCREMENT keyword supported on INTEGER PRIMARY KEY</li>
<li>Many SQLITE_OMIT_ macros inserts to omit features at compile-time
and reduce the library footprint.</li>
<li>The REINDEX command was added.</li>
<li>The engine no longer consults the main table if it can get
all the information it needs from an index.</li>
<li>Many nuisance bugs fixed.</li>
</ul></p><a name="version_3_0_8"></a>
<h3>2004-10-11 (3.0.8)</h3><p><ul>
<li>Add support for DEFERRED, IMMEDIATE, and EXCLUSIVE transactions.</li>
<li>Allow new user-defined functions to be created when there are
already one or more precompiled SQL statements.<li>
<li>Fix portability problems for MinGW/MSYS.</li>
<li>Fix a byte alignment problem on 64-bit Sparc machines.</li>
<li>Fix the ".import" command of the shell so that it ignores \r
characters at the end of lines.</li>
<li>The "csv" mode option in the shell puts strings inside double-quotes.</li>
<li>Fix typos in documentation.</li>
<li>Convert array constants in the code to have type "const".</li>
<li>Numerous code optimizations, specially optimizations designed to
make the code footprint smaller.</li>
</ul></p><a name="version_3_0_7"></a>
<h3>2004-09-18 (3.0.7)</h3><p><ul>
<li>The BTree module allocates large buffers using malloc() instead of
off of the stack, in order to play better on machines with limited
stack space.</li>
<li>Fixed naming conflicts so that versions 2.8 and 3.0 can be
linked and used together in the same ANSI-C source file.</li>
<li>New interface: sqlite3_bind_parameter_index()</li>
<li>Add support for wildcard parameters of the form: "?nnn"</li>
<li>Fix problems found on 64-bit systems.</li>
<li>Removed encode.c file (containing unused routines) from the
version 3.0 source tree.</li>
<li>The sqlite3_trace() callbacks occur before each statement
is executed, not when the statement is compiled.</li>
<li>Makefile updates and miscellaneous bug fixes.</li>
</ul></p><h3>2004-09-02 (3.0.6 beta)</h3><p><ul>
<li>Better detection and handling of corrupt database files.</li>
<li>The sqlite3_step() interface returns SQLITE_BUSY if it is unable
to commit a change because of a lock</li>
<li>Combine the implementations of LIKE and GLOB into a single
pattern-matching subroutine.</li>
<li>Miscellaneous code size optimizations and bug fixes</li>
</ul></p><h3>2004-08-29 (3.0.5 beta)</h3><p><ul>
<li>Support for ":AAA" style bind parameter names.</li>
<li>Added the new sqlite3_bind_parameter_name() interface.</li>
<li>Support for TCL variable names embedded in SQL statements in the
TCL bindings.</li>
<li>The TCL bindings transfer data without necessarily doing a conversion
to a string.</li>
<li>The database for TEMP tables is not created until it is needed.</li>
<li>Add the ability to specify an alternative temporary file directory
using the "sqlite_temp_directory" global variable.</li>
<li>A compile-time option (SQLITE_BUSY_RESERVED_LOCK) causes the busy
handler to be called when there is contention for a RESERVED lock.</li>
<li>Various bug fixes and optimizations</li>
</ul></p><h3>2004-08-08 (3.0.4 beta)</h3><p><ul>
<li>CREATE TABLE and DROP TABLE now work correctly as prepared statements.</li>
<li>Fix a bug in VACUUM and UNIQUE indices.</li>
<li>Add the ".import" command to the command-line shell.</li>
<li>Fix a bug that could cause index corruption when an attempt to
delete rows of a table is blocked by a pending query.</li>
<li>Library size optimizations.</li>
<li>Other minor bug fixes.</li>
</ul></p><a name="version_2_8_15"></a>
<h3>2004-07-22 (2.8.15)</h3><p><ul>
<li>This is a maintenance release only. Various minor bugs have been
fixed and some portability enhancements are added.</li>
</ul></p><h3>2004-07-22 (3.0.3 beta)</h3><p><ul>
<li>The second beta release for SQLite 3.0.</li>
<li>Add support for "PRAGMA page_size" to adjust the page size of
the database.</li>
<li>Various bug fixes and documentation updates.</li>
</ul></p><h3>2004-06-30 (3.0.2 beta)</h3><p><ul>
<li>The first beta release for SQLite 3.0.</li>
</ul></p><h3>2004-06-22 (3.0.1 alpha)</h3><p><ul>
<li><font color="red"><b>
*** Alpha Release - Research And Testing Use Only ***</b></font>
<li>Lots of bug fixes.</li>
</ul></p><h3>2004-06-18 (3.0.0 alpha)</h3><p><ul>
<li><font color="red"><b>
*** Alpha Release - Research And Testing Use Only ***</b></font>
<li>Support for internationalization including UTF-8, UTF-16, and
user defined collating sequences.</li>
<li>New file format that is 25% to 35% smaller for typical use.</li>
<li>Improved concurrency.</li>
<li>Atomic commits for ATTACHed databases.</li>
<li>Remove cruft from the APIs.</li>
<li>BLOB support.</li>
<li>64-bit rowids.</li>
<li><a href="version3.html">More information</a>.
</ul></p><a name="version_2_8_14"></a>
<h3>2004-06-09 (2.8.14)</h3><p><ul>
<li>Fix the min() and max() optimizer so that it works when the FROM
clause consists of a subquery.</li>
<li>Ignore extra whitespace at the end of of "." commands in the shell.</li>
<li>Bundle sqlite_encode_binary() and sqlite_decode_binary() with the
library.</li>
<li>The TEMP_STORE and DEFAULT_TEMP_STORE pragmas now work.</li>
<li>Code changes to compile cleanly using OpenWatcom.</li>
<li>Fix VDBE stack overflow problems with INSTEAD OF triggers and
NULLs in IN operators.</li>
<li>Add the global variable sqlite_temp_directory which if set defines the
directory in which temporary files are stored.</li>
<li>sqlite_interrupt() plays well with VACUUM.</li>
<li>Other minor bug fixes.</li>
</ul></p><a name="version_2_8_13"></a>
<h3>2004-03-08 (2.8.13)</h3><p><ul>
<li>Refactor parts of the code in order to make the code footprint
smaller. The code is now also a little bit faster.</li>
<li>sqlite_exec() is now implemented as a wrapper around sqlite_compile()
and sqlite_step().</li>
<li>The built-in min() and max() functions now honor the difference between
NUMERIC and TEXT datatypes. Formerly, min() and max() always assumed
their arguments were of type NUMERIC.</li>
<li>New HH:MM:SS modifier to the built-in date/time functions.</li>
<li>Experimental sqlite_last_statement_changes() API added. Fixed
the last_insert_rowid() function so that it works correctly with
triggers.</li>
<li>Add functions prototypes for the database encryption API.</li>
<li>Fix several nuisance bugs.</li>
</ul></p><a name="version_2_8_12"></a>
<h3>2004-02-08 (2.8.12)</h3><p><ul>
<li>Fix a bug that will might corrupt the rollback journal if a power failure
or external program halt occurs in the middle of a COMMIT. The corrupt
journal can lead to database corruption when it is rolled back.</li>
<li>Reduce the size and increase the speed of various modules, especially
the virtual machine.</li>
<li>Allow "<expr> IN <table>" as a shorthand for
"<expr> IN (SELECT * FROM <table>".</li>
<li>Optimizations to the sqlite_mprintf() routine.</li>
<li>Make sure the MIN() and MAX() optimizations work within subqueries.</li>
</ul></p><a name="version_2_8_11"></a>
<h3>2004-01-14 (2.8.11)</h3><p><ul>
<li>Fix a bug in how the IN operator handles NULLs in subqueries. The bug
was introduced by the previous release.</li>
</ul></p><a name="version_2_8_10"></a>
<h3>2004-01-13 (2.8.10)</h3><p><ul>
<li>Fix a potential database corruption problem on Unix caused by the fact
that all POSIX advisory locks are cleared whenever you close() a file.
The work around it to embargo all close() calls while locks are
outstanding.</li>
<li>Performance enhancements on some corner cases of COUNT(*).</li>
<li>Make sure the in-memory backend response sanely if malloc() fails.</li>
<li>Allow sqlite_exec() to be called from within user-defined SQL
functions.</li>
<li>Improved accuracy of floating-point conversions using "long double".</li>
<li>Bug fixes in the experimental date/time functions.</li>
</ul></p><a name="version_2_8_9"></a>
<h3>2004-01-05 (2.8.9)</h3><p><ul>
<li>Fix a 32-bit integer overflow problem that could result in corrupt
indices in a database if large negative numbers (less than -2147483648)
were inserted into an indexed numeric column.</li>
<li>Fix a locking problem on multi-threaded Linux implementations.</li>
<li>Always use "." instead of "," as the decimal point even if the locale
requests ",".</li>
<li>Added UTC to localtime conversions to the experimental date/time
functions.</li>
<li>Bug fixes to date/time functions.</li>
</ul></p><a name="version_2_8_8"></a>
<h3>2003-12-17 (2.8.8)</h3><p><ul>
<li>Fix a critical bug introduced into 2.8.0 which could cause
database corruption.</li>
<li>Fix a problem with 3-way joins that do not use indices</li>
<li>The VACUUM command now works with the non-callback API</li>
<li>Improvements to the "PRAGMA integrity_check" command</li>
</ul></p><a name="version_2_8_7"></a>
<h3>2003-12-04 (2.8.7)</h3><p><ul>
<li>Added experimental sqlite_bind() and sqlite_reset() APIs.</li>
<li>If the name of the database is an empty string, open a new database
in a temporary file that is automatically deleted when the database
is closed.</li>
<li>Performance enhancements in the lemon-generated parser</li>
<li>Experimental date/time functions revised.</li>
<li>Disallow temporary indices on permanent tables.</li>
<li>Documentation updates and typo fixes</li>
<li>Added experimental sqlite_progress_handler() callback API</li>
<li>Removed support for the Oracle8 outer join syntax.</li>
<li>Allow GLOB and LIKE operators to work as functions.</li>
<li>Other minor documentation and makefile changes and bug fixes.</li>
</ul></p><a name="version_2_8_6"></a>
<h3>2003-08-21 (2.8.6)</h3><p><ul>
<li>Moved the CVS repository to www.sqlite.org</li>
<li>Update the NULL-handling documentation.</li>
<li>Experimental date/time functions added.</li>
<li>Bug fix: correctly evaluate a view of a view without segfaulting.</li>
<li>Bug fix: prevent database corruption if you dropped a
trigger that had the same name as a table.</li>
<li>Bug fix: allow a VACUUM (without segfaulting) on an empty
database after setting the EMPTY_RESULT_CALLBACKS pragma.</li>
<li>Bug fix: if an integer value will not fit in a 32-bit int, store it in
a double instead.</li>
<li>Bug fix: Make sure the journal file directory entry is committed to disk
before writing the database file.</li>
</ul></p><a name="version_2_8_5"></a>
<h3>2003-07-22 (2.8.5)</h3><p><ul>
<li>Make LIMIT work on a compound SELECT statement.</li>
<li>LIMIT 0 now shows no rows. Use LIMIT -1 to see all rows.</li>
<li>Correctly handle comparisons between an INTEGER PRIMARY KEY and
a floating point number.</li>
<li>Fix several important bugs in the new ATTACH and DETACH commands.</li>
<li>Updated the <a href="nulls.html">NULL-handling document</a>.</li>
<li>Allow NULL arguments in sqlite_compile() and sqlite_step().</li>
<li>Many minor bug fixes</li>
</ul></p><a name="version_2_8_4"></a>
<h3>2003-06-29 (2.8.4)</h3><p><ul>
<li>Enhanced the "PRAGMA integrity_check" command to verify indices.</li>
<li>Added authorization hooks for the new ATTACH and DETACH commands.</li>
<li>Many documentation updates</li>
<li>Many minor bug fixes</li>
</ul></p><a name="version_2_8_3"></a>
<h3>2003-06-04 (2.8.3)</h3><p><ul>
<li>Fix a problem that will corrupt the indices on a table if you
do an INSERT OR REPLACE or an UPDATE OR REPLACE on a table that
contains an INTEGER PRIMARY KEY plus one or more indices.</li>
<li>Fix a bug in Windows locking code so that locks work correctly
when simultaneously accessed by Win95 and WinNT systems.</li>
<li>Add the ability for INSERT and UPDATE statements to refer to the
"rowid" (or "_rowid_" or "oid") columns.</li>
<li>Other important bug fixes</li>
</ul></p><a name="version_2_8_2"></a>
<h3>2003-05-17 (2.8.2)</h3><p><ul>
<li>Fix a problem that will corrupt the database file if you drop a
table from the main database that has a TEMP index.</li>
</ul></p><a name="version_2_8_1"></a>
<h3>2003-05-16 (2.8.1)</h3><p><ul>
<li>Reactivated the VACUUM command that reclaims unused disk space in
a database file.</li>
<li>Added the ATTACH and DETACH commands to allow interacting with multiple
database files at the same time.</li>
<li>Added support for TEMP triggers and indices.</li>
<li>Added support for in-memory databases.</li>
<li>Removed the experimental sqlite_open_aux_file(). Its function is
subsumed in the new ATTACH command.</li>
<li>The precedence order for ON CONFLICT clauses was changed so that
ON CONFLICT clauses on BEGIN statements have a higher precedence than
ON CONFLICT clauses on constraints.
<li>Many, many bug fixes and compatibility enhancements.</li>
</ul></p><a name="version_2_8_0"></a>
<h3>2003-02-16 (2.8.0)</h3><p><ul>
<li>Modified the journal file format to make it more resistant to corruption
that can occur after an OS crash or power failure.</li>
<li>Added a new C/C++ API that does not use callback for returning data.</li>
</ul></p><a name="version_2_7_6"></a>
<h3>2003-01-25 (2.7.6)</h3><p><ul>
<li>Performance improvements. The library is now much faster.</li>
<li>Added the <b>sqlite_set_authorizer()</b> API. Formal documentation has
not been written - see the source code comments for instructions on
how to use this function.</li>
<li>Fix a bug in the GLOB operator that was preventing it from working
with upper-case letters.</li>
<li>Various minor bug fixes.</li>
</ul></p><a name="version_2_7_5"></a>
<h3>2002-12-27 (2.7.5)</h3><p><ul>
<li>Fix an uninitialized variable in pager.c which could (with a probability
of about 1 in 4 billion) result in a corrupted database.</li>
</ul></p><a name="version_2_7_4"></a>
<h3>2002-12-17 (2.7.4)</h3><p><ul>
<li>Database files can now grow to be up to 2^41 bytes. The old limit
was 2^31 bytes.</li>
<li>The optimizer will now scan tables in the reverse if doing so will
satisfy an ORDER BY ... DESC clause.</li>
<li>The full pathname of the database file is now remembered even if
a relative path is passed into sqlite_open(). This allows
the library to continue operating correctly after a chdir().</li>
<li>Speed improvements in the VDBE.</li>
<li>Lots of little bug fixes.</li>
</ul></p><a name="version_2_7_3"></a>
<h3>2002-10-30 (2.7.3)</h3><p><ul>
<li>Various compiler compatibility fixes.</li>
<li>Fix a bug in the "expr IN ()" operator.</li>
<li>Accept column names in parentheses.</li>
<li>Fix a problem with string memory management in the VDBE</li>
<li>Fix a bug in the "table_info" pragma"</li>
<li>Export the sqlite_function_type() API function in the Windows DLL</li>
<li>Fix locking behavior under Windows</li>
<li>Fix a bug in LEFT OUTER JOIN</li>
</ul></p><a name="version_2_7_2"></a>
<h3>2002-09-25 (2.7.2)</h3><p><ul>
<li>Prevent journal file overflows on huge transactions.</li>
<li>Fix a memory leak that occurred when sqlite_open() failed.</li>
<li>Honor the ORDER BY and LIMIT clause of a SELECT even if the
result set is used for an INSERT.</li>
<li>Do not put write locks on the file used to hold TEMP tables.</li>
<li>Added documentation on SELECT DISTINCT and on how SQLite handles NULLs.</li>
<li>Fix a problem that was causing poor performance when many thousands
of SQL statements were executed by a single sqlite_exec() call.</li>
</ul></p><a name="version_2_7_1"></a>
<h3>2002-08-31 (2.7.1)</h3><p><ul>
<li>Fix a bug in the ORDER BY logic that was introduced in version 2.7.0</li>
<li>C-style comments are now accepted by the tokenizer.</li>
<li>INSERT runs a little faster when the source is a SELECT statement.</li>
</ul></p><a name="version_2_7_0"></a>
<h3>2002-08-25 (2.7.0)</h3><p><ul>
<li>Make a distinction between numeric and text values when sorting.
Text values sort according to memcmp(). Numeric values sort in
numeric order.</li>
<li>Allow multiple simultaneous readers under Windows by simulating
the reader/writers locks that are missing from Win95/98/ME.</li>
<li>An error is now returned when trying to start a transaction if
another transaction is already active.</li>
</ul></p><a name="version_2_6_3"></a>
<h3>2002-08-12 (2.6.3)</h3><p><ul>
<li>Add the ability to read both little-endian and big-endian databases.
So a database created under SunOS or Mac OS X can be read and written
under Linux or Windows and vice versa.</li>
<li>Convert to the new website: http://www.sqlite.org/</li>
<li>Allow transactions to span Linux Threads</li>
<li>Bug fix in the processing of the ORDER BY clause for GROUP BY queries</li>
</ul></p><a name="version_2_6_2"></a>
<h3>2002-07-30 (2.6.2)</h3><p><ul>
<li>Text files read by the COPY command can now have line terminators
of LF, CRLF, or CR.</li>
<li>SQLITE_BUSY is handled correctly if encountered during database
initialization.</li>
<li>Fix to UPDATE triggers on TEMP tables.</li>
<li>Documentation updates.</li>
</ul></p><a name="version_2_6_1"></a>
<h3>2002-07-19 (2.6.1)</h3><p><ul>
<li>Include a static string in the library that responds to the RCS
"ident" command and which contains the library version number.</li>
<li>Fix an assertion failure that occurred when deleting all rows of
a table with the "count_changes" pragma turned on.</li>
<li>Better error reporting when problems occur during the automatic
2.5.6 to 2.6.0 database format upgrade.</li>
</ul></p><a name="version_2_6_0"></a>
<h3>2002-07-17 (2.6.0)</h3><p><ul>
<li>Change the format of indices to correct a design flaw the originated
with version 2.1.0. <font color="red">*** This is an incompatible
file format change ***</font> When version 2.6.0 or later of the
library attempts to open a database file created by version 2.5.6 or
earlier, it will automatically and irreversibly convert the file format.
<b>Make backup copies of older database files before opening them with
version 2.6.0 of the library.</b>
</li>
</ul></p><a name="version_2_5_6"></a>
<h3>2002-07-07 (2.5.6)</h3><p><ul>
<li>Fix more problems with rollback. Enhance the test suite to exercise
the rollback logic extensively in order to prevent any future problems.
</li>
</ul></p><a name="version_2_5_5"></a>
<h3>2002-07-06 (2.5.5)</h3><p><ul>
<li>Fix a bug which could cause database corruption during a rollback.
This bugs was introduced in version 2.4.0 by the freelist
optimization of checkin [410].</li>
<li>Fix a bug in aggregate functions for VIEWs.</li>
<li>Other minor changes and enhancements.</li>
</ul></p><a name="version_2_5_4"></a>
<h3>2002-07-01 (2.5.4)</h3><p><ul>
<li>Make the "AS" keyword optional again.</li>
<li>The datatype of columns now appear in the 4th argument to the
callback.</li>
<li>Added the <b>sqlite_open_aux_file()</b> API, though it is still
mostly undocumented and untested.</li>
<li>Added additional test cases and fixed a few bugs that those
test cases found.</li>
</ul></p><a name="version_2_5_3"></a>
<h3>2002-06-24 (2.5.3)</h3><p><ul>
<li>Bug fix: Database corruption can occur due to the optimization
that was introduced in version 2.4.0 (check-in [410]). The problem
should now be fixed. The use of versions 2.4.0 through 2.5.2 is
not recommended.</li>
</ul></p><a name="version_2_5_2"></a>
<h3>2002-06-24 (2.5.2)</h3><p><ul>
<li>Added the new <b>SQLITE_TEMP_MASTER</b> table which records the schema
for temporary tables in the same way that <b>SQLITE_MASTER</b> does for
persistent tables.</li>
<li>Added an optimization to UNION ALL</li>
<li>Fixed a bug in the processing of LEFT OUTER JOIN</li>
<li>The LIMIT clause now works on subselects</li>
<li>ORDER BY works on subselects</li>
<li>There is a new TypeOf() function used to determine if an expression
is numeric or text.</li>
<li>Autoincrement now works for INSERT from a SELECT.</li>
</ul></p><a name="version_2_5_1"></a>
<h3>2002-06-19 (2.5.1)</h3><p><ul>
<li>The query optimizer now attempts to implement the ORDER BY clause
using an index. Sorting is still used if not suitable index is
available.</li>
</ul></p><a name="version_2_5_0"></a>
<h3>2002-06-17 (2.5.0)</h3><p><ul>
<li>Added support for row triggers.</li>
<li>Added SQL-92 compliant handling of NULLs.</li>
<li>Add support for the full SQL-92 join syntax and LEFT OUTER JOINs.</li>
<li>Double-quoted strings interpreted as column names not text literals.</li>
<li>Parse (but do not implement) foreign keys.</li>
<li>Performance improvements in the parser, pager, and WHERE clause code
generator.</li>
<li>Make the LIMIT clause work on subqueries. (ORDER BY still does not
work, though.)</li>
<li>Added the "%Q" expansion to sqlite_*_printf().</li>
<li>Bug fixes too numerous to mention (see the change log).</li>
</ul></p><a name="version_2_4_12"></a>
<h3>2002-05-09 (2.4.12)</h3><p><ul>
<li>Added logic to detect when the library API routines are called out
of sequence.</li>
</ul></p><a name="version_2_4_11"></a>
<h3>2002-05-08 (2.4.11)</h3><p><ul>
<li>Bug fix: Column names in the result set were not being generated
correctly for some (rather complex) VIEWs. This could cause a
segfault under certain circumstances.</li>
</ul></p><a name="version_2_4_10"></a>
<h3>2002-05-02 (2.4.10)</h3><p><ul>
<li>Bug fix: Generate correct column headers when a compound SELECT is used
as a subquery.</li>
<li>Added the sqlite_encode_binary() and sqlite_decode_binary() functions to
the source tree. But they are not yet linked into the library.</li>
<li>Documentation updates.</li>
<li>Export the sqlite_changes() function from Windows DLLs.</li>
<li>Bug fix: Do not attempt the subquery flattening optimization on queries
that lack a FROM clause. To do so causes a segfault.</li>
</ul></p><a name="version_2_4_9"></a>
<h3>2002-04-21 (2.4.9)</h3><p><ul>
<li>Fix a bug that was causing the precompiled binary of SQLITE.EXE to
report "out of memory" under Windows 98.</li>
</ul></p><a name="version_2_4_8"></a>
<h3>2002-04-20 (2.4.8)</h3><p><ul>
<li>Make sure VIEWs are created after their corresponding TABLEs in the
output of the <b>.dump</b> command in the shell.</li>
<li>Speed improvements: Do not do synchronous updates on TEMP tables.</li>
<li>Many improvements and enhancements to the shell.</li>
<li>Make the GLOB and LIKE operators functions that can be overridden
by a programmer. This allows, for example, the LIKE operator to
be changed to be case sensitive.</li>
</ul></p><a name="version_2_4_7"></a>
<h3>2002-04-06 (2.4.7)</h3><p><ul>
<li>Add the ability to put TABLE.* in the column list of a
SELECT statement.</li>
<li>Permit SELECT statements without a FROM clause.</li>
<li>Added the <b>last_insert_rowid()</b> SQL function.</li>
<li>Do not count rows where the IGNORE conflict resolution occurs in
the row count.</li>
<li>Make sure functions expressions in the VALUES clause of an INSERT
are correct.</li>
<li>Added the <b>sqlite_changes()</b> API function to return the number
of row that changed in the most recent operation.</li>
</ul></p><a name="version_2_4_6"></a>
<h3>2002-04-02 (2.4.6)</h3><p><ul>
<li>Bug fix: Correctly handle terms in the WHERE clause of a join that
do not contain a comparison operator.</li>
</ul></p><a name="version_2_4_5"></a>
<h3>2002-04-01 (2.4.5)</h3><p><ul>
<li>Bug fix: Correctly handle functions that appear in the WHERE clause
of a join.</li>
<li>When the PRAGMA vdbe_trace=ON is set, correctly print the P3 operand
value when it is a pointer to a structure rather than a pointer to
a string.</li>
<li>When inserting an explicit NULL into an INTEGER PRIMARY KEY, convert
the NULL value into a unique key automatically.</li>
</ul></p><a name="version_2_4_4"></a>
<h3>2002-03-24 (2.4.4)</h3><p><ul>
<li>Allow "VIEW" to be a column name</li>
<li>Added support for CASE expressions (patch from Dan Kennedy)</li>
<li>Added RPMS to the delivery (patches from Doug Henry)</li>
<li>Fix typos in the documentation</li>
<li>Cut over configuration management to a new CVS repository with
its own CVSTrac bug tracking system.</li>
</ul></p><a name="version_2_4_3"></a>
<h3>2002-03-22 (2.4.3)</h3><p><ul>
<li>Fix a bug in SELECT that occurs when a compound SELECT is used as a
subquery in the FROM of a SELECT.</li>
<li>The <b>sqlite_get_table()</b> function now returns an error if you
give it two or more SELECTs that return different numbers of columns.</li>
</ul></p><a name="version_2_4_2"></a>
<h3>2002-03-14 (2.4.2)</h3><p><ul>
<li>Bug fix: Fix an assertion failure that occurred when ROWID was a column
in a SELECT statement on a view.</li>
<li>Bug fix: Fix an uninitialized variable in the VDBE that would could an
assert failure.</li>
<li>Make the os.h header file more robust in detecting when the compile is
for Windows and when it is for Unix.</li>
</ul></p><a name="version_2_4_1"></a>
<h3>2002-03-13 (2.4.1)</h3><p><ul>
<li>Using an unnamed subquery in a FROM clause would cause a segfault.</li>
<li>The parser now insists on seeing a semicolon or the end of input before
executing a statement. This avoids an accidental disaster if the
WHERE keyword is misspelled in an UPDATE or DELETE statement.</li>
</ul></p><a name="version_2_4_0"></a>
<h3>2002-03-10 (2.4.0)</h3><p><ul>
<li>Change the name of the sanity_check PRAGMA to <b>integrity_check</b>
and make it available in all compiles.</li>
<li>SELECT min() or max() of an indexed column with no WHERE or GROUP BY
clause is handled as a special case which avoids a complete table scan.</li>
<li>Automatically generated ROWIDs are now sequential.</li>
<li>Do not allow dot-commands of the command-line shell to occur in the
middle of a real SQL command.</li>
<li>Modifications to the "lemon" parser generator so that the parser tables
are 4 times smaller.</li>
<li>Added support for user-defined functions implemented in C.</li>
<li>Added support for new functions: <b>coalesce()</b>, <b>lower()</b>,
<b>upper()</b>, and <b>random()</b>
<li>Added support for VIEWs.</li>
<li>Added the subquery flattening optimizer.</li>
<li>Modified the B-Tree and Pager modules so that disk pages that do not
contain real data (free pages) are not journaled and are not
written from memory back to the disk when they change. This does not
impact database integrity, since the
pages contain no real data, but it does make large INSERT operations
about 2.5 times faster and large DELETEs about 5 times faster.</li>
<li>Made the CACHE_SIZE pragma persistent</li>
<li>Added the SYNCHRONOUS pragma</li>
<li>Fixed a bug that was causing updates to fail inside of transactions when
the database contained a temporary table.</li>
</ul></p><a name="version_2_3_3"></a>
<h3>2002-02-18 (2.3.3)</h3><p><ul>
<li>Allow identifiers to be quoted in square brackets, for compatibility
with MS-Access.</li>
<li>Added support for sub-queries in the FROM clause of a SELECT.</li>
<li>More efficient implementation of sqliteFileExists() under Windows.
(by Joel Luscy)</li>
<li>The VALUES clause of an INSERT can now contain expressions, including
scalar SELECT clauses.</li>
<li>Added support for CREATE TABLE AS SELECT</li>
<li>Bug fix: Creating and dropping a table all within a single
transaction was not working.</li>
</ul></p><a name="version_2_3_2"></a>
<h3>2002-02-14 (2.3.2)</h3><p><ul>
<li>Bug fix: There was an incorrect assert() in pager.c. The real code was
all correct (as far as is known) so everything should work OK if you
compile with -DNDEBUG=1. When asserts are not disabled, there
could be a fault.</li>
</ul></p><a name="version_2_3_1"></a>
<h3>2002-02-13 (2.3.1)</h3><p><ul>
<li>Bug fix: An assertion was failing if "PRAGMA full_column_names=ON;" was
set and you did a query that used a rowid, like this:
"SELECT rowid, * FROM ...".</li>
</ul></p><a name="version_2_3_0"></a>
<h3>2002-01-30 (2.3.0)</h3><p><ul>
<li>Fix a serious bug in the INSERT command which was causing data to go
into the wrong columns if the data source was a SELECT and the INSERT
clauses specified its columns in some order other than the default.</li>
<li>Added the ability to resolve constraint conflicts is ways other than
an abort and rollback. See the documentation on the "ON CONFLICT"
clause for details.</li>
<li>Temporary files are now automatically deleted by the operating system
when closed. There are no more dangling temporary files on a program
crash. (If the OS crashes, fsck will delete the file after reboot
under Unix. I do not know what happens under Windows.)</li>
<li>NOT NULL constraints are honored.</li>
<li>The COPY command puts NULLs in columns whose data is '\N'.</li>
<li>In the COPY command, backslash can now be used to escape a newline.</li>
<li>Added the SANITY_CHECK pragma.</li>
</ul></p><a name="version_2_2_5"></a>
<h3>2002-01-28 (2.2.5)</h3><p><ul>
<li>Important bug fix: the IN operator was not working if either the
left-hand or right-hand side was derived from an INTEGER PRIMARY KEY.</li>
<li>Do not escape the backslash '\' character in the output of the
<b>sqlite</b> command-line access program.</li>
</ul></p><a name="version_2_2_4"></a>
<h3>2002-01-22 (2.2.4)</h3><p><ul>
<li>The label to the right of an AS in the column list of a SELECT can now
be used as part of an expression in the WHERE, ORDER BY, GROUP BY, and/or
HAVING clauses.</li>
<li>Fix a bug in the <b>-separator</b> command-line option to the <b>sqlite</b>
command.</li>
<li>Fix a problem with the sort order when comparing upper-case strings against
characters greater than 'Z' but less than 'a'.</li>
<li>Report an error if an ORDER BY or GROUP BY expression is constant.</li>
</ul></p><a name="version_2_2_3"></a>
<h3>2002-01-16 (2.2.3)</h3><p><ul>
<li>Fix warning messages in VC++ 7.0. (Patches from nicolas352001)</li>
<li>Make the library thread-safe. (The code is there and appears to work
but has not been stressed.)</li>
<li>Added the new <b>sqlite_last_insert_rowid()</b> API function.</li>
</ul></p><a name="version_2_2_2"></a>
<h3>2002-01-13 (2.2.2)</h3><p><ul>
<li>Bug fix: An assertion was failing when a temporary table with an index
had the same name as a permanent table created by a separate process.</li>
<li>Bug fix: Updates to tables containing an INTEGER PRIMARY KEY and an
index could fail.</li>
</ul></p><a name="version_2_2_1"></a>
<h3>2002-01-09 (2.2.1)</h3><p><ul>
<li>Bug fix: An attempt to delete a single row of a table with a WHERE
clause of "ROWID=x" when no such rowid exists was causing an error.</li>
<li>Bug fix: Passing in a NULL as the 3rd parameter to <b>sqlite_open()</b>
would sometimes cause a coredump.</li>
<li>Bug fix: DROP TABLE followed by a CREATE TABLE with the same name all
within a single transaction was causing a coredump.</li>
<li>Makefile updates from A. Rottmann</li>
</ul></p><a name="version_2_2_0"></a>
<h3>2001-12-22 (2.2.0)</h3><p><ul>
<li>Columns of type INTEGER PRIMARY KEY are actually used as the primary
key in underlying B-Tree representation of the table.</li>
<li>Several obscure, unrelated bugs were found and fixed while
implemented the integer primary key change of the previous bullet.</li>
<li>Added the ability to specify "*" as part of a larger column list in
the result section of a SELECT statement. For example:
<nobr>"<b>SELECT rowid, * FROM table1;</b>"</nobr>.</li>
<li>Updates to comments and documentation.</li>
</ul></p><a name="version_2_1_7"></a>
<h3>2001-12-14 (2.1.7)</h3><p><ul>
<li>Fix a bug in <b>CREATE TEMPORARY TABLE</b> which was causing the
table to be initially allocated in the main database file instead
of in the separate temporary file. This bug could cause the library
to suffer an assertion failure and it could cause "page leaks" in the
main database file.
<li>Fix a bug in the b-tree subsystem that could sometimes cause the first
row of a table to be repeated during a database scan.</li>
</ul></p><a name="version_2_1_6"></a>
<h3>2001-12-14 (2.1.6)</h3><p><ul>
<li>Fix the locking mechanism yet again to prevent
<b>sqlite_exec()</b> from returning SQLITE_PROTOCOL
unnecessarily. This time the bug was a race condition in
the locking code. This change affects both POSIX and Windows users.</li>
</ul></p><a name="version_2_1_5"></a>
<h3>2001-12-06 (2.1.5)</h3><p><ul>
<li>Fix for another problem (unrelated to the one fixed in 2.1.4)
that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL
unnecessarily. This time the bug was
in the POSIX locking code and should not effect Windows users.</li>
</ul></p><a name="version_2_1_4"></a>
<h3>2001-12-04 (2.1.4)</h3><p><ul>
<li>Sometimes <b>sqlite_exec()</b> would return SQLITE_PROTOCOL when it
should have returned SQLITE_BUSY.</li>
<li>The fix to the previous bug uncovered a deadlock which was also
fixed.</li>
<li>Add the ability to put a single .command in the second argument
of the sqlite shell</li>
<li>Updates to the FAQ</li>
</ul></p><a name="version_2_1_3"></a>
<h3>2001-11-23 (2.1.3)</h3><p><ul>
<li>Fix the behavior of comparison operators
(ex: "<b><</b>", "<b>==</b>", etc.)
so that they are consistent with the order of entries in an index.</li>
<li>Correct handling of integers in SQL expressions that are larger than
what can be represented by the machine integer.</li>
</ul></p><a name="version_2_1_2"></a>
<h3>2001-11-22 (2.1.2)</h3><p><ul>
<li>Changes to support 64-bit architectures.</li>
<li>Fix a bug in the locking protocol.</li>
<li>Fix a bug that could (rarely) cause the database to become
unreadable after a DROP TABLE due to corruption to the SQLITE_MASTER
table.</li>
<li>Change the code so that version 2.1.1 databases that were rendered
unreadable by the above bug can be read by this version of
the library even though the SQLITE_MASTER table is (slightly)
corrupted.</li>
</ul></p><a name="version_2_1_1"></a>
<h3>2001-11-13 (2.1.1)</h3><p><ul>
<li>Bug fix: Sometimes arbitrary strings were passed to the callback
function when the actual value of a column was NULL.</li>
</ul></p><a name="version_2_1_0"></a>
<h3>2001-11-12 (2.1.0)</h3><p><ul>
<li>Change the format of data records so that records up to 16MB in size
can be stored.</li>
<li>Change the format of indices to allow for better query optimization.</li>
<li>Implement the "LIMIT ... OFFSET ..." clause on SELECT statements.</li>
</ul></p><a name="version_2_0_8"></a>
<h3>2001-11-03 (2.0.8)</h3><p><ul>
<li>Made selected parameters in API functions <b>const</b>. This should
be fully backwards compatible.</li>
<li>Documentation updates</li>
<li>Simplify the design of the VDBE by restricting the number of sorters
and lists to 1.
In practice, no more than one sorter and one list was ever used anyhow.
</li>
</ul></p><a name="version_2_0_7"></a>
<h3>2001-10-21 (2.0.7)</h3><p><ul>
<li>Any UTF-8 character or ISO8859 character can be used as part of
an identifier.</li>
<li>Patches from Christian Werner to improve ODBC compatibility and to
fix a bug in the round() function.</li>
<li>Plug some memory leaks that use to occur if malloc() failed.
We have been and continue to be memory leak free as long as
malloc() works.</li>
<li>Changes to some test scripts so that they work on Windows in
addition to Unix.</li>
</ul></p><a name="version_2_0_6"></a>
<h3>2001-10-19 (2.0.6)</h3><p><ul>
<li>Added the EMPTY_RESULT_CALLBACKS pragma</li>
<li>Support for UTF-8 and ISO8859 characters in column and table names.</li>
<li>Bug fix: Compute correct table names with the FULL_COLUMN_NAMES pragma
is turned on.</li>
</ul></p><a name="version_2_0_5"></a>
<h3>2001-10-14 (2.0.5)</h3><p><ul>
<li>Added the COUNT_CHANGES pragma.</li>
<li>Changes to the FULL_COLUMN_NAMES pragma to help out the ODBC driver.</li>
<li>Bug fix: "SELECT count(*)" was returning NULL for empty tables.
Now it returns 0.</li>
</ul></p><a name="version_2_0_4"></a>
<h3>2001-10-13 (2.0.4)</h3><p><ul>
<li>Bug fix: an obscure and relatively harmless bug was causing one of
the tests to fail when gcc optimizations are turned on. This release
fixes the problem.</li>
</ul></p><a name="version_2_0_3"></a>
<h3>2001-10-13 (2.0.3)</h3><p><ul>
<li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000
times too long before failing.</li>
<li>Bug fix: an assertion was failing if the disk holding the database
file became full or stopped accepting writes for some other reason.
New tests were added to detect similar problems in the future.</li>
<li>Added new operators: <b>&</b> (bitwise-and)
<b>|</b> (bitwise-or), <b>~</b> (ones-complement),
<b><<</b> (shift left), <b>>></b> (shift right).</li>
<li>Added new functions: <b>round()</b> and <b>abs()</b>.</li>
</ul></p><a name="version_2_0_2"></a>
<h3>2001-10-09 (2.0.2)</h3><p><ul>
<li>Fix two bugs in the locking protocol. (One was masking the other.)</li>
<li>Removed some unused "#include <unistd.h>" that were causing problems
for VC++.</li>
<li>Fixed <b>sqlite.h</b> so that it is usable from C++</li>
<li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of
columns are reported back as TABLE.COLUMN instead of just COLUMN.</li>
<li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the
ODBC interface.</li>
<li>Added support for TEMPORARY tables and indices.</li>
</ul></p><a name="version_2_0_1"></a>
<h3>2001-10-02 (2.0.1)</h3><p><ul>
<li>Remove some C++ style comments from btree.c so that it will compile
using compilers other than gcc.</li>
<li>The ".dump" output from the shell does not work if there are embedded
newlines anywhere in the data. This is an old bug that was carried
forward from version 1.0. To fix it, the ".dump" output no longer
uses the COPY command. It instead generates INSERT statements.</li>
<li>Extend the expression syntax to support "expr NOT NULL" (with a
space between the "NOT" and the "NULL") in addition to "expr NOTNULL"
(with no space).</li>
</ul></p><a name="version_2_0_0"></a>
<h3>200-09-28 (2.0.0)</h3><p><ul>
<li>Automatically build binaries for Linux and Windows and put them on
the website.</li>
</ul></p><h3>2001-09-28 (2.0-alpha-4)</h3><p><ul>
<li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li>
</ul></p><h3>2001-09-27 (2.0-alpha-3)</h3><p><ul>
<li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary
keys are required to be unique.</li>
<li>File format changed back to what it was for alpha-1</li>
<li>Fixes to the rollback and locking behavior</li>
</ul></p><h3>2001-09-20 (2.0-alpha-2)</h3><p><ul>
<li>Initial release of version 2.0. The idea of renaming the library
to "SQLus" was abandoned in favor of keeping the "SQLite" name and
bumping the major version number.</li>
<li>The pager and btree subsystems added back. They are now the only
available backend.</li>
<li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li>
<li>Copyright on all code was disclaimed. The library is now in the
public domain.</li>
</ul></p><a name="version_1_0_32"></a>
<h3>2001-07-23 (1.0.32)</h3><p><ul>
<li>Pager and btree subsystems removed. These will be used in a follow-on
SQL server library named "SQLus".</li>
<li>Add the ability to use quoted strings as table and column names in
expressions.</li>
</ul></p><a name="version_1_0_31"></a>
<h3>2001-04-14 (1.0.31)</h3><p><ul>
<li>Pager subsystem added but not yet used.</li>
<li>More robust handling of out-of-memory errors.</li>
<li>New tests added to the test suite.</li>
</ul></p><a name="version_1_0_30"></a>
<h3>2001-04-06 (1.0.30)</h3><p><ul>
<li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
in the previous version.</li>
<li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
<b>sqlite</b> TCL command.</li>
<li>Add tests to make sure that tclsqlite was compiled using Tcl header
files and libraries that match.</li>
</ul></p><a name="version_1_0_29"></a>
<h3>2001-04-05 (1.0.29)</h3><p><ul>
<li>The library now assumes data is stored as UTF-8 if the --enable-utf8
option is given to configure. The default behavior is to assume
iso8859-x, as it has always done. This only makes a difference for
LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
<li>If the library is not configured for UTF-8 and the Tcl library
is one of the newer ones that uses UTF-8 internally,
then a conversion from UTF-8 to iso8859 and
back again is done inside the TCL interface.</li>
</ul></p><a name="version_1_0_28"></a>
<h3>2001-04-04 (1.0.28)</h3><p><ul>
<li>Added limited support for transactions. At this point, transactions
will do table locking on the GDBM backend. There is no support (yet)
for rollback or atomic commit.</li>
<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
unique random integer key associated with every row of every table.</li>
<li>Additional tests added to the regression suite to cover the new ROWID
feature and the TCL interface bugs mentioned below.</li>
<li>Changes to the "lemon" parser generator to help it work better when
compiled using MSVC.</li>
<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
</ul></p><a name="version_1_0_27"></a>
<h3>2001-03-20 (1.0.27)</h3><p><ul>
<li>When doing DELETE and UPDATE, the library used to write the record
numbers of records to be deleted or updated into a temporary file.
This is changed so that the record numbers are held in memory.</li>
<li>The DELETE command without a WHILE clause just removes the database
files from the disk, rather than going through and deleting record
by record.</li>
</ul></p><a name="version_1_0_26"></a>
<h3>2001-03-20 (1.0.26)</h3><p><ul>
<li>A serious bug fixed on Windows. Windows users should upgrade.
No impact to Unix.</li>
</ul></p><a name="version_1_0_25"></a>
<h3>2001-03-15 (1.0.25)</h3><p><ul>
<li>Modify the test scripts to identify tests that depend on system
load and processor speed and
to warn the user that a failure of one of those (rare) tests does
not necessarily mean the library is malfunctioning. No changes to
code.
</li>
</ul></p><a name="version_1_0_24"></a>
<h3>2001-03-14 (1.0.24)</h3><p><ul>
<li>Fix a bug which was causing
the UPDATE command to fail on systems where "malloc(0)" returns
NULL. The problem does not appear on Windows, Linux, or HPUX but does
cause the library to fail on QNX.
</li>
</ul></p><a name="version_1_0_23"></a>
<h3>2001-02-19 (1.0.23)</h3><p><ul>
<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
for figuring out where to put temporary files for a "memory:" database
was not working quite right.
</li>
</ul></p><a name="version_1_0_22"></a>
<h3>2001-02-19 (1.0.22)</h3><p><ul>
<li>The previous fix was not quite right. This one seems to work better.
</li>
</ul></p><a name="version_1_0_21"></a>
<h3>2001-02-19 (1.0.21)</h3><p><ul>
<li>The UPDATE statement was not working when the WHERE clause contained
some terms that could be satisfied using indices and other terms that
could not. Fixed.</li>
</ul></p><a name="version_1_0_20"></a>
<h3>2001-02-11 (1.0.20)</h3><p><ul>
<li>Merge development changes into the main trunk. Future work toward
using a BTree file structure will use a separate CVS source tree. This
CVS tree will continue to support the GDBM version of SQLite only.</li>
</ul></p><a name="version_1_0_19"></a>
<h3>2001-02-06 (1.0.19)</h3><p><ul>
<li>Fix a strange (but valid) C declaration that was causing problems
for QNX. No logical changes.</li>
</ul></p><a name="version_1_0_18"></a>
<h3>2001-01-04 (1.0.18)</h3><p><ul>
<li>Print the offending SQL statement when an error occurs.</li>
<li>Do not require commas between constraints in CREATE TABLE statements.</li>
<li>Added the "-echo" option to the shell.</li>
<li>Changes to comments.</li>
</ul></p><a name="version_1_0_17"></a>
<h3>2000-12-10 (1.0.17)</h3><p><ul>
<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
<li>Minor tweaks to other code to make it run a little faster.</li>
<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
</ul></p><a name="version_1_0_16"></a>
<h3>2000-12-04 (1.0.16)</h3><p><ul>
<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
</ul></p><a name="version_1_0_15"></a>
<h3>2000-10-23 (1.0.15)</h3><p><ul>
<li>Documentation updates</li>
<li>Some sanity checking code was removed from the inner loop of vdbe.c
to help the library to run a little faster. The code is only
removed if you compile with -DNDEBUG.</li>
</ul></p><a name="version_1_0_14"></a>
<h3>2000-10-19 (1.0.14)</h3><p><ul>
<li>Added a "memory:" backend driver that stores its database in an
in-memory hash table.</li>
</ul></p><a name="version_1_0_13"></a>
<h3>2000-10-18 (1.0.13)</h3><p><ul>
<li>Break out the GDBM driver into a separate file in anticipation
to added new drivers.</li>
<li>Allow the name of a database to be prefixed by the driver type.
For now, the only driver type is "gdbm:".</li>
</ul></p><a name="version_1_0_12"></a>
<h3>2000-10-16 (1.0.12)</h3><p><ul>
<li>Fixed an off-by-one error that was causing a coredump in
the '%q' format directive of the new
<b>sqlite_..._printf()</b> routines.</li>
<li>Added the <b>sqlite_interrupt()</b> interface.</li>
<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
user presses Control-C</li>
<li>Fixed some instances where <b>sqlite_exec()</b> was
returning the wrong error code.</li>
</ul></p><a name="version_1_0_10"></a>
<h3>2000-10-11 (1.0.10)</h3><p><ul>
<li>Added notes on how to compile for Windows95/98.</li>
<li>Removed a few variables that were not being used. Etc.</li>
</ul></p><a name="version_1_0_9"></a>
<h3>2000-10-08 (1.0.9)</h3><p><ul>
<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
<li>Modified the <b>sqlite</b> shell program to use the new interface
routines.</li>
<li>Modified the <b>sqlite</b> shell program to print the schema for
the built-in SQLITE_MASTER table, if explicitly requested.</li>
</ul></p><a name="version_1_0_8"></a>
<h3>2000-09-30 (1.0.8)</h3><p><ul>
<li>Begin writing documentation on the TCL interface.</li>
</ul></p><h3>2000-09-29 (Not Released)</h3><p><ul>
<li>Added the <b>sqlite_get_table()</b> API</li>
<li>Updated the documentation for due to the above change.</li>
<li>Modified the <b>sqlite</b> shell to make use of the new
sqlite_get_table() API in order to print a list of tables
in multiple columns, similar to the way "ls" prints filenames.</li>
<li>Modified the <b>sqlite</b> shell to print a semicolon at the
end of each CREATE statement in the output of the ".schema" command.</li>
</ul></p><h3>2000-09-21 (Not Released)</h3><p><ul>
<li>Change the tclsqlite "eval" method to return a list of results if
no callback script is specified.</li>
<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
<li>Add tclsqlite.c to the libsqlite.a library</li>
</ul></p><h3>2000-09-13 (Version 1.0.5)</h3><p><ul>
<li>Changed the print format for floating point values from "%g" to "%.15g".
</li>
<li>Changed the comparison function so that numbers in exponential notation
(ex: 1.234e+05) sort in numerical order.</li>
</ul></p><h3>2000-08-28 (Version 1.0.4)</h3><p><ul>
<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
<li>Fix a bug in the <b>sqlite</b> shell program that was causing
a coredump when the output mode was "column" and the first row
of data contained a NULL.</li>
</ul></p><h3>2000-08-22 (Version 1.0.3)</h3><p><ul>
<li>In the sqlite shell, print the "Database opened READ ONLY" message
to stderr instead of stdout.</li>
<li>In the sqlite shell, now print the version number on initial startup.</li>
<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
<li>Makefile updates</li>
<li>Bug fix: incorrect VDBE code was being generated for the following
circumstance: a query on an indexed table containing a WHERE clause with
an IN operator that had a subquery on its right-hand side.</li>
</ul></p><h3>2000-08-18 (Version 1.0.1)</h3><p><ul>
<li>Fix a bug in the configure script.</li>
<li>Minor revisions to the website.</li>
</ul></p><h3>2000-08-17 (Version 1.0)</h3><p><ul>
<li>Change the <b>sqlite</b> program so that it can read
databases for which it lacks write permission. (It used to
refuse all access if it could not write.)</li>
</ul></p><h3>2000-08-09</h3><p><ul>
<li>Treat carriage returns as white space.</li>
</ul></p><h3>2000-08-08</h3><p><ul>
<li>Added pattern matching to the ".table" command in the "sqlite"
command shell.</li>
</ul></p><h3>2000-08-04</h3><p><ul>
<li>Documentation updates</li>
<li>Added "busy" and "timeout" methods to the Tcl interface</li>
</ul></p><h3>2000-08-03</h3><p><ul>
<li>File format version number was being stored in sqlite_master.tcl
multiple times. This was harmless, but unnecessary. It is now fixed.</li>
</ul></p><h3>2000-08-02</h3><p><ul>
<li>The file format for indices was changed slightly in order to work
around an inefficiency that can sometimes come up with GDBM when
there are large indices having many entries with the same key.
<font color="red">** Incompatible Change **</font></li>
</ul></p><h3>2000-08-01</h3><p><ul>
<li>The parser's stack was overflowing on a very long UPDATE statement.
This is now fixed.</li>
</ul></p><h3>2000-07-31</h3><p><ul>
<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
<li>Added documentation on compiling to WinNT.</li>
<li>Fix a configuration program for WinNT.</li>
<li>Fix a configuration problem for HPUX.</li>
</ul></p><h3>2000-07-29</h3><p><ul>
<li>Better labels on column names of the result.</li>
</ul></p><h3>2000-07-28</h3><p><ul>
<li>Added the <b>sqlite_busy_handler()</b>
and <b>sqlite_busy_timeout()</b> interface.</li>
</ul></p><h3>2000-06-23</h3><p><ul>
<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
</ul></p><h3>2000-06-21</h3><p><ul>
<li>Clean up comments and variable names. Changes to documentation.
No functional changes to the code.</li>
</ul></p><h3>2000-06-19</h3><p><ul>
<li>Column names in UPDATE statements were case sensitive.
This mistake has now been fixed.</li>
</ul></p><h3>2000-06-18</h3><p><ul>
<li>Added the concatenate string operator (||)</li>
</ul></p><h3>2000-06-12</h3><p><ul>
<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
returns the number of database "Fetch" operations that have occurred.
This function is designed for use in test scripts to verify that
queries are efficient and appropriately optimized. Fcnt() has no other
useful purpose, as far as I know.</li>
<li>Added a bunch more tests that take advantage of the new fcnt() function.
The new tests did not uncover any new problems.</li>
</ul></p><h3>2000-06-08</h3><p><ul>
<li>Added lots of new test cases</li>
<li>Fix a few bugs discovered while adding test cases</li>
<li>Begin adding lots of new documentation</li>
</ul></p><h3>2000-06-06</h3><p><ul>
<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
<b>INTERSECT</b>, and <b>EXCEPT</b></li>
<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
<li>NULL values are now reported to the callback as a NULL pointer
rather than an empty string.</li>
</ul></p><h3>2000-06-03</h3><p><ul>
<li>Added support for default values on columns of a table.</li>
<li>Improved test coverage. Fixed a few obscure bugs found by the
improved tests.</li>
</ul></p><h3>2000-06-02</h3><p><ul>
<li>All database files to be modified by an UPDATE, INSERT or DELETE are
now locked before any changes are made to any files.
This makes it safe (I think) to access
the same database simultaneously from multiple processes.</li>
<li>The code appears stable so we are now calling it "beta".</li>
</ul></p><h3>2000-06-01</h3><p><ul>
<li>Better support for file locking so that two or more processes
(or threads)
can access the same database simultaneously. More work needed in
this area, though.</li>
</ul></p><h3>2000-05-31</h3><p><ul>
<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
to the SELECT statement.</li>
<li>Added support for <B>SELECT DISTINCT ...</B></li>
</ul></p><h3>2000-05-30</h3><p><ul>
<li>Added the <b>LIKE</b> operator.</li>
<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
but it uses Unix shell globbing wildcards instead of the '%'
and '_' wildcards of SQL.</li>
<li>Added the <B>COPY</b> command patterned after
<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
can now read the output of the <b>pg_dump</b> database dump utility
of PostgreSQL.</li>
<li>Added a <B>VACUUM</B> command that calls the
<b>gdbm_reorganize()</b> function on the underlying database
files.</li>
<li>And many, many bug fixes...</li>
</ul></p><h3>2000-05-29</h3><p><ul>
<li>Initial Public Release of Alpha code</li>
</ul></p>
</dl>
|