Revisions of sqlite3
Dominique Leuenberger (dimstar_suse)
accepted
request 706065
from
Factory Maintainer (factory-maintainer)
(revision 113)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 683700
from
Martin Pluskal (pluskalm)
(revision 112)
Dominique Leuenberger (dimstar_suse)
accepted
request 666791
from
Reinhard Max (rmax)
(revision 111)
- btree02.test depended on Tcl internals that changed in 8.6.9. (sqlite3-btree02-100.patch)
Dominique Leuenberger (dimstar_suse)
accepted
request 664348
from
Martin Pluskal (pluskalm)
(revision 110)
- SQLite 3.26.0: * Optimization: When doing an UPDATE on a table with indexes on expressions, do not update the expression indexes if they do not refer to any of the columns of the table being updated. * Allow the xBestIndex() method of virtual table implementations to return SQLITE_CONSTRAINT to indicate that the proposed query plan is unusable and should not be given further consideration. * Added the SQLITE_DBCONFIG_DEFENSIVE option which disables the ability to create corrupt database files using ordinary SQL. * Added support for read-only shadow tables when the SQLITE_DBCONFIG_DEFENSIVE option is enabled. * Added the PRAGMA legacy_alter_table command, which if enabled causes the ALTER TABLE command to behave like older version of SQLite (prior to version 3.25.0) for compatibility. * Added PRAGMA table_xinfo that works just like PRAGMA table_info except that it also shows hidden columns in virtual tables. * Added the explain virtual table as a run-time loadable extension. * Add a limit counter to the query planner to prevent excessive sqlite3_prepare() times for certain pathological SQL inputs. * Added support for the sqlite3_normalized_sql() interface, when compiling with SQLITE_ENABLE_NORMALIZE. * Enhanced triggers so that they can use table-valued functions that exist in schemas other than the schema where the trigger is defined. * Improvements to the ".help" command in the CLI. * The SQLITE_HISTORY environment variable, if it exists, specifies the name of the command-line editing history file. * The --deserialize option associated with opening a new database in the CLI cause the database file to be read into memory and accessed using the sqlite3_deserialize() API. This simplifies running tests on a database without modifying the file on disk.
Dominique Leuenberger (dimstar_suse)
accepted
request 640415
from
Martin Pluskal (pluskalm)
(revision 109)
Dominique Leuenberger (dimstar_suse)
accepted
request 636108
from
Ismail Dönmez (namtrac)
(revision 108)
Dominique Leuenberger (dimstar_suse)
accepted
request 620598
from
Ismail Dönmez (namtrac)
(revision 107)
Dominique Leuenberger (dimstar_suse)
accepted
request 619776
from
Reinhard Max (rmax)
(revision 106)
Dominique Leuenberger (dimstar_suse)
accepted
request 595604
from
Martin Pluskal (pluskalm)
(revision 104)
Dominique Leuenberger (dimstar_suse)
accepted
request 593078
from
Martin Pluskal (pluskalm)
(revision 103)
Dominique Leuenberger (dimstar_suse)
accepted
request 571911
from
Martin Pluskal (pluskalm)
(revision 102)
Dominique Leuenberger (dimstar_suse)
accepted
request 536481
from
Ismail Dönmez (namtrac)
(revision 101)
- 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
Dominique Leuenberger (dimstar_suse)
accepted
request 519652
from
Martin Pluskal (pluskalm)
(revision 100)
1
Dominique Leuenberger (dimstar_suse)
accepted
request 504012
from
Martin Pluskal (pluskalm)
(revision 98)
1
Dominique Leuenberger (dimstar_suse)
accepted
request 498338
from
Ismail Dönmez (namtrac)
(revision 97)
- 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
Yuchen Lin (maxlin_factory)
accepted
request 484084
from
Ismail Dönmez (namtrac)
(revision 96)
- 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
Dominique Leuenberger (dimstar_suse)
accepted
request 457539
from
Martin Pluskal (pluskalm)
(revision 95)
1
Dominique Leuenberger (dimstar_suse)
accepted
request 449090
from
Martin Pluskal (pluskalm)
(revision 94)
- Update to version 3.16.2:
Displaying revisions 41 - 60 of 153