Commit Graph

359 Commits

Author SHA256 Message Date
Ana Guerrero
678f641dd2 Accepting request 1229466 from server:database
- Update to release 3.47.2:
  * Fix a problem in text-to-floating-point conversion that affects
    text values where the first 16 significant digits are
    '1844674407370955'. This issue was introduced in 3.47.0 and
    only arises on x64 and i386 hardware.
  * Other minor bug fixes.
- Enable the session extension, because NodeJS 22 needs it.

OBS-URL: https://build.opensuse.org/request/show/1229466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=155
2024-12-10 22:43:09 +00:00
Reinhard Max
4fc604a019 - Update to release 3.47.2:
* Fix a problem in text-to-floating-point conversion that affects
    text values where the first 16 significant digits are
    '1844674407370955'. This issue was introduced in 3.47.0 and
    only arises on x64 and i386 hardware.
  * Other minor bug fixes.
- Enable the session extension, because NodeJS 22 needs it.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=340
2024-12-09 11:54:34 +00:00
Ana Guerrero
32ab9a8aae Accepting request 1227134 from server:database
- Update to release 3.47.1:
  * Fix the makefiles so that they once again honored DESTDIR for
    the "install" target.
  * Add the SQLITE_IOCAP_SUBPAGE_READ capability to the VFS, to
    work around issues on some non-standard VFSes caused by making
    SQLITE_DIRECT_OVERFLOW_READ the default in version 3.45.0.
  * Fix incorrect answers to certain obscure IN queries caused by
    new query optimizations added in the 3.47.0 release.
  * Other minor bug fixes.

- Update to release 3.47.0:
  * Allow arbitrary expressions in the second argument to the RAISE
    function.
  * If the RHS of the ->> operator is negative, then access array
    elements counting from the right.
  * Fix a problem with rolling back hot journal files in the
    seldom-used unix-dotfile VFS.
  * FTS5 tables can now be dropped even if they use a non-standard
    tokenizer that has not been registered.
  * Fix the group_concat() aggregate function so that it returns an
    empty string, not a NULL, if it receives a single input value
    which is an empty string.
  * Enhance the generate_series() table-valued function so that it
    is able to recognize and use constraints on its output value.
    Preupdate hooks now recognize when a column added by ALTER
    TABLE ADD COLUMN has a non-null default value.
  * Improved reuse of subqueries associated with the IN operator,
    especially when the IN operator has been duplicated due to
    predicate push-down.
  * Use a Bloom filter on subqueries on the right-hand side of the

OBS-URL: https://build.opensuse.org/request/show/1227134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=154
2024-11-30 12:27:12 +00:00
Reinhard Max
4ccecc7c0d - Update to release 3.47.1:
* Fix the makefiles so that they once again honored DESTDIR for
    the "install" target.
  * Add the SQLITE_IOCAP_SUBPAGE_READ capability to the VFS, to
    work around issues on some non-standard VFSes caused by making
    SQLITE_DIRECT_OVERFLOW_READ the default in version 3.45.0.
  * Fix incorrect answers to certain obscure IN queries caused by
    new query optimizations added in the 3.47.0 release.
  * Other minor bug fixes.

