396 Commits

Author SHA256 Message Date
572cc5ceab Accepting request 1332086 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1332086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=171
2026-02-10 20:11:43 +00:00
e7308d14f7 - Update to version 3.51.2:
* Fix an obscure deadlock in the new broken-posix-lock detection
    logic.
  * Fix multiple problems in the EXISTS-to-JOIN optimization.
  * Other minor bug fixes.
    in a very specific way (CVE-2025-7709, bsc#1254670).

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=377
2026-02-02 16:31:33 +00:00
397d6c0f3d Accepting request 1320534 from server:database
- Update to version 3.51.1:
  * Fix incorrect results from nested EXISTS queries caused by the
    optimization in item 6b in the 3.51.0 release.
  * Fix a latent bug in fts5vocab virtual table, exposed by new
    optimizations in the 3.51.0 release
- Changes in version 3.51.0:
  * New macros in sqlite3.h:
    - SQLITE_SCM_BRANCH → the name of the branch from which the
      source code is taken.
    - SQLITE_SCM_TAGS → space-separated list of tags on the source
      code check-in.
    - SQLITE_SCM_DATETIME → ISO-8601 date and time of the source
      code check-in.
  * Two new JSON functions, jsonb_each() and jsonb_tree() work the
    same as the existing json_each() and json_tree() functions
    except that they return JSONB for the "value" column when the
    "type" is 'array' or 'object'.
  * The carray and percentile extensions are now built into the
    amalgamation, though they are disabled by default and must be
    activated at compile-time using the -DSQLITE_ENABLE_CARRAY
    and/or -DSQLITE_ENABLE_PERCENTILE options, respectively.
  * Enhancements to TCL Interface:
    - Add the -asdict flag to the eval command to have it set the
      row data as a dict instead of an array.
    - User-defined functions may now break to return an SQL NULL.
  * CLI enhancements:
    - Increase the precision of ".timer" to microseconds.
    - Enhance the "box" and "column" formatting modes to deal with
      double-wide characters.
    - The ".imposter" command provides read-only imposter tables

OBS-URL: https://build.opensuse.org/request/show/1320534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=170
2025-12-02 12:18:34 +00:00
a61f83b866 - Update to version 3.51.1:
* Fix incorrect results from nested EXISTS queries caused by the
    optimization in item 6b in the 3.51.0 release.
  * Fix a latent bug in fts5vocab virtual table, exposed by new
    optimizations in the 3.51.0 release
- Changes in version 3.51.0:
  * New macros in sqlite3.h:
    - SQLITE_SCM_BRANCH → the name of the branch from which the
      source code is taken.
    - SQLITE_SCM_TAGS → space-separated list of tags on the source
      code check-in.
    - SQLITE_SCM_DATETIME → ISO-8601 date and time of the source
      code check-in.
  * Two new JSON functions, jsonb_each() and jsonb_tree() work the
    same as the existing json_each() and json_tree() functions
    except that they return JSONB for the "value" column when the
    "type" is 'array' or 'object'.
  * The carray and percentile extensions are now built into the
    amalgamation, though they are disabled by default and must be
    activated at compile-time using the -DSQLITE_ENABLE_CARRAY
    and/or -DSQLITE_ENABLE_PERCENTILE options, respectively.
  * Enhancements to TCL Interface:
    - Add the -asdict flag to the eval command to have it set the
      row data as a dict instead of an array.
    - User-defined functions may now break to return an SQL NULL.
  * CLI enhancements:
    - Increase the precision of ".timer" to microseconds.
    - Enhance the "box" and "column" formatting modes to deal with
      double-wide characters.
    - The ".imposter" command provides read-only imposter tables

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=375
2025-11-28 21:00:37 +00:00
8c0577655f Accepting request 1312730 from server:database
- bsc#1252217: Add a %license file.

OBS-URL: https://build.opensuse.org/request/show/1312730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=169
2025-10-23 14:35:26 +00:00
75ab454fc6 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=373 2025-10-21 09:17:08 +00:00
ec4371ca98 - bsc#1252217: Add a %license file.
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=372
2025-10-21 08:32:24 +00:00
d0d01b0c8b Accepting request 1301434 from server:database
- bsc#1248586: Fix icu-enabled build.

OBS-URL: https://build.opensuse.org/request/show/1301434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=168
2025-08-27 19:34:07 +00:00
2bf916658a - bsc#1248586: Fix icu-enabled build.
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=370
2025-08-26 12:21:16 +00:00
9cd9fa91e5 Accepting request 1299767 from server:database
- Update to version 3.50.4:
  * Fix two long-standings cases of the use of uninitialized
    variables in obscure circumstances.

OBS-URL: https://build.opensuse.org/request/show/1299767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=167
2025-08-16 18:37:04 +00:00
aa82dee6cf - Update to version 3.50.4:
* Fix two long-standings cases of the use of uninitialized
    variables in obscure circumstances.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=368
2025-08-11 16:21:07 +00:00
a593801994 Accepting request 1294396 from server:database
- Update to version 3.50.3:
  * Fix a possible memory error that can occur if a query is made
    against against FTS5 index that has been deliberately corrupted
    in a very specific way.
  * Fix the parser so that it ignored SQL comments in all places of
    a CREATE TRIGGER statement. This resolves a problem that was
    introduced by the introduction of the
    SQLITE_DBCONFIG_ENABLE_COMMENTS feature in version 3.49.0.
  * Fix an incorrect answer due to over-optimization of an AND
    operator.

OBS-URL: https://build.opensuse.org/request/show/1294396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=166
2025-07-20 13:28:18 +00:00
c5b4acde68 - Update to version 3.50.3:
* Fix a possible memory error that can occur if a query is made
    against against FTS5 index that has been deliberately corrupted
    in a very specific way.
  * Fix the parser so that it ignored SQL comments in all places of
    a CREATE TRIGGER statement. This resolves a problem that was
    introduced by the introduction of the
    SQLITE_DBCONFIG_ENABLE_COMMENTS feature in version 3.49.0.
  * Fix an incorrect answer due to over-optimization of an AND
    operator.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=366
2025-07-17 17:13:35 +00:00
e9093313ba Add CVE and bug references
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=365
2025-07-16 09:38:06 +00:00
20d8b95289 Accepting request 1289540 from server:database
- Update to 3.50.2:
  * Fix the concat_ws() SQL function so that it includes empty
    strings in the concatenation.
  * Avoid writing frames with no checksums into the wal file if a
    savepoint is rolled back after dirty pages have already been
    spilled into the wal file.
  * Fix the Bitvec object to avoid stack overflow when the
    database is within 60 pages of its maximum size.
  * Fix a problem with UPDATEs on fts5 tables that contain BLOB
    values.
  * Fix an issue with transitive IS constraints on a RIGHT JOIN.
  * Raise an error early if the number of aggregate terms in a
    query exceeds the maximum number of columns, to avoid
    downstream assertion faults.
  * Ensure that sqlite3_setlk_timeout() holds the database mutex.

OBS-URL: https://build.opensuse.org/request/show/1289540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=165
2025-07-02 10:07:37 +00:00
e11562dfc4 - Update to 3.50.2:
* Fix the concat_ws() SQL function so that it includes empty
    strings in the concatenation.
  * Avoid writing frames with no checksums into the wal file if a
    savepoint is rolled back after dirty pages have already been
    spilled into the wal file.
  * Fix the Bitvec object to avoid stack overflow when the
    database is within 60 pages of its maximum size.
  * Fix a problem with UPDATEs on fts5 tables that contain BLOB
    values.
  * Fix an issue with transitive IS constraints on a RIGHT JOIN.
  * Raise an error early if the number of aggregate terms in a
    query exceeds the maximum number of columns, to avoid
    downstream assertion faults.
  * Ensure that sqlite3_setlk_timeout() holds the database mutex.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=363
2025-07-01 12:10:41 +00:00
eb34fab4c3 Accepting request 1284363 from server:database
OBS-URL: https://build.opensuse.org/request/show/1284363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=164
2025-06-11 14:20:21 +00:00
d55172737b Accepting request 1284022 from home:AndreasStieger:branches:server:database
sqlite3 3.50.1

OBS-URL: https://build.opensuse.org/request/show/1284022
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=361
2025-06-10 07:59:43 +00:00
18de4df347 Accepting request 1277474 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1277474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=163
2025-05-15 14:59:27 +00:00
08d3a3e709 * CVE-2025-29087, CVE-2025-3277, bsc#1241020:
Fix a bug in the concat_ws() function, introduced in version
    3.44.0, that could lead to a memory error if the separator
    string is very large (hundreds of megabytes).

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=359
2025-05-07 15:22:08 +00:00
4e4afe5e04 - Update to release 3.49.2:
* Fix a bug in the NOT NULL optimization of version 3.40.0 that
    can lead to a memory error if abused.
  * Fix the count-of-view optimization so that it does not give an
    incorrect answer for a DISTINCT query.
  * Fix a possible incorrect answer that can result if a UNIQUE
    constraint of a table contains the PRIMARY KEY column and that
    UNIQUE constraint is used by an IN operator.
  * Fix obscure problems with the generate_series() extension
    function.
  * Incremental improvements to the configure/make.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=358
2025-05-07 13:40:35 +00:00
96199a9137 Accepting request 1273687 from server:database
OBS-URL: https://build.opensuse.org/request/show/1273687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=162
2025-05-01 13:22:39 +00:00
9ddf789ebd Accepting request 1270251 from home:mnhauke
- Add subpackage for the lemon parser generator.
- Add patches:
  * sqlite-3.49.0-fix-lemon-missing-cflags.patch
  * sqlite-3.6.23-lemon-system-template.patch

OBS-URL: https://build.opensuse.org/request/show/1270251
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=356
2025-04-30 13:20:37 +00:00
4c42dd27a8 Accepting request 1269271 from server:database
- Update to release 3.49.1:
  * CVE-2025-29087, bsc#1241020: Fix a bug in the concat_ws()
    function, introduced in version 3.44.0, that could lead to a
    memory error if the separator string is very large (hundreds
    of megabytes).
  * CVE-2025-29088, bsc#1241078: Enhanced the
    SQLITE_DBCONFIG_LOOKASIDE interface to make it  more robust
    against misuse.

OBS-URL: https://build.opensuse.org/request/show/1269271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=161
2025-04-14 14:50:24 +00:00
85263d019f - Update to release 3.49.1:
* CVE-2025-29087, bsc#1241020: Fix a bug in the concat_ws()
    function, introduced in version 3.44.0, that could lead to a
    memory error if the separator string is very large (hundreds
    of megabytes).
  * CVE-2025-29088, bsc#1241078: Enhanced the
    SQLITE_DBCONFIG_LOOKASIDE interface to make it  more robust
    against misuse.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=354
2025-04-14 13:11:09 +00:00
b3ef20b167 Accepting request 1254257 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1254257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=160
2025-03-20 18:24:36 +00:00
448b163b77 Accepting request 1252165 from home:jengelh:branches:server:database
- Mark build recipe as POSIX-sh-incompatible
- fix a group value
- Run mkdir/rm with verbose mode for the build log

OBS-URL: https://build.opensuse.org/request/show/1252165
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=352
2025-03-17 16:00:01 +00:00
0e94e78343 Accepting request 1247001 from server:database
- Update to release 3.19.1:
  * Improve portability of makefiles and configure scripts.
  * Fix a bug in the concat_ws() function, introduced in version
    3.44.0, that could lead to a memory error if the separator
    string is very large (hundreds of megabytes).
  * Enhanced the SQLITE_DBCONFIG_LOOKASIDE interface to make it
    more robust against misuse.

OBS-URL: https://build.opensuse.org/request/show/1247001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=159
2025-02-20 15:27:15 +00:00
b46aacfdb4 - Update to release 3.19.1:
* Improve portability of makefiles and configure scripts.
  * Fix a bug in the concat_ws() function, introduced in version
    3.44.0, that could lead to a memory error if the separator
    string is very large (hundreds of megabytes).
  * Enhanced the SQLITE_DBCONFIG_LOOKASIDE interface to make it
    more robust against misuse.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=350
2025-02-18 17:15:54 +00:00
38e6740176 Accepting request 1245758 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1245758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=158
2025-02-16 21:37:00 +00:00
88818239b6 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=348 2025-02-06 21:33:26 +00:00
01b1c45b73 - Update to release 3.48.0:
* Enhancements to the query planner:
    - Improve the query-time index optimization so that it works on
      WITHOUT ROWID tables.
    - Better query plans for large star-query joins. This fixes
      three different performance regressions that were reported
      on the SQLite Forum.
    - When two or more queries have the same estimated cost, use
      the one with the fewer bytes per row.
  * Enhance the iif() SQL function so that it can accept any number
    of arguments greater than or equal to two.
  * Enhance the session extension so that it works on databases
    that make use of generated columns.
  * Omit the SQLITE_USE_STDIO_FOR_CONSOLE compile-time option which
    was not implemented correctly and never worked right. In its place
    add the SQLITE_USE_W32_FOR_CONSOLE_IO compile-time option. This
    option applies to command-line tools like the CLI only, not to the
    SQLite core. It causes Win32 APIs to be used for console I/O
    instead of stdio. This option affects Windows builds only.
  * Three new options to sqlite3_db_config(). All default "on".
    SQLITE_DBCONFIG_ENABLE_ATTACH_CREATE
    SQLITE_DBCONFIG_ENABLE_ATTACH_WRITE
    SQLITE_DBCONFIG_ENABLE_COMMENTS

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=347
2025-02-06 18:04:10 +00:00
a4390c8898 Accepting request 1238215 from server:database
- Update to release 3.48.0:
  * Improved EXPLAIN QUERY PLAN output for covering indexes.
  * Allow a two-argument version of the iif() SQL function.
  * Also allow if() as an alternative spelling for iif().
  * Add the ".dbtotxt" command to the CLI.
  * Add the SQLITE_IOCAP_SUBPAGE_READ property to the
    xDeviceCharacteristics method of the sqlite3_io_methods object.
  * Add the SQLITE_PREPARE_DONT_LOG option to sqlite3_prepare_v3()
    that prevents warning messages being sent to the error log if
    the SQL is ill-formed. This allows sqlite3_prepare_v3() to be
    used to do test compiles of SQL to check for validity without
    polluting the error log with false messages.
  * Increase the minimum allowed value of SQLITE_LIMIT_LENGTH from
    1 to 30.
  * Added the SQLITE_FCNTL_NULL_IO file control.
  * Extend the FTS5 auxiliary API xInstToken() to work with prefix
    queries via the insttoken configuration option and the
    fts5_insttoken() SQL function.
  * Increase the maximum number of arguments to an SQL function
    from 127 to 1000.
  * Obsoletes sqlite3-6216bfcb.patch .
- Re-enable SONAME which got disabled by default in 3.48.0.
  * https://www.sqlite.org/src/forumpost/5a3b44f510df8ded
  * https://sqlite.org/forum/forumpost/ab8f15697a  

- Update to release 3.48.0:
  * Improved EXPLAIN QUERY PLAN output for covering indexes.
  * Allow a two-argument version of the iif() SQL function.
  * Also allow if() as an alternative spelling for iif().
  * Add the ".dbtotxt" command to the CLI.

OBS-URL: https://build.opensuse.org/request/show/1238215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=157
2025-01-17 17:37:15 +00:00
cd8410bef0 - Re-enable SONAME which got disabled by default in 3.48.0.
* https://www.sqlite.org/src/forumpost/5a3b44f510df8ded
  * https://sqlite.org/forum/forumpost/ab8f15697a

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=345
2025-01-16 10:55:52 +00:00
9ffa00f0a9 - Update to release 3.48.0:
* Improved EXPLAIN QUERY PLAN output for covering indexes.
  * Allow a two-argument version of the iif() SQL function.
  * Also allow if() as an alternative spelling for iif().
  * Add the ".dbtotxt" command to the CLI.
  * Add the SQLITE_IOCAP_SUBPAGE_READ property to the
    xDeviceCharacteristics method of the sqlite3_io_methods object.
  * Add the SQLITE_PREPARE_DONT_LOG option to sqlite3_prepare_v3()
    that prevents warning messages being sent to the error log if
    the SQL is ill-formed. This allows sqlite3_prepare_v3() to be
    used to do test compiles of SQL to check for validity without
    polluting the error log with false messages.
  * Increase the minimum allowed value of SQLITE_LIMIT_LENGTH from
    1 to 30.
  * Added the SQLITE_FCNTL_NULL_IO file control.
  * Extend the FTS5 auxiliary API xInstToken() to work with prefix
    queries via the insttoken configuration option and the
    fts5_insttoken() SQL function.
  * Increase the maximum number of arguments to an SQL function
    from 127 to 1000.
  * Obsoletes sqlite3-6216bfcb.patch .

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=344
2025-01-14 15:48:55 +00:00
5fc9ca42af Accepting request 1231554 from server:database
- Add sqlite3-6216bfcb.patch to fix a test suite regression in
  3.47.0 on s390x. Only the test was broken, not the code itself.
  https://sqlite.org/forum/forumpost/7b2bab04c5

OBS-URL: https://build.opensuse.org/request/show/1231554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=156
2024-12-17 18:22:37 +00:00
ea9acf60d8 - Add sqlite3-6216bfcb.patch to fix a test suite regression in
3.47.0 on s390x. Only the test was broken, not the code itself.
  https://sqlite.org/forum/forumpost/7b2bab04c5

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=342
2024-12-16 16:12:19 +00:00
b1bbbb5dec 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
e2fd53ca05 - 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
a39dfae10d 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
daca8d8813 - 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
4102579af4 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
70a4d2dbff - 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
861c371322 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
9bbfb2709c - 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
2a33405e67 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
72fb1503a6 - 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
a44bcc7fe8 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
74c32ccd96 - 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
47cd5251d3 - 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