Commit Graph

14 Commits

Author SHA1 Message Date
Adolf Belka
b052fd0a10 sqlite: Update to version 3.37.0
- Update from 3.36.0 to 3.37.0
- Update of rootfile not required
- Changelog
   Release 3.37.0 On 2021-11-27
     STRICT tables provide a prescriptive style of data type management, for developers
      who prefer that kind of thing.
     When adding columns that contain a CHECK constraint or a generated column containing
      a NOT NULL constraint, the ALTER TABLE ADD COLUMN now checks new constraints against
      preexisting rows in the database and will only proceed if no constraints are violated.
     Added the PRAGMA table_list statement.
     CLI enhancements:
        Add the .connection command, allowing the CLI to keep multiple database
         connections open at the same time.
        Add the --safe command-line option that disables dot-commands and SQL statements
         that might cause side-effects that extend beyond the single database file named
         on the command-line.
        Performance improvements when reading SQL statements that span many lines.
     Added the sqlite3_autovacuum_pages() interface.
     The sqlite3_deserialize() does not and has never worked for the TEMP database. That
      limitation is now noted in the documentation.
     The query planner now omits ORDER BY clauses on subqueries and views if removing
      those clauses does not change the semantics of the query.
     The generate_series table-valued function extension is modified so that the first
      parameter ("START") is now required. This is done as a way to demonstrate how to
      write table-valued functions with required parameters. The legacy behavior is
      available using the -DZERO_ARGUMENT_GENERATE_SERIES compile-time option.
     Added new sqlite3_changes64() and sqlite3_total_changes64() interfaces.
     Added the SQLITE_OPEN_EXRESCODE flag option to sqlite3_open_v2().
     Use less memory to hold the database schema.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-03 22:20:17 +01:00
Adolf Belka
c0766d8abb sqlite: Update to version 3360000
- Update from 3350500 to 3360000
- Update of rootfile not required
- Changelog
   Improvement to the EXPLAIN QUERY PLAN output to make it easier to understand.
   Byte-order marks at the start of a token are skipped as if they were whitespace.
   An error is raised on any attempt to access the rowid of a VIEW or subquery. Formerly, the rowid of a VIEW would be indeterminate and often would be NULL. The -DSQLITE_ALLOW_ROWID_IN_VIEW compile-time option is available to restore the legacy behavior for applications that need it.
   The sqlite3_deserialize() and sqlite3_serialize() interfaces are now enabled by default. The -DSQLITE_ENABLE_DESERIALIZE compile-time option is no longer required. Instead, there is is a new -DSQLITE_OMIT_DESERIALIZE compile-time option to omit those interfaces.
   The "memdb" VFS now allows the same in-memory database to be shared among multiple database connections in the same process as long as the database name begins with "/".
   Back out the EXISTS-to-IN optimization (item 8b in the SQLite 3.35.0 change log) as it was found to slow down queries more often than speed them up.
   Improve the constant-propagation optimization so that it works on non-join queries.
   The REGEXP extension is now included in CLI builds.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:23:04 +00:00
Adolf Belka
dfbd7d4906 sqlite: Update to 3.35.5
- Update from 3.35.4 to 3.35.5
- Update of rootfile not required
- Changelog
   Fix defects in the new ALTER TABLE DROP COLUMN feature that could
    corrupt the database file.
   Fix an obscure query optimizer problem that might cause an incorrect
    query result.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-26 10:07:27 +00:00
Adolf Belka
8ef6632641 sqlite: Update to 3.35.4
- Update from 3.34.1 to 3.35.4
- Update of rootfile not required
- Changelog
3.35.0
  Added built-in SQL math functions(). (Requires the -DSQLITE_ENABLE_MATH_FUNCTIONS compile-time option.)
  Added support for ALTER TABLE DROP COLUMN.
  Generalize UPSERT:
    Allow multiple ON CONFLICT clauses that are evaluated in order,
    The final ON CONFLICT clause may omit the conflict target and yet still use DO UPDATE.
  Add support for the RETURNING clause on DELETE, INSERT, and UPDATE statements.
  Use less memory when running VACUUM on databases containing very large TEXT or BLOB values. It is no longer necessary to hold the entire TEXT or BLOB in memory all at once.
  Add support for the MATERIALIZED and NOT MATERIALIZED hints when specifying common table expressions. The default behavior was formerly NOT MATERIALIZED, but is now changed to MATERIALIZED for CTEs that are used more than once.
  The SQLITE_DBCONFIG_ENABLE_TRIGGER and SQLITE_DBCONFIG_ENABLE_VIEW settings are modified so that they only control triggers and views in the main database schema or in attached database schemas and not in the TEMP schema. TEMP triggers and views are always allowed.
  Query planner/optimizer improvements:
    Enhancements to the min/max optimization so that it works better with the IN operator and the OP_SeekScan optimization of the previous release.
    Attempt to process EXISTS operators in the WHERE clause as if they were IN operators, in cases where this is a valid transformation and seems likely to improve performance.
    Allow UNION ALL sub-queries to be flattened even if the parent query is a join.
    Use an index, if appropriate, on IS NOT NULL expressions in the WHERE clause, even if STAT4 is disabled.
    Expressions of the form "x IS NULL" or "x IS NOT NULL" might be converted to simply FALSE or TRUE, if "x" is a column that has a "NOT NULL" constraint and is not involved in an outer join.
    Avoid checking foreign key constraints on an UPDATE statement if the UPDATE does not modify any columns associated with the foreign key.
    Allow WHERE terms to be pushed down into sub-queries that contain window functions, as long as the WHERE term is made up of entirely of constants and copies of expressions found in the PARTITION BY clauses of all window functions in the sub-query.
  CLI enhancements:
    Enhance the ".stats" command to accept new arguments "stmt" and "vmstep", causing prepare statement statistics and only the virtual-machine step count to be shown, respectively.
    Add the ".filectrl data_version" command.
    Enhance the ".once" and ".output" commands so that if the destination argument begins with "|" (indicating that output is redirected into a pipe) then the argument does not need to be quoted.
  Bug fixes:
    Fix a potential NULL pointer dereference when processing a syntactically incorrect SELECT statement with a correlated WHERE clause and a "HAVING 0" clause. (Also fixed in the 3.34.1 patch release.)
    Fix a bug in the IN-operator optimization of version 3.33.0 that can cause an incorrect answer.
    Fix incorrect answers from the LIKE operator if the pattern ends with "%" and there is an "ESCAPE '_'" clause.