- Update to release 3.47.0:
  * Allow arbitrary expressions in the second argument to the RAISE
    function.
  * If the RHS of the ->> operator is negative, then access array
    elements counting from the right.
  * Fix a problem with rolling back hot journal files in the
    seldom-used unix-dotfile VFS.
  * FTS5 tables can now be dropped even if they use a non-standard
    tokenizer that has not been registered.
  * Fix the group_concat() aggregate function so that it returns an
    empty string, not a NULL, if it receives a single input value
    which is an empty string.
  * Enhance the generate_series() table-valued function so that it
    is able to recognize and use constraints on its output value.
    Preupdate hooks now recognize when a column added by ALTER
    TABLE ADD COLUMN has a non-null default value.
  * Improved reuse of subqueries associated with the IN operator,
    especially when the IN operator has been duplicated due to
    predicate push-down.
  * Use a Bloom filter on subqueries on the right-hand side of the

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=338
2024-11-27 10:20:37 +00:00
Dominique Leuenberger
ec440d9598 Accepting request 1219501 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=153
2024-10-31 15:09:18 +00:00
Reinhard Max
cb98afc20c - Update to release 3.46.1:
* Improved robustness while parsing the tokenize= arguments in
    FTS5.
  * Enhancements to covering index prediction in the query planner.
  * Do not let the number of terms on a VALUES clause be limited by
    SQLITE_LIMIT_COMPOUND_SELECT, even if the VALUES clause
    contains elements that appear to be variables due to
    double-quoted string literals.
  * Fix the window function version of group_concat() so that it
    returns an empty string if it has one or more empty string
    inputs.
  * In FTS5 secure-delete mode, fix false-positive integrity-check
    reports about corrupt indexes.
  * Syntax errors in ALTER TABLE should always return SQLITE_ERROR.
    In some cases, they were formerly returning SQLITE_INTERNAL.
  * Other minor fixes.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=336
2024-09-24 11:42:43 +00:00
Ana Guerrero
2a591df592 Accepting request 1176758 from server:database
- Update to release 3.46.0:
  * https://sqlite.org/releaselog/3_46_0.html
  * Enhance PRAGMA optimize in multiple ways.
  * Enhancements to the date and time functions.
  * Add support for underscore ("_") characters between digits in
    numeric literals.
  * Add the json_pretty() SQL function.
  * Query planner improvements.
  * Allocate additional memory from the heap for the SQL parser
    stack if that stack overflows, rather than reporting a "parser
    stack overflow" error.
  * Allow ASCII control characters within JSON5 string literals.
  * Fix the -> and ->> JSON operators so that when the right-hand
    side operand is a string that looks like an integer it is still
    treated as a string, because that is what PostgreSQL does.
  * Obsoletes sqlite3-float-i586.patch.

OBS-URL: https://build.opensuse.org/request/show/1176758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=152
2024-05-28 15:27:19 +00:00
Reinhard Max
954b6b2caa - Update to release 3.46.0:
* https://sqlite.org/releaselog/3_46_0.html
  * Enhance PRAGMA optimize in multiple ways.
  * Enhancements to the date and time functions.
  * Add support for underscore ("_") characters between digits in
    numeric literals.
  * Add the json_pretty() SQL function.
  * Query planner improvements.
  * Allocate additional memory from the heap for the SQL parser
    stack if that stack overflows, rather than reporting a "parser
    stack overflow" error.
  * Allow ASCII control characters within JSON5 string literals.
  * Fix the -> and ->> JSON operators so that when the right-hand
    side operand is a string that looks like an integer it is still
    treated as a string, because that is what PostgreSQL does.
  * Obsoletes sqlite3-float-i586.patch.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=334
2024-05-23 19:30:28 +00:00
Ana Guerrero
6d5984446f Accepting request 1169661 from server:database
- Update to release 3.45.3:
  * Fix a long-standing bug (going back to version 3.24.0) that
    might (rarely) cause the "old.*" values of an UPDATE trigger
    to be incorrect if that trigger fires in response to an UPSERT.
  * Reduce the scope of the NOT NULL strength reduction
    optimization that was added as item 8e in version 3.35.0. The
    optimization was being attempted in some contexts where it did
    not work, resulting in incorrect query results.
- Add SQLITE_STRICT_SUBTYPE=1 as recommended by upstream.

OBS-URL: https://build.opensuse.org/request/show/1169661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=151
2024-04-26 21:26:26 +00:00
Reinhard Max
155638d144 - Update to release 3.45.3:
* Fix a long-standing bug (going back to version 3.24.0) that
    might (rarely) cause the "old.*" values of an UPDATE trigger
    to be incorrect if that trigger fires in response to an UPSERT.
  * Reduce the scope of the NOT NULL strength reduction
    optimization that was added as item 8e in version 3.35.0. The
    optimization was being attempted in some contexts where it did
    not work, resulting in incorrect query results.
