- Update to version 3.21.0
* Take advantage of the atomic-write capabilities in the F2FS
filesystem when available, for greatly reduced transaction
overhead. This currently requires the
SQLITE_ENABLE_BATCH_ATOMIC_WRITE compile-time option.
* Allow ATTACH and DETACH commands to work inside of a
transaction.
* Allow WITHOUT ROWID virtual tables to be writable if the
PRIMARY KEY contains exactly one column.
* The "fsync()" that occurs after the header is written in a
WAL reset now uses the sync settings for checkpoints.
This means it will use a "fullfsync" on macs if PRAGMA
checkpoint_fullfsync set on.
* The sqlite3_sourceid() function tries to detect if the source
code has been modified from what is checked into version
control and if there are modifications, the last four
characters of the version hash are shown as "alt1" or
"alt2". The objective is to detect accidental and/or
careless edits. A forger can subvert this feature.
* Improved de-quoting of column names for CREATE TABLE AS
statements with an aggregate query on the right-hand side.
* Fewer "stat()" system calls issued by the unix VFS.
* Enhanced the LIKE optimization so that it works with an
ESCAPE clause.
* Enhanced PRAGMA integrity_check and PRAGMA quick_check
to detect obscure row corruption that they were formerly
missing. Also update both pragmas so that they return
error text rather than SQLITE_CORRUPT when encountering
corruption in records.
* The query planner now prefers to implement FROM-clause
OBS-URL: https://build.opensuse.org/request/show/536481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=101
* Take advantage of the atomic-write capabilities in the F2FS
filesystem when available, for greatly reduced transaction
overhead. This currently requires the
SQLITE_ENABLE_BATCH_ATOMIC_WRITE compile-time option.
* Allow ATTACH and DETACH commands to work inside of a
transaction.
* Allow WITHOUT ROWID virtual tables to be writable if the
PRIMARY KEY contains exactly one column.
* The "fsync()" that occurs after the header is written in a
WAL reset now uses the sync settings for checkpoints.
This means it will use a "fullfsync" on macs if PRAGMA
checkpoint_fullfsync set on.
* The sqlite3_sourceid() function tries to detect if the source
code has been modified from what is checked into version
control and if there are modifications, the last four
characters of the version hash are shown as "alt1" or
"alt2". The objective is to detect accidental and/or
careless edits. A forger can subvert this feature.
* Improved de-quoting of column names for CREATE TABLE AS
statements with an aggregate query on the right-hand side.
* Fewer "stat()" system calls issued by the unix VFS.
* Enhanced the LIKE optimization so that it works with an
ESCAPE clause.
* Enhanced PRAGMA integrity_check and PRAGMA quick_check
to detect obscure row corruption that they were formerly
missing. Also update both pragmas so that they return
error text rather than SQLITE_CORRUPT when encountering
corruption in records.
* The query planner now prefers to implement FROM-clause
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=199
- Update to 3.19.2
* Fix a bug in the LEFT JOIN flattening optimization.
Ticket cad1ab4cb7b0fc.
* Fix more bugs in the LEFT JOIN flattening optimization.
Ticket 7fde638e94287d2c.
- Update to 3.19.0
* The SQLITE_READ authorizer callback is invoked once with a
column name that is an empty string for every table referenced
in a query from which no columns are extracted.
* When using an index on an expression, try to use expression
values already available in the index, rather than loading
the original columns and recomputing the expression.
* Enhance the flattening optimization so that it is able to
flatten views on the right-hand side of a LEFT JOIN.
* Use replace() instead of char() for escaping newline and
carriage-return characters embedded in strings in the .dump
output from the command-line shell.
* Avoid unnecessary foreign key processing in UPDATE statements
that do not touch the columns that are constrained by the
foreign keys.
* On a DISTINCT query that uses an index, try to skip ahead
to the next distinct entry using the index rather than
stepping through rows, when an appropriate index is available.
* Avoid unnecessary invalidation of sqlite3_blob handles
when making changes to unrelated tables.
* Transfer any terms of the HAVING clause that use only
columns mentioned in the GROUP BY clause over to the
WHERE clause for faster processing.
* Reuse the same materialization of a VIEW if that VIEW
OBS-URL: https://build.opensuse.org/request/show/498338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=97
* The SQLITE_READ authorizer callback is invoked once with a
column name that is an empty string for every table referenced
in a query from which no columns are extracted.
* When using an index on an expression, try to use expression
values already available in the index, rather than loading
the original columns and recomputing the expression.
* Enhance the flattening optimization so that it is able to
flatten views on the right-hand side of a LEFT JOIN.
* Use replace() instead of char() for escaping newline and
carriage-return characters embedded in strings in the .dump
output from the command-line shell.
* Avoid unnecessary foreign key processing in UPDATE statements
that do not touch the columns that are constrained by the
foreign keys.
* On a DISTINCT query that uses an index, try to skip ahead
to the next distinct entry using the index rather than
stepping through rows, when an appropriate index is available.
* Avoid unnecessary invalidation of sqlite3_blob handles
when making changes to unrelated tables.
* Transfer any terms of the HAVING clause that use only
columns mentioned in the GROUP BY clause over to the
WHERE clause for faster processing.
* Reuse the same materialization of a VIEW if that VIEW
appears more than once in the same query.
* Enhance PRAGMA integrity_check so that it identifies
tables that have two or more rows with the same rowid.
* Enhance the FTS5 query syntax so that column filters
may be applied to arbitrary expressions.
* Enhance the json_extract() function to cache and
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=185
- Update to 3.18.0
* Added the PRAGMA optimize command
* The SQLite version identifier returned by the sqlite_source_id()
SQL function and the sqlite3_sourceid() C API and found in the
SQLITE_SOURCE_ID macro is now a 64-digit SHA3-256 hash instead
of a 40-digit SHA1 hash.
* Added the json_patch() SQL function to the JSON1 extension.
* Enhance the LIKE optimization so that it works for arbitrary
expressions on the left-hand side as long as the LIKE pattern
on the right-hand side does not begin with a digit or minus sign.
* Added the sqlite3_set_last_insert_rowid() interface and use the
new interface in the FTS3, FTS4, and FTS5 extensions to ensure
that the sqlite3_last_insert_rowid() interface always returns
reasonable values.
* Enhance PRAGMA integrity_check and PRAGMA quick_check so that
they verify CHECK constraints.
* Enhance the query plans for joins to detect empty tables early
and halt without doing unnecessary work.
* Enhance the sqlite3_mprintf() family of interfaces and the
printf SQL function to put comma separators at the thousands
marks for integers, if the "," format modifier is used in
between the "%" and the "d" (example: "%,d").
* Added the -DSQLITE_MAX_MEMORY=N compile-time option.
* Added the .sha3sum dot-command and the .selftest dot-command
to the command-line shell
* Begin enforcing SQLITE_LIMIT_VDBE_OP. This can be used,
for example, to prevent excessively large prepared statements
in systems that accept SQL queries from untrusted users.
* Various performance improvements.
* Ensure that indexed expressions with collating sequences are
OBS-URL: https://build.opensuse.org/request/show/484084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=96
* Added the PRAGMA optimize command
* The SQLite version identifier returned by the sqlite_source_id()
SQL function and the sqlite3_sourceid() C API and found in the
SQLITE_SOURCE_ID macro is now a 64-digit SHA3-256 hash instead
of a 40-digit SHA1 hash.
* Added the json_patch() SQL function to the JSON1 extension.
* Enhance the LIKE optimization so that it works for arbitrary
expressions on the left-hand side as long as the LIKE pattern
on the right-hand side does not begin with a digit or minus sign.
* Added the sqlite3_set_last_insert_rowid() interface and use the
new interface in the FTS3, FTS4, and FTS5 extensions to ensure
that the sqlite3_last_insert_rowid() interface always returns
reasonable values.
* Enhance PRAGMA integrity_check and PRAGMA quick_check so that
they verify CHECK constraints.
* Enhance the query plans for joins to detect empty tables early
and halt without doing unnecessary work.
* Enhance the sqlite3_mprintf() family of interfaces and the
printf SQL function to put comma separators at the thousands
marks for integers, if the "," format modifier is used in
between the "%" and the "d" (example: "%,d").
* Added the -DSQLITE_MAX_MEMORY=N compile-time option.
* Added the .sha3sum dot-command and the .selftest dot-command
to the command-line shell
* Begin enforcing SQLITE_LIMIT_VDBE_OP. This can be used,
for example, to prevent excessively large prepared statements
in systems that accept SQL queries from untrusted users.
* Various performance improvements.
* Ensure that indexed expressions with collating sequences are
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=183
* Approximately 25% better performance from the R-Tree extension.
* Add the SQLITE_DEFAULT_LOOKASIDE compile-time option.
* Increase the default lookaside size from 512,125 to 1200,100
as this provides better performance while only adding 56KB of
extra memory per connection.
* Use compiler built-ins __builtin_sub_overflow(),
__builtin_add_overflow(), and __builtin_mul_overflow()
when available.
* Added the SQLITE_ENABLE_NULL_TRIM compile-time option, which
can result in significantly smaller database files for some
applications, at the risk of being incompatible with older
versions of SQLite.
* Change SQLITE_DEFAULT_PCACHE_INITSZ from 100 to 20, for
improved performance.
* Added the SQLITE_UINT64_TYPE compile-time option as an analog
to SQLITE_INT64_TYPE.
* Perform some UPDATE operations in a single pass instead of in
two passes.
* Enhance the session extension to support WITHOUT ROWID tables.
* Fixed performance problems and potential stack overflows when
creating views from multi-row VALUES clauses with hundreds of
thousands of rows.
* Added the sha1.c extension.
* In the command-line shell, enhance the ".mode" command so that
it restores the default column and row separators for modes
"line", "list", "column", and "tcl".
* Enhance the SQLITE_DIRECT_OVERFLOW_READ option so that it
works in WAL mode as long as the pages being read are not
in the WAL file.
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=180
- SQLite 3.15.0
* Added support for row values.
* Allow deterministic SQL functions in the WHERE clause of a
partial index.
* Added the "modeof=filename" URI parameter on the unix VFS
* Added support for SQLITE_DBCONFIG_MAINDBNAME.
* Added the ability to VACUUM an ATTACH-ed database.
* Enhancements to the command-line shell:
+ Add the ".testcase" and ".check" dot-commands.
+ Added the --new option to the ".open" dot-command,
causing any prior content in the database to be purged
prior to opening.
* Enhance the fts5vocab virtual table to handle "ORDER BY term"
efficiently.
* Miscellaneous micro-optimizations reduce CPU usage by more than
7% on common workloads. Most optimization in this release
has been on the front-end (sqlite3_prepare_v2()).
* The multiply operator now correctly detects 64-bit
integer overflow and promotes to floating point in all
corner-cases. Fix for ticket 1ec41379c9c1e400.
* Correct handling of columns with redundant unique indexes
when those columns are used on the LHS of an IN operator.
Fix for ticket 0eab1ac759.
* Skip NULL entries on range queries in indexes on expressions.
Fix for ticket 4baa46491212947.
* Ensure that the AUTOINCREMENT counters in the sqlite_sequence
table are initialized doing "Xfer Optimization" on
"INSERT ... SELECT" statements. Fix for ticket 7b3328086a5c116c.
* Make sure the ORDER BY LIMIT optimization (from check-in 559733b09e)
works with IN operators on INTEGER PRIMARY KEYs.
OBS-URL: https://build.opensuse.org/request/show/435535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=92
* Added support for row values.
* Allow deterministic SQL functions in the WHERE clause of a
partial index.
* Added the "modeof=filename" URI parameter on the unix VFS
* Added support for SQLITE_DBCONFIG_MAINDBNAME.
* Added the ability to VACUUM an ATTACH-ed database.
* Enhancements to the command-line shell:
+ Add the ".testcase" and ".check" dot-commands.
+ Added the --new option to the ".open" dot-command,
causing any prior content in the database to be purged
prior to opening.
* Enhance the fts5vocab virtual table to handle "ORDER BY term"
efficiently.
* Miscellaneous micro-optimizations reduce CPU usage by more than
7% on common workloads. Most optimization in this release
has been on the front-end (sqlite3_prepare_v2()).
* The multiply operator now correctly detects 64-bit
integer overflow and promotes to floating point in all
corner-cases. Fix for ticket 1ec41379c9c1e400.
* Correct handling of columns with redundant unique indexes
when those columns are used on the LHS of an IN operator.
Fix for ticket 0eab1ac759.
* Skip NULL entries on range queries in indexes on expressions.
Fix for ticket 4baa46491212947.
* Ensure that the AUTOINCREMENT counters in the sqlite_sequence
table are initialized doing "Xfer Optimization" on
"INSERT ... SELECT" statements. Fix for ticket 7b3328086a5c116c.
* Make sure the ORDER BY LIMIT optimization (from check-in 559733b09e)
works with IN operators on INTEGER PRIMARY KEYs.
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=171
- SQLite 3.14.2:
* Fix the sqlite3_trace_v2() interface so that it is disabled
if either the callback or the mask arguments are zero,
in accordance with the documentation.
* Fix commenting errors and improve the comments generated on
EXPLAIN listings when the -DSQLITE_ENABLE_EXPLAIN_COMMENTS
compile-time option is used.
* Fix the ".read" command in the command-line shell so that
it understands that its input is not interactive.
* Correct affinity computations for a SELECT on the RHS of
an IN operator. Fix for ticket 199df4168c.
* The ORDER BY LIMIT optimization is not valid unless the
inner-most IN operator loop is actually used by
the query plan. Fix for ticket 0c4df46116e90f92.
* Fix an internal code generator problem that was causing
some DELETE operations to no-op. Ticket ef360601
- SQLite 3.14.1:
OBS-URL: https://build.opensuse.org/request/show/427560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=91
* Fix the sqlite3_trace_v2() interface so that it is disabled
if either the callback or the mask arguments are zero,
in accordance with the documentation.
* Fix commenting errors and improve the comments generated on
EXPLAIN listings when the -DSQLITE_ENABLE_EXPLAIN_COMMENTS
compile-time option is used.
* Fix the ".read" command in the command-line shell so that
it understands that its input is not interactive.
* Correct affinity computations for a SELECT on the RHS of
an IN operator. Fix for ticket 199df4168c.
* The ORDER BY LIMIT optimization is not valid unless the
inner-most IN operator loop is actually used by
the query plan. Fix for ticket 0c4df46116e90f92.
* Fix an internal code generator problem that was causing
some DELETE operations to no-op. Ticket ef360601
- SQLite 3.14.1:
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=169