Commit Graph

275 Commits

Author SHA256 Message Date
Dominique Leuenberger
b5d6038452 Accepting request 880148 from server:database
- Fix typo in macro definition. (forwarded request 880128 from marxin)

OBS-URL: https://build.opensuse.org/request/show/880148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=125
2021-03-21 22:19:31 +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
Richard Brown
ab763fc6c0 Accepting request 879153 from server:database
OBS-URL: https://build.opensuse.org/request/show/879153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=124
2021-03-16 14:43:04 +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
Dominique Leuenberger
b1ce85ade3 Accepting request 866634 from server:database
OBS-URL: https://build.opensuse.org/request/show/866634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=123
2021-01-30 12:55:25 +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
Dominique Leuenberger
30c39510b9 Accepting request 852646 from server:database
- SQLite 3.34.0:

OBS-URL: https://build.opensuse.org/request/show/852646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=122
2020-12-05 19:36:08 +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
Dominique Leuenberger
992d20b7b6 Accepting request 826778 from server:database
OBS-URL: https://build.opensuse.org/request/show/826778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=121
2020-08-19 16:43:00 +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
Dominique Leuenberger
057dda8255 Accepting request 816145 from server:database
SQLite 3.32.3
CVE-2020-13871 boo#1172646

OBS-URL: https://build.opensuse.org/request/show/816145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=120
2020-06-27 21:20:29 +00:00
324a41fa9f Accepting request 816144 from home:AndreasStieger:branches:server:database
SQLite 3.32.3
    CVE-2020-13871 boo#1172646

OBS-URL: https://build.opensuse.org/request/show/816144
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=248
2020-06-20 11:26:28 +00:00
Dominique Leuenberger
8f2547bfcb Accepting request 811818 from server:database
OBS-URL: https://build.opensuse.org/request/show/811818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=119
2020-06-11 12:41:28 +00:00
Reinhard Max
dd9eb59508 Accepting request 811817 from home:polslinux:branches:server:database
- SQLite 3.32.2:
  * Fix a long-standing bug in the byte-code engine that can cause
    a COMMIT command report as success when in fact it failed to commit

OBS-URL: https://build.opensuse.org/request/show/811817
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=246
2020-06-05 13:33:46 +00:00
3895735909 OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=245 2020-05-26 09:22:37 +00:00
efe6732014 Accepting request 808967 from home:AndreasStieger:branches:server:database
SQLite 3.32.1 boo#1172091

OBS-URL: https://build.opensuse.org/request/show/808967
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=244
2020-05-26 09:17:11 +00:00
Martin Pluskal
7114875895 Accepting request 808506 from home:AndreasStieger:branches:server:database
SQLite 3.32.0

OBS-URL: https://build.opensuse.org/request/show/808506
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=243
2020-05-24 08:00:22 +00:00
Dominique Leuenberger
0b0d2f29f0 Accepting request 768339 from server:database
- Fix a regression on ppc64be and s390x, found by the fuzzing
  tests, add 04885763c4cd00cb-s390-compatibility.patch.
- Adapt some FTS tests to work on big endian archs:
  b20503aaf5b6595a-adapt-FTS-tests-for-big-endian.patch (forwarded request 768317 from StefanBruens)

OBS-URL: https://build.opensuse.org/request/show/768339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=118
2020-02-03 10:11:24 +00:00
Reinhard Max
e293172c27 Accepting request 768317 from home:StefanBruens:branches:server:database
- Fix a regression on ppc64be and s390x, found by the fuzzing
  tests, add 04885763c4cd00cb-s390-compatibility.patch.
- Adapt some FTS tests to work on big endian archs:
  b20503aaf5b6595a-adapt-FTS-tests-for-big-endian.patch

OBS-URL: https://build.opensuse.org/request/show/768317
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=241
2020-01-29 13:28:00 +00:00
Dominique Leuenberger
d128edee86 Accepting request 768037 from server:database
OBS-URL: https://build.opensuse.org/request/show/768037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=117
2020-01-29 12:11:21 +00:00
Martin Pluskal
049da797ac Accepting request 767878 from home:AndreasStieger:branches:server:database
SQLite 3.31.1

OBS-URL: https://build.opensuse.org/request/show/767878
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=239
2020-01-28 13:31:26 +00:00
Martin Pluskal
358762e70c Accepting request 766693 from home:AndreasStieger:branches:server:database
SQLite 3.31.0

OBS-URL: https://build.opensuse.org/request/show/766693
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=238
2020-01-26 17:11:11 +00:00
Dominique Leuenberger
4e0e4b48ee Accepting request 765985 from server:database
OBS-URL: https://build.opensuse.org/request/show/765985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=116
2020-01-23 15:10:23 +00:00
Reinhard Max
e5d5862acb Accepting request 765315 from home:StefanBruens:branches:openSUSE:Factory:Staging:O
Fix failing Django/Django1 testsuites
Fix some more errors