- Add SQLITE_STRICT_SUBTYPE=1 as recommended by upstream.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=332
2024-04-18 08:29:52 +00:00
Ana Guerrero
6d6a8c75e3 Accepting request 1158281 from server:database
- Update to release 3.45.2:
  * Added the SQLITE_RESULT_SUBTYPE property for application-
    defined SQL functions.
  * Enhancements to the JSON SQL functions
  * Add the FTS5 tokendata option to the FTS5 virtual table.
  * The SQLITE_DIRECT_OVERFLOW_READ optimization is now enabled by
    default.
  * Query planner improvements
  * Increase the default value for SQLITE_MAX_PAGE_COUNT from
    1073741824 to 4294967294.
  * Enhancements to the CLI
  * Restore the JSON BLOB input bug, and promise to support the
    anomaly in subsequent releases, for backward compatibility.
  * Fix the PRAGMA integrity_check command so that it works on
    read-only databases that contain FTS3 and FTS5 tables.
  * Fix issues associated with processing corrupt JSONB inputs.
  * Fix a long-standing bug in which a read of a few bytes past the
    end of a memory-mapped segment might occur when accessing a
    craftily corrupted database using memory-mapped database.
  * Fix a long-standing bug in which a NULL pointer dereference
    might occur in the bytecode engine due to incorrect bytecode
    being generated for a class of SQL statements that are
    deliberately designed to stress the query planner but which
    are otherwise pointless.
  * Fix an error in UPSERT, introduced in version 3.35.0.
  * Reduce the scope of the NOT NULL strength reduction
    optimization that was added in version 3.35.0.
- Add sqlite3-float-i586.patch to fix build on i586.
- sqlite3-rtree-i686.patch is not needed anymore.
- Abort build when %version and %tarversion don't match.

OBS-URL: https://build.opensuse.org/request/show/1158281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=150
2024-03-17 21:13:29 +00:00
Reinhard Max
9fe3cba2c3 - Add sqlite3-float-i586.patch to fix build on i586.
- sqlite3-rtree-i686.patch is not needed anymore.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=330
2024-03-15 14:57:36 +00:00
Reinhard Max
0c4f7bcc97 - Update to release 3.45.2:
* Added the SQLITE_RESULT_SUBTYPE property for application-
    defined SQL functions.
  * Enhancements to the JSON SQL functions
  * Add the FTS5 tokendata option to the FTS5 virtual table.
  * The SQLITE_DIRECT_OVERFLOW_READ optimization is now enabled by
    default.
  * Query planner improvements
  * Increase the default value for SQLITE_MAX_PAGE_COUNT from
    1073741824 to 4294967294.
  * Enhancements to the CLI
  * Restore the JSON BLOB input bug, and promise to support the
    anomaly in subsequent releases, for backward compatibility.
  * Fix the PRAGMA integrity_check command so that it works on
    read-only databases that contain FTS3 and FTS5 tables.
  * Fix issues associated with processing corrupt JSONB inputs.
  * Fix a long-standing bug in which a read of a few bytes past the
    end of a memory-mapped segment might occur when accessing a
    craftily corrupted database using memory-mapped database.
  * Fix a long-standing bug in which a NULL pointer dereference
    might occur in the bytecode engine due to incorrect bytecode
    being generated for a class of SQL statements that are
    deliberately designed to stress the query planner but which
    are otherwise pointless.
  * Fix an error in UPSERT, introduced in version 3.35.0.
  * Reduce the scope of the NOT NULL strength reduction
    optimization that was added in version 3.35.0.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=329
