Path to this page:
./
databases/sqlite3-diff,
Display content differences between SQLite databases
Branch: CURRENT,
Version: 3.53.0,
Package name: sqlite3-diff-3.53.0,
Maintainer: schmonzsqldiff is a command-line utility program that displays content
differences between SQLite databases. The usual output is an SQL script
that will transform the source database into the destination database.
The sqldiff utility works by finding rows in the source and destination
that are logical "pairs". The default behavior is to treat two rows as
pairs if they are in tables with the same name and they have the same
rowid, or in the case of a WITHOUT ROWID table if they have the same
PRIMARY KEY. Any differences in the content of paired rows are output as
UPDATEs. Rows in the source database that could not be paired are output
as DELETEs. Rows in the destination database that could not be paired
are output as INSERTs.
Master sites:
Filesize: 14173.612 KB
Version history: (Expand)
- (2026-04-17) Updated to version: sqlite3-diff-3.53.0
- (2026-03-15) Updated to version: sqlite3-diff-3.51.3
- (2026-03-12) Updated to version: sqlite3-diff-3.52.0
- (2026-01-15) Updated to version: sqlite3-diff-3.51.2
- (2025-11-29) Updated to version: sqlite3-diff-3.51.1
- (2025-11-06) Updated to version: sqlite3-diff-3.51.0
CVS history: (Expand)
2026-04-17 14:46:28 by Adam Ciarcinski | Files touched by this commit (7) |  |
Log message:
sqlite3: updated to 3.53.0
3.53.0
Fix the WAL-reset database corruption bug.
Add the Query Result Formatter (QRF) library for formatting the results of SQL \
queries for human readability on a fixed-pitch font screen.
Add the format method to the TCL Interface so that QRF is accessible from TCL.
QRF is used for result formatting in the CLI, resulting in improved display \
capabilities.
New SQL language features:
Enhance ALTER TABLE to permit adding and removing NOT NULL and CHECK constraints.
The REINDEX EXPRESSIONS statement rebuilds expression indexes. (Useful to repair \
stale expression indexes.)
The body of TEMP triggers may now modify and/or query tables in the main schema.
Enhance VACUUM INTO so that if a URI filename is used as the target and that \
filename has a reserve=N query parameter with N between 0 and 255, then the \
reserve amount for the generated database copy is set to N.
New SQL functions:
json_array_insert()
jsonb_array_insert()
Renovations to the CLI:
Major enhancements to the .mode command.
Improved result formatting, due to the addition of the QRF extension. For \
example, numeric values are now right-justified by default in tabular output \
modes.
The default output mode for interactive CLI sessions now uses QRF to display \
query results in boxes formed using Unicode box-drawing characters, for improved \
legibility. Batch CLI sessions use the legacy output format for compatibility.
Bare (unquoted) semicolons at the end of dot-commands are silently ignored. \
← Potential incompatibility!
Fix the .testcase and .check commands so that they actually work, and use those \
commands in scripts that are part of the standard SQLite test suite included \
with the source tree.
Command-line arguments that match *.sql or *.txt and are the names of non-empty \
files are read and interpreted as scripts of SQL statements and/or dot-commands.
The argument to the ".timer" command can now be "once", to \
run the timer on only the next SQL statement.
The new "--timeout S" option to the ".progress" dot-command \
causes SQL statements to interrupt after S seconds.
The ".indexes" command was changed so that the PATTERN argument \
matches the name of the index, not the name of the table being indexed (thus \
making the PATTERN argument actually useful). And, several new options were \
added to ".indexes".
New C-language interfaces:
sqlite3_str_truncate()
sqlite3_str_free()
sqlite3_carray_bind_v2()
Add the SQLITE_PREPARE_FROM_DDL option to sqlite3_prepare_v3() which permits \
virtual table implementations to safely prepare SQL statements that are derived \
from the database schema.
Added the SQLITE_UTF8_ZT constant which can be used as the encoding parameter to \
sqlite3_result_text64() or sqlite3_bind_text64() to indicate that the value is \
UTF-8 encoded and zero terminated.
The SQLITE_LIMIT_PARSER_DEPTH option is added to sqlite3_limit().
The SQLITE_DBCONFIG_FP_DIGITS option is added to sqlite3_db_config(). See also \
item 9b below.
Query planner improvements:
Always use a sort-and-merge algorithm for EXCEPT, INTERSECT, and UNION, since \
this is almost always faster than using a hash table.
Improvements to join order selection in large multi-way joins on a star schema.
Enhance the EXISTS-to-JOIN optimization so that the inserted JOIN terms are not \
required to be on the inner-most loops, as long as all dependencies for the \
EXISTS-to-JOIN loops are in outer loops.
Enhance the omit-noop-join optimization so that it is able to omit a chain of \
joins that do not affect the output.
Allow queries that use "GROUP BY e1 ORDER BY e2" where e1 and e2 are \
identical apart from ASC/DESC sort-orders to be optimized using a single index.
Allow virtual tables to optimize DISTINCT in cases where the result-set of a \
query does not exactly match the ORDER BY clause.
Add new interfaces to the session extension that enable an application to add \
changes one at a time to the sqlite3_changegroup object:
sqlite3changegroup_change_begin()
sqlite3changegroup_change_blob()
sqlite3changegroup_change_double()
sqlite3changegroup_change_int64()
sqlite3changegroup_change_null()
sqlite3changegroup_change_text()
sqlite3changegroup_change_finish()
sqlite3changegroup_config()
Improvements to floating-point ↔ text conversions.
Reimplemented to improve performance.
Rounding is now done by default to 17 significant digits, instead of 15, as was \
the case for all prior versions. The \
sqlite3_db_config(SQLITE_DBCONFIG_FP_DIGITS) API (item 6g above) can change \
this, if desired.
Added the self-healing index feature to deal with the stale expression index problem.
Add the "-p|--port" option to sqlite3_rsync.
Discontinue support for Windows RT.
JavaScript/WASM
Add the "opfs-wl" VFS, functionally identical to the "opfs" \
VFS but using Web Locks for locking, which can promise fairer lock sharing than \
the "opfs" bespoke protocol can. "opfs-wl" requires \
Atomics.waitAsync(), so requires newer browsers than "opfs" does.
|
2026-03-15 10:36:08 by Adam Ciarcinski | Files touched by this commit (7) |  |
Log message:
sqlite3: updated/downgraded to 3.51.3
SQLite version 3.52.0 has been withdrawn because some of the new features found
in 3.52.0 are not 100% compatible with prior releases. Those new features and
their associated APIs need to be reworked before 3.52 is made available.
In place of 3.52.0, patch release 3.51.3 is now available. Patch release 3.51.3
fixes the WAL-reset bug as well as other minor problems that have come to light
since the 3.51.2 release.
3.51.3 (2026-03-13):
Fix the WAL-reset database corruption bug.
Other minor bug fixes.
|
2026-03-12 21:29:22 by Thomas Klausner | Files touched by this commit (1) |  |
Log message:
sqlite3-diff: regen for sqlite3 update
|
2026-01-15 08:41:35 by Thomas Klausner | Files touched by this commit (1) |  |
Log message:
sqlite3-diff: regen distinfo after sqlite update
|
| 2025-11-29 15:21:30 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
sqlite3-diff: bump to 3.51.1
|
| 2025-11-06 17:13:25 by Adam Ciarcinski | Files touched by this commit (3) |
Log message:
Add missing patches and distinfo
|
2025-08-02 16:06:57 by Adam Ciarcinski | Files touched by this commit (1) |  |
Log message:
sqlite3-diff: update distinfo
|
2025-07-24 17:56:22 by Amitai Schleier | Files touched by this commit (1) |  |
Log message:
sqlite3-diff: update checksums to current version.
|