descriptionUnofficial git mirror of the SQLite sources
last changeThu, 23 Feb 2017 16:30:16 +0000 (23 16:30 +0000)
content tags
sqlite git mirror @

SQLite Git Mirror

Self-contained implementation of most of the SQL-92 specification

An unofficial git mirror of only the source code from the main SQLite repository at which is part of the SQLite project.

Building SQLite

In order to clone and build SQLite from this git repository, a substitute manifest and manifest.uuid file (these are fossil vcs specific files) must be created or the build will fail.

The following script may be executed with the current directory set to the working directory of the git clone in order to create or update these files:

# See for license details
# Creates a minimal manifest and manifest.uuid file so sqlite (and fossil) can build
git rev-parse --git-dir >/dev/null || exit 1
git log -1 --format=format:%ci%n | sed -e 's/ [-+].*$//;s/ /T/;s/^/D /' > manifest
echo $(git log -1 --format=format:%H) > manifest.uuid

The above script simply records the SHA-1 of the current HEAD commit in manifest.uuid and the UTC time of the commit in ISO format (preceded by "D ") in the manifest file. This script must be run at least once from the top-level of the working directory of the git clone for make to succeed and should be run before make whenever HEAD has changed otherwise the sqlite_source_id() information will be incorrect.

The above script is also available from the project in the create-fossil-manifest file.

After having created the substitute manifest and manifest.uuid files, simply build as normal (i.e. run ./configure with any desired options and then run make).

About This Mirror

This git mirror has been created using the information found in the project. Please see that project’s README.txt file for more information.

The fossil check-in hash of the fossil SQLite repository check-in corresponding to a commit can be found in the "fossil" notes (i.e. refs/notes/fossil). (Use git log --show-notes=fossil to see them.) Once you have the fossil check-in hash (e.g. git log --show-notes=fossil -1 version-3.8.5) you can then view the original commit in the SQLite fossil repository at (e.g.

Please note that this mirror is updated only once a day so it may take up to 24 hours for commits to the main SQLite fossil repository at to appear here.

IMPORTANT: Since this is strictly a mirror, if the upstream fossil repository should rewrite history in any way, the refs in this repository will be force updated without notice!


Since this is strictly a mirror of the code from the native SQLite fossil repository, the standard SQLite license applies.


Downloads are available from the main SQLite download area or from links found at

Visit the project page (source code etc.) at


Visit the SQLite project’s home site at

2 days ago Dan KennedySave a few bytes and a few cycles by setting Vdbe.expma... master
3 days ago Dan KennedyMove a branch condition in analyze.c inside an #ifdef...
3 days ago Dan KennedyImprove the performance of ANALYZE when SQLITE_ENABLE_S...
3 days ago D. Richard... Improvements to PRAGMA integrity_check.
3 days ago D. Richard... Cleanup and simplification of the output row count... integrity-check-improvements
3 days ago D. Richard... Fix integrity_check so that it verifies NOT NULL constr...
3 days ago D. Richard... Enhance "PRAGMA integrity_check" so that it verifies...
4 days ago Dan KennedyIn sqlite3VdbeHalt(), return as soon as possible if
4 days ago Dan KennedyFix an FTS5 problem that could cause a crash when certa...
4 days ago D. Richard... Very small enhancement to dispatch speed for SQL functions.
4 days ago Joe MistachkinCorrect a harmless typo in the previous check-in.
5 days ago Joe MistachkinAvoid unsigned integer overflows for SQLITE_WIN32_HEAP_...
5 days ago D. Richard... Small grammar simplification.
7 days ago D. Richard... Add the SQLITE_BUG_COMPATIBLE_20160819 compile-time...
7 days ago D. Richard... Fix the #endif location for an #ifndef SQLITE_UNTESTABL...
8 days ago D. Richard... Fix a test case that was made to fail by the LIKE optim...
12 days ago version-3.17.0
12 days ago release
7 weeks ago version-3.16.2
7 weeks ago version-3.16.1
7 weeks ago version-3.16.0
2 months ago version-3.15.2
3 months ago version-3.15.1
4 months ago version-3.15.0
5 months ago version-3.14.2
6 months ago version-3.14.1
6 months ago version-3.14.0
9 months ago version-3.13.0
10 months ago version-3.12.2
10 months ago version-3.12.1
10 months ago version-3.9.3
10 months ago version-3.12.0
26 hours ago defragmentpage-opt
2 days ago master
2 days ago auto-analyze
3 days ago integrity-check-improvements
4 days ago cumulative-progress-count
4 days ago vdbe_cycle_limit
7 days ago sort-column-opcodes
8 days ago apple-increased-sorting-cost
8 days ago increased-sorting-cost
9 days ago est_count_pragma
10 days ago carray_asc
10 days ago mistake
10 days ago branch-3.17
10 days ago mutexDbg2
12 days ago apple-osx
2 weeks ago fts3-seekstmt-cache