2024-03-12 14:59:03 +00:00
Reinhard Max
f5416321bb - Update to release 3.45.1
* Details will follow...
- Abort build when %version and %tarversion don't match.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=328
2024-01-30 18:08:35 +00:00
Ana Guerrero
94b67df5ad Accepting request 1133118 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1133118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=149
2023-12-15 20:47:09 +00:00
Reinhard Max
b8b8403bee Accepting request 1131615 from home:dimstar:Factory
- Fix Version to advertise as 3.44.2, matching the tarball version.

OBS-URL: https://build.opensuse.org/request/show/1131615
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=326
2023-12-11 08:08:59 +00:00
Ana Guerrero
88c75defdf Accepting request 1130837 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1130837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=148
2023-12-05 16:02:45 +00:00
Reinhard Max
41cf744a23 - Update to release 3.44.2
* Fix a mistake in the CLI that was introduced by the fix in
    3.44.1.
  * Fix a problem in FTS5 that was discovered during internal fuzz
    testing only minutes after the 3.44.1 release was tagged.
  * Fix incomplete assert() statements that the fuzzer discovered.
  * Fix a couple of harmless compiler warnings that appeared in
    debug builds with GCC 16.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=324
2023-11-27 18:18:37 +00:00
Reinhard Max
78d06b5581 - Update to release 3.44.1
* Change the CLI so that it uses UTF-16 for console I/O on Windows.
  * Other obscure bug fixes.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=323
2023-11-22 17:34:30 +00:00
Ana Guerrero
c19bfcdb2b Accepting request 1123976 from server:database
OBS-URL: https://build.opensuse.org/request/show/1123976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=147
2023-11-08 21:16:42 +00:00
Reinhard Max
89ae143f90 Accepting request 1123191 from home:jengelh:branches:server:database
- Update to release 3.44.0

OBS-URL: https://build.opensuse.org/request/show/1123191
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=321
2023-11-07 12:45:51 +00:00
Ana Guerrero
1173f8e2f8 Accepting request 1119230 from server:database
- sqlite3-rtree-i686.patch: temporary build fix for 32-bit x86.

- Update to: 3.43.2:
  * Fix a couple of obscure UAF errors and an obscure memory leak.
  * Omit the use of the sprintf() function from the standard
    library in the CLI, as this now generates warnings on some
    platforms.
  * Avoid conversion of a double into unsigned long long integer,
    as some platforms do not do such conversions correctly.

- Update to: 3.43.1
  * Fix a regression in the way that the sum(), avg(), and total()
    aggregate functions handle infinities.
  * Fix a bug in the json_array_length() function that occurs when
    the argument comes directly from json_remove().
  * Fix the omit-unused-subquery-columns optimization (introduced
    in in version 3.42.0) so that it works correctly if the
    subquery is a compound where one arm is DISTINCT and the other
    is not.

- Update to 3.43.0:
  * Add support for Contentless-Delete FTS5 Indexes. This is a
    variety of FTS5 full-text search index that omits storing the
    content that is being indexed while also allowing records to
    be deleted.
  * Enhancements to the date and time functions:
    + Added new time shift modifiers of the form
      ±YYYY-MM-DD HH:MM:SS.SSS.
    + Added the timediff() SQL function.
  * Added the octet_length(X) SQL function.

OBS-URL: https://build.opensuse.org/request/show/1119230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=146
2023-10-20 21:16:05 +00:00
Reinhard Max
e3d4d193d7 - sqlite3-rtree-i686.patch: temporary build fix for 32-bit x86.
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=319
2023-10-19 13:30:43 +00:00
Reinhard Max
ab54f45ac4 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=318 2023-10-18 17:22:45 +00:00
Reinhard Max
3d3f0ad76c - Update to: 3.42.2:
* Fix a couple of obscure UAF errors and an obscure memory leak.
  * Omit the use of the sprintf() function from the standard
    library in the CLI, as this now generates warnings on some
    platforms.
  * Avoid conversion of a double into unsigned long long integer,
    as some platforms do not do such conversions correctly.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=317