OBS-URL: https://build.opensuse.org/request/show/765315
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=236
2020-01-21 07:56:37 +00:00
Martin Pluskal
5ce7153b11 - Add sqlite3-django.patch to fix builds of django
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=235
2019-12-10 11:41:51 +00:00
Martin Pluskal
8693102bf0 Accepting request 737540 from home:AndreasStieger:branches:server:database
3.30.1

OBS-URL: https://build.opensuse.org/request/show/737540
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=234
2019-10-12 11:07:28 +00:00
Reinhard Max
b8456c3029 Accepting request 735530 from home:AndreasStieger:branches:server:database
sqlite3 3.30.0

OBS-URL: https://build.opensuse.org/request/show/735530
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=233
2019-10-07 07:50:05 +00:00
Dominique Leuenberger
fb1529b7bc Accepting request 731563 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/731563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=115
2019-09-24 23:13:57 +00:00
Reinhard Max
a68ee4aeaf - bsc#1150137, CVE-2019-16168, sqlite3-CVE-2019-16168.patch:
Improper validation of qlite_stat1 sz field leads to division by
  zero.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=231
2019-09-10 15:21:46 +00:00
Dominique Leuenberger
2492118a10 Accepting request 714604 from server:database
- Update to version 3.29.0
  * Added the SQLITE_DBCONFIG_DQS_DML and SQLITE_DBCONFIG_DQS_DDL
    actions to sqlite3_db_config() for activating and deactivating
    the double-quoted string literal misfeature. Both default to 
    "on" for legacy compatibility, but developers are encouraged 
    to turn them "off", perhaps using the -DSQLITE_DQS=0
    compile-time option.
  * -DSQLITE_DQS=0 is now a recommended compile-time option.
  * Improvements to the query planner:
    + Improved optimization of AND and OR operators when one or
      the other operand is a constant.
    + Enhancements to the LIKE optimization for cases when the
      left-hand side column has numeric affinity.
  * Added the "sqlite_dbdata" virtual table for extracting raw
    low-level content from an SQLite database, even a database
    that is corrupt.
  * Enhancements to the CLI:
    + Add the ".recover" command which tries to recover as much
      content as possible from a corrupt database file.
    + Add the ".filectrl" command useful for testing.
    + Add the long-standing ".testctrl" command to the ".help" menu.
    + Added the ".dbconfig" command

OBS-URL: https://build.opensuse.org/request/show/714604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=114
2019-07-16 06:37:32 +00:00
Ismail Dönmez
756d8b5bef - Update to version 3.29.0
* Added the SQLITE_DBCONFIG_DQS_DML and SQLITE_DBCONFIG_DQS_DDL
    actions to sqlite3_db_config() for activating and deactivating
    the double-quoted string literal misfeature. Both default to 
    "on" for legacy compatibility, but developers are encouraged 
    to turn them "off", perhaps using the -DSQLITE_DQS=0
    compile-time option.
  * -DSQLITE_DQS=0 is now a recommended compile-time option.
  * Improvements to the query planner:
    + Improved optimization of AND and OR operators when one or
      the other operand is a constant.
    + Enhancements to the LIKE optimization for cases when the
      left-hand side column has numeric affinity.
  * Added the "sqlite_dbdata" virtual table for extracting raw
    low-level content from an SQLite database, even a database
    that is corrupt.
  * Enhancements to the CLI:
    + Add the ".recover" command which tries to recover as much
      content as possible from a corrupt database file.
    + Add the ".filectrl" command useful for testing.
    + Add the long-standing ".testctrl" command to the ".help" menu.
    + Added the ".dbconfig" command

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=229
2019-07-11 09:13:12 +00:00
Dominique Leuenberger
c3cf3cce47 Accepting request 706065 from server:database
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/706065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=113
2019-06-12 11:01:29 +00:00
Reinhard Max
0372cc6f27 - Upgrade to 3.28.0:
* CVE-2019-9936, bsc#1130326: running fts5 prefix queries inside
    a transaction could trigger a heap-based buffer over-read.
  * CVE-2019-9937, bsc#1130325: interleaving reads and writes in a
    single transaction with an fts5 virtual table will lead to a
    NULL Pointer Dereference.
  * Enhanced window functions
  * Enhanced VACUUM INTO so that it works for read-only databases.
  * New query optimizations.
  * Added the sqlite3_value_frombind() API for determining if the
    argument to an SQL function is from a bound parameter. 
  * Security and compatibilities enhancements to fts3_tokenizer().
  * Improved robustness against corrupt database files.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=227
2019-04-18 14:01:24 +00:00
Dominique Leuenberger
b8ff1d52ec Accepting request 683700 from server:database
OBS-URL: https://build.opensuse.org/request/show/683700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=112
2019-03-14 13:51:44 +00:00
Martin Pluskal
653ad56e46 Accepting request 683629 from home:AndreasStieger:branches:server:database
fix submission

