Index: pages/changes.in ================================================================== --- pages/changes.in +++ pages/changes.in @@ -17,10 +17,37 @@ proc chng {date desc {options {}}} { global nChng aChng set aChng($nChng) [list $date $desc $options] incr nChng } + +chng {2016-01-20 (3.10.2)} { +

Critical bug fix: +

  • Version 3.10.0 introduced a case-folding bug in the [LIKE] operator which is fixed + by this patch release. Ticket + [https://www.sqlite.org/src/info/80369eddd5c94 | 80369eddd5c94]. +

    Other miscellaneous bug fixes: +

  • Fix a use-after-free that can occur when SQLite is compiled with -DSQLITE_HAS_CODEC. +
  • Fix the build so that it works with -DSQLITE_OMIT_WAL. +
  • Fix the configure script for the amalgamation so that the --readline option works again + on Raspberry PIs. +

    Hashes: +

  • SQLITE_SOURCE_ID: "2016-01-20 15:27:19 17efb4209f97fb4971656086b138599a91a75ff9" +
  • SHA1 for sqlite3.c: f7088b19d97cd7a1c805ee95c696abd54f01de4f +} {patchagainst 1 patchagainst 2} + +chng {2016-01-14 (3.10.1)} { +

    New feature: +

  • Add the [SQLITE_FCNTL_JOURNAL_POINTER] file control. +

    Bug fix: +

  • Fix a 16-month-old bug in the query planner that could generate incorrect results + when a scalar subquery attempts to use the [block sorting] optimization. Ticket + [https://www.sqlite.org/src/info/cb3aa0641d9a4|cb3aa0641d9a4]. +

    Hashes: +

  • SQLITE_SOURCE_ID: "2016-01-13 21:41:56 254419c36766225ca542ae873ed38255e3fb8588" +
  • SHA1 for sqlite3.c: 1398ba8e4043550a533cdd0834bfdad1c9eab0f4 +} {patchagainst 1} chng {2016-01-06 (3.10.0)} {

    General improvements:

  • Added support for [LIKE], [GLOB], and [REGEXP] operators on [virtual tables].
  • Added the [colUsed field] to [sqlite3_index_info] for use by Index: pages/download.in ================================================================== --- pages/download.in +++ pages/download.in @@ -8,16 +8,18 @@ set nDownload 0 set BG {} unset -nocomplain href unset -nocomplain href_cnt set href_cnt 0 -proc Product {pattern desc {frag {}}} { +set disable_more 0 +proc Product {pattern desc {frag {}} {disable_flag 0}} { + if {$::disable_more} return regsub VVV $pattern {*} p3 regsub DATE $p3 {20*} p3 - regsub YEAR $p3 {20[134][0-9]} p3 + regsub YEAR $p3 {20[1234][0-9]} p3 regsub VVV $pattern {(3\d{6})} pattern - regsub DATE $pattern {(\d{12})} pattern + regsub DATE $pattern {(\d{12,17})} pattern regsub YEAR $pattern {\d{4}} pattern set p2 [string map {* .*} $pattern] set flist [glob -nocomplain $p3] foreach file [lsort -dict $flist] { if {![regexp ^$p2\$ $file all version]} continue @@ -74,10 +76,13 @@ regsub -all VERSION $desc $version d2 hd_puts "\n" hd_resolve [string trim $d2] hd_puts "
    (sha1: $sha1sum)\n" incr ::nDownload + if {$disable_flag} { + set ::disable_more 1 + } } if {$frag!=""} { eval hd_keywords [lrange $frag 1 end] } } @@ -85,18 +90,23 @@ proc Heading {title {tag {}} {bgcolor {}}} { set ::pending_heading $title set ::pending_tag $tag set ::BG $bgcolor + set ::disable_more 0 # hd_puts "$title" } set Caution #fff1c8 Heading {Pre-release Snapshots} {} $Caution +Product {snapshot/sqlite-snapshot-DATE.tar.gz} { + The [amalgamation] source code, the [command-line shell] source code, + configure/make scripts for unix, and a Makefile.msc for Windows. +} Product {snapshot/sqlite-amalgamation-DATE.zip} { The [amalgamation]: complete source code a single "sqlite3.c" file. } # The [amalgamation] as of VERSION. # See the pending @@ -112,11 +122,14 @@ # development, packaged and ready to build using the # Tcl Extension Architecture (TEA). # Use this snapshot for testing only. This is not a release. #} Product {snapshot/sqlite-uap-DATE.vsix} { - VSIX package for Universal App Platform development using Visual Studio 2015 CTP. + VSIX package for Universal Windows Platform development using Visual Studio 2015 CTP. +} +Product {snapshot/sqlite-uwp-DATE.vsix} { + VSIX package for Universal Windows Platform development using Visual Studio 2015 CTP. } Heading {Pre-release Windows DLLs} {} $Caution Product snapshot/sqlite-dll-win32-x86-DATE.zip { @@ -180,10 +193,17 @@ Documentation as a bundle of static HTML files. } Heading {Precompiled Binaries for Linux} linux + +Product YEAR/sqlite-tools-linux-x86-VVV.zip { + A bundle of command-line tools for managing SQLite database files, + including the [command-line shell] program, the [sqldiff] program, and + the [sqlite3_analyzer] program. +} {} 1 + Product YEAR/sqlite-shell-linux-x86-VVV.zip { The [command-line shell] program (version VERSION). } Product YEAR/sqlite-analyzer-linux-x86-VVV.zip { @@ -195,10 +215,16 @@ A program to display differences between two SQLite database files. (version VERSION). } Heading {Precompiled Binaries for Mac OS X (x86)} mac + +Product YEAR/sqlite-tools-osx-x86-VVV.zip { + A bundle of command-line tools for managing SQLite database files, + including the [command-line shell] program, the [sqldiff] program, and + the [sqlite3_analyzer] program. +} {} 1 Product YEAR/sqlite-shell-osx-x86-VVV.zip { The [command-line shell] program (version VERSION). } @@ -213,21 +239,28 @@ } Heading {Precompiled Binaries for Windows} win32 set start $nDownload -Product YEAR/sqlite-shell-win32-x86-VVV.zip { - The [command-line shell] program (version VERSION). -} Product YEAR/sqlite-dll-win32-x86-VVV.zip { 32-bit DLL (x86) for SQLite verison VERSION. } Product YEAR/sqlite-dll-win64-x64-VVV.zip { 64-bit DLL (x64) for SQLite version VERSION. } + +Product YEAR/sqlite-tools-win32-x86-VVV.zip { + A bundle of command-line tools for managing SQLite database files, + including the [command-line shell] program, the [sqldiff.exe] program, and + the [sqlite3_analyzer.exe] program. +} {} 1 + +Product YEAR/sqlite-shell-win32-x86-VVV.zip { + The [command-line shell] program (version VERSION). +} Product YEAR/sqlite-analyzer-win32-x86-VVV.zip { A program to analyze how space is allocated inside an SQLite database file (version VERSION). } @@ -235,14 +268,17 @@ Product YEAR/sqldiff-win32-x86-VVV.zip { A program to display differences between two SQLite database files. (version VERSION). } -Heading {Universal App Platform} +Heading {Universal Windows Platform} Product YEAR/sqlite-uap-VVV.vsix { - VSIX package for Universal App Platform development using Visual Studio 2015. + VSIX package for Universal Windows Platform development using Visual Studio 2015. +} +Product YEAR/sqlite-uwp-VVV.vsix { + VSIX package for Universal Windows Platform development using Visual Studio 2015. } Heading {Precompiled Binaries for Windows Phone 8} wp8 Index: pages/fileformat2.in ================================================================== --- pages/fileformat2.in +++ pages/fileformat2.in @@ -498,13 +498,13 @@ complete b-tree can be located if only the root page is known. Hence, b-trees are identified by their root page number.

    A b-tree page is either a table b-tree page or an index b-tree page. All pages within each complete b-tree are of the same type: either table -or index. There is a one table b-trees in the database file +or index. There is one table b-trees in the database file for each rowid table in the database schema, including system tables -such as sqlite_master. There is one index b-trees +such as sqlite_master. There is one index b-tree in the database file for each index in the schema, including implied indexes created by uniqueness constraints. There are no b-trees associated with [virtual tables]. Specific virtual table implementations might make use of [shadow tables] for storage, but those shadow tables will have separate entries in the database schema. [WITHOUT ROWID] tables use index b-trees @@ -644,11 +644,11 @@

    A variable-length integer or "varint" is a static Huffman encoding of 64-bit twos-complement integers that uses less space for small positive values. A varint is between 1 and 9 bytes in length. The varint consists of either -zero or more byte which have the high-order bit set followed by a single byte +zero or more bytes which have the high-order bit set followed by a single byte with the high-order bit clear, or nine bytes, whichever is shorter. The lower seven bits of each of the first eight bytes and all 8 bits of the ninth byte are used to reconstruct the 64-bit twos-complement integer. Varints are big-endian: bits taken from the earlier byte of the varint are the more significant than bits taken from the later bytes.

    @@ -685,11 +685,11 @@ overflow page list - omitted if all payload fits on the b-tree page.

    Index B-Tree Interior Cell (header 0x02):

    -

    -Once an SQLite database is open, it can be controlled using -methods of the dbcmd. There are currently 22 methods -defined.

    - -

    -