3.35.1
  Fix a bug in the new DROP COLUMN feature when used on columns that are indexed and that are quoted in the index definition.
  Improve the built-in documentation for the .dump command in the CLI.
3.35.2
  Fix a problem in the appendvfs.c extension that was introduced into version 3.35.0.
  Ensure that date/time functions with no arguments (which generate responses that depend on the current time) are treated as non-deterministic functions. Ticket 2c6c8689fb5f3d2f
  Fix a problem in the sqldiff utility program having to do with unusual whitespace characters in a virtual table definition.
  Limit the new UNION ALL optimization described by item 8c in the 3.35.0 release so that it does not try to make too many new subqueries. See forum thread 140a67d3d2 for details.
3.35.3
  Enhance the OP_OpenDup opcode of the bytecode engine so that it works even if the cursor being duplicated itself came from OP_OpenDup. Fix for ticket bb8a9fd4a9b7fce5. This problem only came to light due to the recent MATERIALIZED hint enhancement.
  When materializing correlated common table expressions, do so separately for each use case, as that is required for correctness. This fixes a problem that was introduced by the MATERIALIZED hint enhancement.
  Fix a problem in the filename normalizer of the unix VFS.
  Fix the "box" output mode in the CLI so that it works with statements that returns one or more rows of zero columns (such as PRAGMA incremental_vacuum). Forum post afbbcb5b72.
  Improvements to error messages generated by faulty common table expressions. Forum post aa5a0431c99e.
  Fix some incorrect assert() statements.
  Fix to the SELECT statement syntax diagram so that the FROM clause syntax is shown correctly. Forum post 9ed02582fe.
  Fix the EBCDIC character classifier so that it understands newlines as whitespace. Forum post 58540ce22dcd.
  Improvements the xBestIndex method in the implementation of the (unsupported) wholenumber virtual table extension so that it does a better job of convincing the query planner to avoid trying to materialize a table with an infinite number of rows. Forum post b52a020ce4.
3.35.4
  Fix a defect in the query planner optimization identified by item 8b above. Ticket de7db14784a08053.
  Fix a defect in the new RETURNING syntax. Ticket 132994c8b1063bfb.
  Fix the new RETURNING feature so that it raises an error if one of the terms in the RETURNING clause references a unknown table, instead of silently ignoring that error.
  Fix an assertion associated with aggregate function processing that was incorrectly triggered by the push-down optimization.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-10 13:38:20 +00:00
Adolf Belka (ipfire)
7bfc46c582 sqlite: Update to 3.34.1
- Update sqlite from 3.34.0 to 3.34.1
- Update rootfile
- Changelog
   Fix a potential use-after-free bug when processing a a subquery with
    both a correlated WHERE clause and a "HAVING 0" clause and where the
    parent query is an aggregate.
   Fix documentation typos
   Fix minor problems in extensions.

Signed-off-by: Adolf Belka (ipfire) <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-10 13:59:29 +00:00
Adolf Belka
58303fb9f0 sqlite: Update to 3.34.0
-Update sqlite from 3.26.0 to 3.34.0
	See https://sqlite[.]org/chronology[.]html for history between
	these releases.
-Have reviewed all release notes between these two releases and there
	are no deprecations.
-No change to rootfile.
Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-18 09:40:53 +00:00
Michael Tremer
a38eb040bf sqlite: Update to 3.26.0
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-12-18 22:28:59 +00:00
Michael Tremer
6e386cad2d sqlite: Update to 3.25.2.0
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-18 14:23:29 +01:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Stefan Schantl
77c3c15432 sqlite: Update to 080704. 2015-01-11 17:02:46 +01:00
Stefan Schantl
024f02c124 sqlite: Move to IPFire core.
sqlite is a runtime dependency of ddns >= 005.
2015-01-10 20:15:02 +01:00
Arne Fitzenreiter
6875db473a sqlite: update to 3.7.6.3. 2011-06-15 12:48:41 +02:00
Arne Fitzenreiter
404094ceca sqlite: update to 3.7.3. 2011-03-10 11:18:21 +01:00
Arne Fitzenreiter
52fbfb8c46 Add mediatomb as addon
Add taglib
Add sqlite3
2009-01-18 17:41:15 +01:00