2023-10-10 16:05:16 +00:00
Reinhard Max
148ae3d8b6 - Update to: 3.43.1
* Fix a regression in the way that the sum(), avg(), and total()
    aggregate functions handle infinities.
  * Fix a bug in the json_array_length() function that occurs when
    the argument comes directly from json_remove().
  * Fix the omit-unused-subquery-columns optimization (introduced
    in in version 3.42.0) so that it works correctly if the
    subquery is a compound where one arm is DISTINCT and the other
    is not.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=316
2023-09-11 14:50:47 +00:00
Martin Pluskal
37c084e88b Accepting request 1106058 from home:amanzini:branches:server:database
- Update to 3.43.0:
  * Add support for Contentless-Delete FTS5 Indexes. This is a variety of FTS5 full-text search index that omits storing the content that is being indexed while also allowing records to be deleted.
  * Enhancements to the date and time functions:
    + Added new time shift modifiers of the form ±YYYY-MM-DD HH:MM:SS.SSS.
    + Added the timediff() SQL function.
  * Added the octet_length(X) SQL function.
  * Added the sqlite3_stmt_explain() API.
  * Query planner enhancements:
    + Generalize the LEFT JOIN strength reduction optimization so that it works for RIGHT and FULL JOINs as well. Rename it to OUTER JOIN strength reduction.
    + Enhance the theorem prover in the OUTER JOIN strength reduction optimization so that it returns fewer false-negatives.
  * Enhancements to the decimal extension:
    + New function decimal_pow2(N) returns the N-th power of 2 for integer N between -20000 and +20000.
    + New function decimal_exp(X) works like decimal(X) except that it returns the result in exponential notation - with a "e+NN" at the end.
    + If X is a floating-point value, then the decimal(X) function now does a full expansion of that value into its exact decimal equivalent.
  * Performance enhancements to JSON processing results in a 2x performance improvement for some kinds of processing on large JSON strings.
  * The VFS for unix now assumes that the nanosleep() system call is available unless compiled with -DHAVE_NANOSLEEP=0.

OBS-URL: https://build.opensuse.org/request/show/1106058
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=315
2023-08-31 08:06:24 +00:00
Dominique Leuenberger
1502fa914a Accepting request 1087547 from server:database
- Update to 3.42.0:
  * Add the FTS5 secure-delete command. This option causes all
    forensic traces to be removed from the FTS5 inverted index when
    content is deleted.
  * Enhance the JSON SQL functions to support JSON5 extensions.
  * The SQLITE_CONFIG_LOG and SQLITE_CONFIG_PCACHE_HDRSZ calls to
    sqlite3_config() are now allowed to occur after
    sqlite3_initialize().
  * New sqlite3_db_config() options:
    SQLITE_DBCONFIG_STMT_SCANSTATUS and
    SQLITE_DBCONFIG_REVERSE_SCANORDER.
  * Query planner improvements.
  * Add the --unsafe-testing command-line option.
  * Allow commands ".log on" and ".log off", even in --safe mode.
  * "--" as a command-line argument means all subsequent arguments
    that start with "-" are interpreted as normal non-option
    argument.
  * Magic parameters ":inf" and ":nan" bind to floating point
    literals Infinity and NaN, respectively.
  * Add the ability for application-defined SQL functions to have
    the same name as join keywords: CROSS, FULL, INNER, LEFT,
    NATURAL, OUTER, or RIGHT.
  * Enhancements to PRAGMA integrity_check
  * Allow the session extension to be configured to capture changes
    from tables that lack an explicit ROWID.
  * Added the subsecond modifier to the date and time functions.
  * Negative values passed into sqlite3_sleep() are henceforth
    interpreted as 0.
  * The maximum recursion depth for JSON arrays and objects is
    lowered from 2000 to 1000.

