Commit Graph

325 Commits

Author SHA256 Message Date
Dominique Leuenberger
8a4ae13ce3 Accepting request 1067149 from server:database
- Update to 3.41.0:
  * https://www.sqlite.org/releaselog/3_41_0.html
  * Various query planner improvements.
  * Add the built-in unhex() SQL function.
  * Add the base64 and base85 application-defined functions as an
    extension and include that extension in the CLI.
  * In-memory databases created using sqlite3_deserialize() now
    report their filename as an empty string, not as 'x'.
  * The ".scanstats est" command provides query planner estimates
    in profiles.
  * Enhance the --safe command-line option to disallow dangerous
    SQL functions.
  * The double-quoted string misfeature is now disabled by default
    for CLI builds.
  * Various other improvements and performance enhancements.
- The new version obsoletes sqlite-src-3390000-func7-pg-181.patch

OBS-URL: https://build.opensuse.org/request/show/1067149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=142
2023-02-23 15:28:13 +00:00
Reinhard Max
aa75d1593b OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=306 2023-02-22 12:42:27 +00:00
Reinhard Max
e42e2b9682 - Update to 3.41.0:
* https://www.sqlite.org/releaselog/3_41_0.html
  * Various query planner improvements.
  * Add the built-in unhex() SQL function.
  * Add the base64 and base85 application-defined functions as an
    extension and include that extension in the CLI.
  * In-memory databases created using sqlite3_deserialize() now
    report their filename as an empty string, not as 'x'.
  * The ".scanstats est" command provides query planner estimates
    in profiles.
  * Enhance the --safe command-line option to disallow dangerous
    SQL functions.
  * The double-quoted string misfeature is now disabled by default
    for CLI builds.
  * Various other improvements and performance enhancements.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=305
2023-02-22 10:09:14 +00:00
Dominique Leuenberger
e075a7838e Accepting request 1056142 from server:database
OBS-URL: https://build.opensuse.org/request/show/1056142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=141
2023-01-07 16:15:52 +00:00
Martin Pluskal
88d34e2eff Accepting request 1045679 from home:AndreasStieger:branches:server:database
sqlite3 3.40.1

OBS-URL: https://build.opensuse.org/request/show/1045679
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=303
2023-01-05 08:30:09 +00:00
Dominique Leuenberger
41bbe4ffb8 Accepting request 1043393 from server:database
- bsc#1206337, CVE-2022-46908, sqlite-CVE-2022-46908.patch:
  relying on --safe for execution of an untrusted CLI script

OBS-URL: https://build.opensuse.org/request/show/1043393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=140
2022-12-17 19:35:57 +00:00
Reinhard Max
989c4161c9 - bsc#1206337, CVE-2022-46908, sqlite-CVE-2022-46908.patch:
relying on --safe for execution of an untrusted CLI script

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=301
2022-12-13 16:12:14 +00:00
Dominique Leuenberger
8f855f4179 Accepting request 1037900 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1037900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=139
2022-11-25 12:11:22 +00:00
Reinhard Max
a5f1dd051c - update to 3.40.0:
* https://sqlite.org/releaselog/3_40_0.html
  * Add support for compiling SQLite to WASM and running it in wen
    browsers.
  * Add the recovery extension that might be able to recover some
    content from a corrupt database file.
  * For more changes, see https://sqlite.org/releaselog/3_40_0.html

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=299
2022-11-17 12:10:55 +00:00
Dominique Leuenberger
603599aa93 Accepting request 1033127 from server:database
OBS-URL: https://build.opensuse.org/request/show/1033127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=138
2022-11-04 16:32:11 +00:00
Reinhard Max
787b628579 Accepting request 1032953 from home:AndreasStieger:branches:server:database
sqlite3 3.39.4.   Please check https://sqlite.org/src/info/5517bc50988b5339 for security aspects

