SQLite

3.3.14

Released on 2 Apr 2007
Project description.

SQLite is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. The code for SQLite is in the public domain and is thus free for use for any purpose, commercial or private. SQLite is the most widely deployed database in the world with more applications than we can count, including several high-profile projects.

SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file. The database file format is cross-platform - you can freely copy a database between 32-bit and 64-bit systems or between big-endian and little-endian architectures. These features make SQLite a popular choice as an Application File Format.

SQLite 3.3.14 Changelog
  • Fix a bug (ticket #2273) 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.
  • Added a new OS interface method for determining the sector size of underlying media: sqlite3OsSectorSize().
  • A new algorithm for statements of the form INSERT INTO table1 SELECT * FROM table2 is faster and reduces fragmentation. VACUUM uses statements of this form and thus runs faster and defragments better.
  • Performance enhancements through reductions in disk I/O:
    • Do not read the last page of an overflow chain when deleting the row - just add that page to the freelist.
    • Do not store pages being deleted in the rollback journal.
    • Do not read in the (meaningless) content of pages extracted from the freelist.
    • Do not flush the page cache (and thus avoiding a cache refill) unless another process changes the underlying database file.
    • Truncate rather than delete the rollback journal when committing a transaction in exclusive access mode, or when committing the TEMP database.
  • Added support for exclusive access mode using "PRAGMA locking_mode=EXCLUSIVE"
  • Use heap space instead of stack space for large buffers in the pager - useful on embedded platforms with stack-space limitations.
  • Add a makefile target "sqlite3.c" that builds an amalgamation containing the core SQLite library C code in a single file.
  • Get the library working correctly when compiled with GCC option "-fstrict-aliasing".
  • Removed the vestigal SQLITE_PROTOCOL error.
  • Improvements to test coverage, other minor bugs fixed, memory leaks plugged, code refactored and/or recommended in places for easier reading.