OBS-URL: https://build.opensuse.org/request/show/1087547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=145
2023-05-18 13:18:19 +00:00
Reinhard Max
94156a4c52 - Update to 3.42.0:
* Add the FTS5 secure-delete command. This option causes all
    forensic traces to be removed from the FTS5 inverted index when
    content is deleted.
  * Enhance the JSON SQL functions to support JSON5 extensions.
  * The SQLITE_CONFIG_LOG and SQLITE_CONFIG_PCACHE_HDRSZ calls to
    sqlite3_config() are now allowed to occur after
    sqlite3_initialize().
  * New sqlite3_db_config() options:
    SQLITE_DBCONFIG_STMT_SCANSTATUS and
    SQLITE_DBCONFIG_REVERSE_SCANORDER.
  * Query planner improvements.
  * Add the --unsafe-testing command-line option.
  * Allow commands ".log on" and ".log off", even in --safe mode.
  * "--" as a command-line argument means all subsequent arguments
    that start with "-" are interpreted as normal non-option
    argument.
  * Magic parameters ":inf" and ":nan" bind to floating point
    literals Infinity and NaN, respectively.
  * Add the ability for application-defined SQL functions to have
    the same name as join keywords: CROSS, FULL, INNER, LEFT,
    NATURAL, OUTER, or RIGHT.
  * Enhancements to PRAGMA integrity_check
  * Allow the session extension to be configured to capture changes
    from tables that lack an explicit ROWID.
  * Added the subsecond modifier to the date and time functions.
  * Negative values passed into sqlite3_sleep() are henceforth
    interpreted as 0.
  * The maximum recursion depth for JSON arrays and objects is
    lowered from 2000 to 1000.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=313
2023-05-17 09:36:33 +00:00
Dominique Leuenberger
322f239800 Accepting request 1073837 from server:database
- Update to 3.41.2:
  * Multiple fixes for reads past the end of memory buffers
  * Fix the sqlite3_error_offset() so that it does not return
    out-of-range values when reporting errors associated with
    generated columns.
  * Multiple fixes in the query query optimizer for problems that
    cause incorrect results for bizarre, fuzzer-generated queries.
  * Increase the size of the reference counter in the page cache
    object to 64 bits to ensure that the counter never overflows.
  * Fix a performance regression caused by a bug fix in patch
    release 3.41.1.
  * Fix a few incorrect assert() statements.

- Update to 3.41.1:
  * Ensure that the datatype for column t1.x in "CREATE TABLE t1 AS
    SELECT CAST(7 AS INT) AS x;" continues to be INT and is not
    NUM, for historical compatibility.
  * Enhance PRAGMA integrity_check to detect when extra bytes
    appear at the end of an index record.
  * Fix various obscure bugs reported by the user community

OBS-URL: https://build.opensuse.org/request/show/1073837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=144
2023-03-24 14:16:15 +00:00
Reinhard Max
e14d797334 - Update to 3.41.2:
* Multiple fixes for reads past the end of memory buffers
  * Fix the sqlite3_error_offset() so that it does not return
    out-of-range values when reporting errors associated with
    generated columns.
  * Multiple fixes in the query query optimizer for problems that
    cause incorrect results for bizarre, fuzzer-generated queries.
  * Increase the size of the reference counter in the page cache
    object to 64 bits to ensure that the counter never overflows.
  * Fix a performance regression caused by a bug fix in patch
    release 3.41.1.
  * Fix a few incorrect assert() statements.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=311
2023-03-22 15:25:48 +00:00
Reinhard Max
5b479316ed Accepting request 1072680 from home:AndreasStieger:branches:server:database
sqlite3 3.41.1

OBS-URL: https://build.opensuse.org/request/show/1072680
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=310
2023-03-21 15:10:35 +00:00
Dominique Leuenberger
b9c0c84f37 Accepting request 1071411 from server:database
OBS-URL: https://build.opensuse.org/request/show/1071411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=143
2023-03-15 17:53:14 +00:00
Martin Pluskal
83e27cb4e6 Accepting request 1070137 from home:pluskalm:branches:server:database
- Build AVX2 enabled hwcaps library for x86_64-v3

OBS-URL: https://build.opensuse.org/request/show/1070137
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=308
2023-03-14 08:38:46 +00:00
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