OBS-URL: https://build.opensuse.org/request/show/1032953
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=297
2022-11-03 15:54:49 +00:00
Dominique Leuenberger
8394eb7bd6 Accepting request 1004661 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1004661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=137
2022-09-19 14:39:39 +00:00
Reinhard Max
8fb7a2b6da * bsc#1189802, CVE-2021-36690: Fix an issue with the SQLite Expert
extension when a column has no collating sequence.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=295
2022-09-12 09:20:10 +00:00
Dominique Leuenberger
5ab829baa4 Accepting request 1001301 from server:database
- update to 3.39.3:
  * Use a statement journal on DML statement affecting two or more
    database rows if the statement makes use of a SQL functions
    that might abort.
  * Use a mutex to protect the PRAGMA temp_store_directory and
    PRAGMA data_store_directory statements, even though they are
    decremented and documented as not being threadsafe.

OBS-URL: https://build.opensuse.org/request/show/1001301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=136
2022-09-06 11:00:37 +00:00
Reinhard Max
40bb6fef9c - update to 3.39.3:
* Use a statement journal on DML statement affecting two or more
    database rows if the statement makes use of a SQL functions
    that might abort.
  * Use a mutex to protect the PRAGMA temp_store_directory and
    PRAGMA data_store_directory statements, even though they are
    decremented and documented as not being threadsafe.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=293
2022-09-05 15:20:33 +00:00
Richard Brown
db850fbdfd Accepting request 991047 from server:database
OBS-URL: https://build.opensuse.org/request/show/991047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=135
2022-07-26 17:42:21 +00:00
Reinhard Max
30186d2a5a Accepting request 990677 from home:AndreasStieger:branches:server:database
fix 3.39.2 submission boo#1201783

OBS-URL: https://build.opensuse.org/request/show/990677
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=291
2022-07-25 13:52:39 +00:00
Reinhard Max
b10f552687 - update to 3.39.2:
* Fix a performance regression in the query planner associated
    with rearranging the order of FROM clause terms in the
    presences of a LEFT JOIN.
  * Apply fixes for CVE-2022-35737, Chromium bugs 1343348 and
    1345947, forum post 3607259d3c, and other minor problems
    discovered by internal testing.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=290
2022-07-21 17:13:33 +00:00
Reinhard Max
c070330dbf Accepting request 989477 from home:AndreasStieger:branches:server:database
sqlite3 3.39.1

OBS-URL: https://build.opensuse.org/request/show/989477
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=289
2022-07-18 10:24:56 +00:00
Dominique Leuenberger
4fcb758eec Accepting request 989013 from server:database
OBS-URL: https://build.opensuse.org/request/show/989013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=134
2022-07-14 14:33:25 +00:00
Reinhard Max
8c683ec588 Accepting request 986303 from home:AndreasStieger:branches:server:database
- add sqlite-src-3390000-func7-pg-181.patch to skip float precision
  related test failures on 32 bit

OBS-URL: https://build.opensuse.org/request/show/986303
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=287
2022-07-13 14:47:10 +00:00
Lars Vogdt
38c80b0039 Accepting request 986280 from home:AndreasStieger:branches:server:database
sqlite3 3.39.0

OBS-URL: https://build.opensuse.org/request/show/986280
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=286
2022-07-01 19:42:51 +00:00
Dominique Leuenberger
fa350a13aa Accepting request 976547 from server:database
OBS-URL: https://build.opensuse.org/request/show/976547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=133
2022-05-14 20:52:07 +00:00
Reinhard Max
6cf8e942d7 Accepting request 975631 from home:AndreasStieger:branches:server:database
sqlite3 3.38.5

OBS-URL: https://build.opensuse.org/request/show/975631
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=284
2022-05-12 06:15:29 +00:00
Dominique Leuenberger
146d3dc6be Accepting request 974414 from server:database
OBS-URL: https://build.opensuse.org/request/show/974414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=132
2022-05-04 13:10:40 +00:00
Reinhard Max
52ec937b8f Accepting request 973534 from home:polslinux:branches:server:database
- update to 3.38.3:
  * Fix a case of the query planner be overly aggressive with
    optimizing automatic-index and Bloom-filter construction,
    using inappropriate ON clause terms to restrict the size of the
    automatic-index or Bloom filter, and resulting in missing rows
    in the output.
  * Other minor patches. See the timeline for details.