OBS-URL: https://build.opensuse.org/request/show/683629
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=225
2019-03-11 07:48:20 +00:00
c4ff05c450 Accepting request 683604 from home:AndreasStieger:branches:server:database
SQLite 3.27.2

OBS-URL: https://build.opensuse.org/request/show/683604
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=224
2019-03-10 20:32:12 +00:00
Dominique Leuenberger
8f48eaa21c Accepting request 666791 from server:database
- btree02.test depended on Tcl internals that changed in 8.6.9.
  (sqlite3-btree02-100.patch)

OBS-URL: https://build.opensuse.org/request/show/666791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=111
2019-01-29 13:38:54 +00:00
Reinhard Max
6fe134e325 (sqlite3-btree02-100.patch)
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=222
2019-01-17 17:31:01 +00:00
Reinhard Max
222abde85f Fix build with Tcl 8.6.9
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=221
2019-01-17 17:17:18 +00:00
Dominique Leuenberger
e720322502 Accepting request 664348 from server:database
- SQLite 3.26.0:
  * Optimization: When doing an UPDATE on a table with indexes on
    expressions, do not update the expression indexes if they do
    not refer to any of the columns of the table being updated.
  * Allow the xBestIndex() method of virtual table implementations
    to return SQLITE_CONSTRAINT to indicate that the proposed query
    plan is unusable and should not be given further consideration.
  * Added the SQLITE_DBCONFIG_DEFENSIVE option which disables the
    ability to create corrupt database files using ordinary SQL.
  * Added support for read-only shadow tables when the
    SQLITE_DBCONFIG_DEFENSIVE option is enabled.
  * Added the PRAGMA legacy_alter_table command, which if enabled
    causes the ALTER TABLE command to behave like older version of
    SQLite (prior to version 3.25.0) for compatibility.
  * Added PRAGMA table_xinfo that works just like PRAGMA table_info
    except that it also shows hidden columns in virtual tables.
  * Added the explain virtual table as a run-time loadable
    extension.
  * Add a limit counter to the query planner to prevent excessive
    sqlite3_prepare() times for certain pathological SQL inputs.
  * Added support for the sqlite3_normalized_sql() interface, when
    compiling with SQLITE_ENABLE_NORMALIZE.
  * Enhanced triggers so that they can use table-valued functions
    that exist in schemas other than the schema where the trigger
    is defined.
  * Improvements to the ".help" command in the CLI.
  * The SQLITE_HISTORY environment variable, if it exists,
    specifies the name of the command-line editing history file.
  * The --deserialize option associated with opening a new database
    in the CLI cause the database file to be read into memory and
    accessed using the sqlite3_deserialize() API. This simplifies
    running tests on a database without modifying the file on disk.

OBS-URL: https://build.opensuse.org/request/show/664348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=110
2019-01-15 08:13:28 +00:00
Ismail Dönmez
4ebb0b5414 Accepting request 655576 from home:mkraus:branches:server:database
SQLite 3.26.0

OBS-URL: https://build.opensuse.org/request/show/655576
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=219
2018-12-06 11:24:43 +00:00
Dominique Leuenberger
33bdd02e36 Accepting request 640415 from server:database
OBS-URL: https://build.opensuse.org/request/show/640415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=109
2018-10-11 09:47:09 +00:00
Martin Pluskal
45d8bd58eb Accepting request 640275 from home:AndreasStieger:branches:server:database
SQLite 3.25.2

OBS-URL: https://build.opensuse.org/request/show/640275
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=217
2018-10-07 15:14:19 +00:00
Dominique Leuenberger
2df85cdc4c Accepting request 636108 from server:database
OBS-URL: https://build.opensuse.org/request/show/636108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=108
2018-09-26 13:59:52 +00:00
Ismail Dönmez
54cffd3f1a Accepting request 635923 from home:AndreasStieger:branches:server:database
SQLite 3.25.0

OBS-URL: https://build.opensuse.org/request/show/635923
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=215
2018-09-17 08:16:38 +00:00
Dominique Leuenberger
bd0c581759 Accepting request 620598 from server:database
OBS-URL: https://build.opensuse.org/request/show/620598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=107
2018-07-07 19:54:21 +00:00
Ismail Dönmez
53b2418609 Accepting request 619899 from home:awissu:branches:network
- Enable the FTS3 extension

OBS-URL: https://build.opensuse.org/request/show/619899
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=213
2018-07-04 09:26:58 +00:00
Dominique Leuenberger
0b73b6b295 Accepting request 619776 from server:database
OBS-URL: https://build.opensuse.org/request/show/619776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=106
2018-07-02 21:29:39 +00:00
Reinhard Max
5513048e30 Accepting request 619771 from home:pluskalm:branches:server:database
- Run tests during build

OBS-URL: https://build.opensuse.org/request/show/619771
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=211
2018-06-29 13:06:55 +00:00