Commit Graph

209 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
fa38ede2d7 Accepting request 880128 from home:marxin:branches:server:database
- Fix typo in macro definition.

OBS-URL: https://build.opensuse.org/request/show/880128
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=259
2021-03-19 16:18:37 +00:00
Reinhard Max
e7732c1be7 Accepting request 879748 from home:AndreasStieger:branches:server:database
SQLite 3.35.2

OBS-URL: https://build.opensuse.org/request/show/879748
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=258
2021-03-18 08:32:44 +00:00
Reinhard Max
b311b5d183 Accepting request 879097 from home:dirkmueller:Factory
- update to 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
  * 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.
  * 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 "%"

OBS-URL: https://build.opensuse.org/request/show/879097
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=256
2021-03-15 11:04:30 +00:00
Reinhard Max
c129602d4d Accepting request 865503 from home:AndreasStieger:branches:server:database
SQLite 3.34.1 (boo#1181261)

OBS-URL: https://build.opensuse.org/request/show/865503
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=254
2021-01-25 15:23:22 +00:00
Reinhard Max
30b3f3ad53 - SQLite 3.34.0:
* Added the sqlite3_txn_state() interface for reporting on the
    current transaction state of the database connection.
  * Enhance recursive common table expressions to support two or more
    recursive terms as is done by SQL Server, since this helps make
    queries against graphs easier to write and faster to execute.\
  * Improved error messages on CHECK constraint failures.
  * The .read dot-command now accepts a pipeline in addition to a
    filename.
  * Added options --data-only and --nosys to the .dump dot-command.
  * Added the --nosys option to the .schema dot-command.
  * Table name quoting works correctly for the .import dot-command.
  * The generate_series(START,END,STEP) table-valued function
    extension is now built into the CLI.
  * The .databases dot-command now show the status of each database
    file as determined by sqlite3_db_readonly() and
    sqlite3_txn_state().
  * Added the --tabs command-line option that sets .mode tabs.
  * The --init option reports an error if the file named as its
    argument cannot be opened. The --init option also now honors the
    --bail option.
  * Improved estimates for the cost of running a DISTINCT operator.
  * When doing an UPDATE or DELETE using a multi-column index where
    only a few of the earlier columns of the index are useful for the
    index lookup, postpone doing the main table seek until after all
    WHERE clause constraints have been evaluated, in case those
    constraints can be covered by unused later terms of the index,
    thus avoiding unnecessary main table seeks.
  * The new OP_SeekScan opcode is used to improve performance of
    multi-column index look-ups when later columns are constrained by

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=252
2020-12-02 14:29:05 +00:00
a32082d43e Accepting request 826777 from home:AndreasStieger:branches:server:database
SQLite 3.33.0

OBS-URL: https://build.opensuse.org/request/show/826777
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=250
2020-08-15 06:19:58 +00:00