OBS-URL: https://build.opensuse.org/request/show/973534
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=282
2022-05-02 12:00:47 +00:00
Dominique Leuenberger
af6af228ba Accepting request 965652 from server:database
- update to 3.38.2:
  * Fix a problem with the Bloom filter optimization that might
    cause an incorrect answer when doing a LEFT JOIN with a WHERE
    clause constraint that says that one of the columns on the
    right table of the LEFT JOIN is NULL.
  * Other minor patches.

- Remove obsolete configure flags
- Package the Tcl bindings here again so that we only ship one copy
  of SQLite (bsc#1195773).

OBS-URL: https://build.opensuse.org/request/show/965652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=131
2022-04-01 19:34:51 +00:00
Reinhard Max
c464d12817 - update to 3.38.2:
* Fix a problem with the Bloom filter optimization that might
    cause an incorrect answer when doing a LEFT JOIN with a WHERE
    clause constraint that says that one of the columns on the
    right table of the LEFT JOIN is NULL.
  * Other minor patches.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=280
2022-03-29 11:46:41 +00:00
Reinhard Max
47ab3d6e59 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=279 2022-03-19 21:07:18 +00:00
Reinhard Max
c9c9f6d2d8 - Remove obsolete configure flags
- Package the Tcl bindings here again so that we only ship one copy
  of SQLite (bsc#1195773).
- Use dynamic linking for the sqlite3 shell.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=278
2022-03-16 18:44:06 +00:00
Dominique Leuenberger
c2b2d7c241 Accepting request 961697 from server:database
OBS-URL: https://build.opensuse.org/request/show/961697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=130
2022-03-15 18:04:12 +00:00
Reinhard Max
d3d0e359fe Accepting request 961694 from home:AndreasStieger:branches:server:database
3.38.1 - fix FTBFS

OBS-URL: https://build.opensuse.org/request/show/961694
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=276
2022-03-14 14:15:05 +00:00
Reinhard Max
c7eaffc52d Accepting request 961471 from home:AndreasStieger:branches:server:database
sqlite3 3.38.1

OBS-URL: https://build.opensuse.org/request/show/961471
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=275
2022-03-14 11:10:19 +00:00
Martin Pluskal
4f59238ce3 Accepting request 957745 from home:AndreasStieger:branches:server:database
sqlite3 3.38.0

OBS-URL: https://build.opensuse.org/request/show/957745
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=274
2022-03-09 09:09:18 +00:00
Dominique Leuenberger
8011cbf5c1 Accepting request 946796 from server:database
OBS-URL: https://build.opensuse.org/request/show/946796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=129
2022-01-19 23:11:49 +00:00
Reinhard Max
d43b785c99 Accepting request 945927 from home:AndreasStieger:branches:server:database
sqlite3 3.37.2

OBS-URL: https://build.opensuse.org/request/show/945927
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=273
2022-01-16 14:07:07 +00:00
Dominique Leuenberger
13799e2e9c Accepting request 943473 from server:database
OBS-URL: https://build.opensuse.org/request/show/943473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=128
2022-01-13 22:20:47 +00:00
Reinhard Max
6b2ed16806 Accepting request 943471 from home:AndreasStieger:branches:server:database
sqlite3 3.37.1

OBS-URL: https://build.opensuse.org/request/show/943471
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=272
2022-01-02 13:02:42 +00:00
Reinhard Max
b875dde3e6 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=271 2021-11-30 09:33:01 +00:00
Reinhard Max
b46ae693e3 - SQLite3 3.37.0:
* 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.
  * 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.
  * CLI: 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.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=270
2021-11-30 09:16:25 +00:00
Dominique Leuenberger
8c9502e57e Accepting request 902392 from server:database
OBS-URL: https://build.opensuse.org/request/show/902392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=127
2021-06-28 13:33:28 +00:00
Reinhard Max
5bff214348 Accepting request 901301 from home:polslinux:branches:server:database
- SQLite3 3.36.0:
  * 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 
    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.

OBS-URL: https://build.opensuse.org/request/show/901301
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=269
2021-06-25 13:38:01 +00:00
Dominique Leuenberger
17f33a0e1d Accepting request 887264 from server:database
SQLite3 3.35.5 (forwarded request 886927 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/887264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=126
2021-04-22 16:03:28 +00:00
Reinhard Max
4c5ecbbdea Accepting request 886927 from home:AndreasStieger:branches:server:database
SQLite3 3.35.5

OBS-URL: https://build.opensuse.org/request/show/886927
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=267
2021-04-21 10:08:49 +00:00
Reinhard Max
291d62e191 Accepting request 886908 from home:dirkmueller:Factory
- use https urls

OBS-URL: https://build.opensuse.org/request/show/886908
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=266
2021-04-20 08:14:11 +00:00
Reinhard Max
2b5cf2c709 Revert the merging of SLE-12 bug references into the changes file
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=265
2021-04-13 13:40:51 +00:00
Reinhard Max
fe9c70dea4 More merges from SLE12 to the changes file
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=264
2021-04-06 17:22:46 +00:00
Reinhard Max
8b96f6cbba OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=263 2021-04-06 15:00:05 +00:00
Reinhard Max
c767c076fa Accepting request 882778 from home:AndreasStieger:branches:server:database
SQLite 3.35.4

OBS-URL: https://build.opensuse.org/request/show/882778
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=262
2021-04-06 14:56:53 +00:00
Reinhard Max
98346ec9c1 - The following CVEs have been fixed in upstream releases up to
this point, but were not mentioned in the chane log so far:
  * bsc#1173641, CVE-2020-15358: heap-based buffer overflow in
    multiSelectOrderBy due to mishandling of query-flattener
    optimization
  * bsc#1164719, CVE-2020-9327: NULL pointer dereference and
    segmentation fault because of generated column optimizations in
    isAuxiliaryVtabOperator
  * bsc#1160439, CVE-2019-20218: selectExpander in select.c proceeds
    with WITH stack unwinding even after a parsing error
  * bsc#1160438, CVE-2019-19959: memory-management error via
    ext/misc/zipfile.c involving embedded '\0' input
  * bsc#1160309, CVE-2019-19923: improper handling  of  certain uses
    of SELECT DISTINCT in flattenSubquery may lead to null pointer
    dereference
  * bsc#1159850, CVE-2019-19924: improper error handling in
    sqlite3WindowRewrite()
  * bsc#1159847, CVE-2019-19925: improper handling of NULL pathname
    during an update of a ZIP archive
  * bsc#1159715, CVE-2019-19926: improper handling  of certain
    errors during parsing  multiSelect in select.c
  * bsc#1159491, CVE-2019-19880: exprListAppendList in window.c
    allows attackers to trigger an invalid pointer dereference
  * bsc#1158960, CVE-2019-19603: during handling of CREATE TABLE
    and CREATE VIEW statements, does not consider confusion with
    a shadow table name
  * bsc#1158959, CVE-2019-19646: pragma.c mishandles NOT NULL in an
    integrity_check PRAGMA command in certain cases of generated
    columns
  * bsc#1158958, CVE-2019-19645: alter.c allows attackers to trigger
    infinite recursion via certain types of self-referential views
    in conjunction with ALTER TABLE statements
  * bsc#1158812, CVE-2019-19317: lookupName in resolve.c omits bits
    from the colUsed bitmask in the case of a generated column,
    which allows attackers to cause a denial of service
  * bsc#1157818, CVE-2019-19244: sqlite3,sqlite2,sqlite: The
    function sqlite3Select in select.c allows a crash if a
    sub-select uses both DISTINCT and window functions, and also
    has certain ORDER BY usage
  * bsc#928701, CVE-2015-3415: sqlite3VdbeExec comparison operator
    vulnerability
  * bsc#928700, CVE-2015-3414: sqlite3,sqlite2: dequoting of
    collation-sequence names
  * CVE-2018-20346, bsc#1119687: remote code execution
    vulnerability in FTS3 (Magellan).

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=261
2021-04-01 10:56:15 +00:00