Commit Graph

101 Commits

Author SHA256 Message Date
Ismail Dönmez
c5699505fb - Fix a boundary condition error introduced by version 3.12.0 that
can result in a crash during heavy SAVEPOINT usage.
- Fix views so that they inherit column datatypes from the table
  that they are defined against, when possible.
- Fix the query planner so that IS and IS NULL operators are able to
  drive an index on a LEFT OUTER JOIN.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=157
2016-04-09 06:58:37 +00:00
Ismail Dönmez
3c63068c63 - SQLite 3.12.0:
* The SQLITE_DEFAULT_PAGE_SIZE is increased from 1024 to 4096.
    The SQLITE_DEFAULT_CACHE_SIZE is changed from 2000 to -2000
    so the same amount of cache memory is used by default.
  * Enhancements to the Lemon parser generator so that it creates
    a smaller and faster SQL parser.
  * Only create master journal files if two or more attached databases
    are all modified, do not have PRAGMA synchronous set to OFF,
    and do not have the journal_mode set to OFF, MEMORY, or WAL.
  * Added the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to
    sqlite3_db_config() which allows the two-argument version of the
    fts3_tokenizer() SQL function to be enabled or disabled at run-time.
  * Added the sqlite3rbu_bp_progress() interface to the RBU extension.
  * The PRAGMA defer_foreign_keys=ON statement now also disables RESTRICT
    actions on foreign key.
  * Added the sqlite3_system_errno() interface.
  * Added the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS
    compile-time options. The SQLITE_DEFAULT_SYNCHRONOUS compile-time option
    replaces the SQLITE_EXTRA_DURABLE option, which is no longer supported.
  * Enhanced the ".stats" command in the command-line shell to show more
    information about I/O performance obtained from /proc, when available.
  * Make sure the sqlite3_set_auxdata() values from multiple triggers within
    a single statement do not interfere with one another. Ticket dc9b1c91.
  * Fix the code generator for expressions of the form "x IN (SELECT...)"
    where the SELECT statement on the RHS is a correlated subquery.
- Remove sqlite3-link-binary-with-libsqlite3.patch: replaced with configure
  option --disable-static-shell

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=155
2016-03-30 08:02:52 +00:00
Ismail Dönmez
718e1870dc - Enable secure delete by default, this matches Fedora & Android.
It can be disabled with `PRAGMA SECURE_DELETE = 0;`
- Enable more extensions, syncing with Fedora & Gentoo.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=153
2016-03-25 08:53:27 +00:00
Ismail Dönmez
986bb445a7 Accepting request 367770 from home:dimstar:Factory
The changeset I had in my branch - for @namtrac to decide if he wants any of it

OBS-URL: https://build.opensuse.org/request/show/367770
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=150
2016-03-07 17:37:04 +00:00
Ismail Dönmez
710b9b6313 - Enable FTS5 support.
- Add sqlite-fts5-link.patch to link to math library because FTS5
  code uses log().

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=147
2016-03-07 14:02:44 +00:00
Ismail Dönmez
6aaf9cc059 Accepting request 366738 from home:AndreasStieger:branches:server:database
SQLite 3.11.1

OBS-URL: https://build.opensuse.org/request/show/366738
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=146
2016-03-05 19:55:10 +00:00
Martin Pluskal
9b843a17c8 Accepting request 363683 from home:lnussel:branches:server:database
- explicitly enable readline support
- run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/363683
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=145
2016-03-01 16:54:34 +00:00
Martin Pluskal
c532a5c073 Accepting request 360173 from home:pluskalm:branches:server:database
- Update to 3.11.0

OBS-URL: https://build.opensuse.org/request/show/360173
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=143
2016-02-18 15:43:43 +00:00
Martin Pluskal
9fbf9d8d6a Accepting request 355069 from home:AndreasStieger:branches:server:database
SQlite 3.10.2

OBS-URL: https://build.opensuse.org/request/show/355069
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=141
2016-01-20 20:02:21 +00:00
Ismail Dönmez
5cb4c5484e Accepting request 353885 from home:AndreasStieger:branches:server:database
SQLite 3.10.1

OBS-URL: https://build.opensuse.org/request/show/353885
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=140
2016-01-15 18:53:15 +00:00
Ismail Dönmez
3dd64b2333 Accepting request 352452 from home:mimi_vx:branches:server:database
- update to 3.10.0
- spec-cleaned
* Added support for LIKE, GLOB, and REGEXP operators on virtual tables.
* Added the colUsed field to sqlite3_index_info for use by the 
	sqlite3_module.xBestIndex method.
* Enhance the PRAGMA cache_spill statement to accept a 32-bit integer parameter 
	which is the threshold below which cache spilling is prohibited.
* On unix, if a symlink to a database file is opened, then the corresponding 
	journal files are based on the actual filename, not the symlink name.
* Added the "--transaction" option to sqldiff.
* Added the sqlite3_db_cacheflush() interface.
* Added the sqlite3_strlike() interface.
* When using memory-mapped I/O map the database file read-only so that stray 
	pointers and/or array overruns in the application cannot accidently modify
	the database file.
* Added the experimental sqlite3_snapshot_get(), sqlite3_snapshot_open(), and 
	sqlite3_snapshot_free() interfaces. These are subject to change or removal in
	a subsequent release.
* Enhance the 'utc' modifier in the date and time functions so that it is a no-op 
	if the date/time is known to already be in UTC. (This is not a compatibility 
	break since the behavior has long been documented as "undefined" in that case.)
* Added the json_group_array() and json_group_object() SQL functions in the json
	 extension.
* Added the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option.
* Many small performance optimizations.
+ Enhancements to the command-line shell:
 * Added the ".changes ON|OFF" and ".vfsinfo" dot-commands.
+ Important fixes:
 * Fix inconsistent integer to floating-point comparison operations that could 
	result in a corrupt index if the index is created on a table column that

OBS-URL: https://build.opensuse.org/request/show/352452
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=138
2016-01-07 14:08:29 +00:00
Ismail Dönmez
6d3dd807bf Accepting request 342160 from home:AndreasStieger:branches:server:database
SQLite 3.9.2

OBS-URL: https://build.opensuse.org/request/show/342160
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=136
2015-11-03 05:36:42 +00:00
Martin Pluskal
70e5b8d442 Accepting request 339340 from home:AndreasStieger:branches:server:database
SQLite 3.9.1

OBS-URL: https://build.opensuse.org/request/show/339340
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=134
2015-10-17 07:59:51 +00:00
Martin Pluskal
f2aa50f699 Accepting request 339128 from home:AndreasStieger:branches:server:database
SQLite 3.9.0

OBS-URL: https://build.opensuse.org/request/show/339128
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=133
2015-10-15 15:23:13 +00:00
Martin Pluskal
d044fdf4f1 Accepting request 319764 from home:pluskalm:branches:server:database
- Update to 3.8.11.1
  * Restore an undocumented side-effect of PRAGMA cache_size: force 
    the database schema to be parsed if the database has not been 
    previously accessed.
  * Fix a long-standing problem in sqlite3_changes() for WITHOUT 
    ROWID tables that was reported a few hours after the 3.8.11 
    release.

OBS-URL: https://build.opensuse.org/request/show/319764
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=131
2015-07-31 11:48:30 +00:00
Martin Pluskal
7cb5666f61 Accepting request 319027 from home:AndreasStieger:branches:server:database
SQLite 3.8.11

OBS-URL: https://build.opensuse.org/request/show/319027
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=130
2015-07-27 19:27:49 +00:00
Martin Pluskal
97bf673137 Accepting request 308578 from home:AndreasStieger:branches:server:database
SQLite 3.8.10.2

OBS-URL: https://build.opensuse.org/request/show/308578
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=128
2015-05-24 20:55:32 +00:00
Ismail Dönmez
087510d9cf Accepting request 306202 from home:AndreasStieger:branches:server:database
SQLite 3.8.10.1

OBS-URL: https://build.opensuse.org/request/show/306202
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=126
2015-05-10 12:48:29 +00:00
Martin Pluskal
2fd2808d1c Accepting request 305821 from home:elvigia:branches:server:database
- Update to SQLite 3.8.10
* Added the y format string to the matchinfo() function of FTS3.
* Performance improvements for ORDER BY, VACUUM, CREATE INDEX, 
  PRAGMA integrity_check, and PRAGMA quick_check
* Fix many obscure problems discovered while SQL fuzzing.
* Add the ".binary" and ".limits" commands to the command-line shell
* Make the "dbstat" virtual table part of standard builds 
  when compiled with the SQLITE_ENABLE_DBSTAT_VTAB option.

OBS-URL: https://build.opensuse.org/request/show/305821
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=124
2015-05-07 19:52:01 +00:00
Martin Pluskal
aaf82b0182 Accepting request 295044 from home:AndreasStieger:branches:server:database
sqlite3 3.8.9

OBS-URL: https://build.opensuse.org/request/show/295044
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=122
2015-04-08 19:41:52 +00:00
Reinhard Max
94636bea7d Accepting request 287723 from home:pluskalm:branches:server:database
- Update to SQLite 3.8.8.3
  * Fix a bug (ticket 2326c258d02ead33) that can lead to incorrect 
    results if the qualifying constraint of a partial index 
    appears in the ON clause of a LEFT JOIN.
  * Added the ability to link against the "linenoise" command-line 
    editing library in unix builds of the command-line shell.

OBS-URL: https://build.opensuse.org/request/show/287723
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=120
2015-02-25 16:50:21 +00:00
Reinhard Max
0d0f135f69 Accepting request 286593 from home:AndreasStieger:branches:server:database
SQLite 3.8.8.2

OBS-URL: https://build.opensuse.org/request/show/286593
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=118
2015-02-18 09:28:07 +00:00
Reinhard Max
117f707bb9 Accepting request 282154 from home:AndreasStieger:branches:server:database
sqlite 3.8.8.1

OBS-URL: https://build.opensuse.org/request/show/282154
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=116
2015-01-21 07:58:47 +00:00
Ismail Dönmez
ceabbf210a Accepting request 281567 from home:AndreasStieger:branches:server:database
SQLite 3.8.8

OBS-URL: https://build.opensuse.org/request/show/281567
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=115
2015-01-18 15:48:05 +00:00
Ismail Dönmez
0f1a8315dc Accepting request 264768 from home:AndreasStieger:branches:server:database
SQLite 3.8.7.4

OBS-URL: https://build.opensuse.org/request/show/264768
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=113
2014-12-11 17:59:54 +00:00
eee1787ea3 Accepting request 264258 from home:AndreasStieger:branches:server:database
SQLite 3.8.7.3

OBS-URL: https://build.opensuse.org/request/show/264258
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=112
2014-12-08 09:08:42 +00:00
Reinhard Max
fe275c9d10 Accepting request 262316 from home:AndreasStieger:branches:server:database
SQLite 3.8.7.2

OBS-URL: https://build.opensuse.org/request/show/262316
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=110
2014-11-19 14:57:30 +00:00
Ismail Dönmez
b9c08b60d4 Accepting request 258887 from home:AndreasStieger:branches:server:database
SQLite 3.8.7.1

OBS-URL: https://build.opensuse.org/request/show/258887
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=108
2014-10-30 09:16:05 +00:00
Ismail Dönmez
ba6166bede Accepting request 257487 from home:AndreasStieger:branches:server:database
SQLite 3.8.7

OBS-URL: https://build.opensuse.org/request/show/257487
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=106
2014-10-18 14:26:13 +00:00
Ismail Dönmez
5b5d01a5e2 Accepting request 244887 from home:AndreasStieger:branches:server:database
SQLite 3.8.6

OBS-URL: https://build.opensuse.org/request/show/244887
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=104
2014-08-25 09:19:42 +00:00
Tomáš Chvátal
61b4574e1a Accepting request 236322 from home:AndreasStieger:branches:server:database
SQlite 3.8.5

OBS-URL: https://build.opensuse.org/request/show/236322
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=102
2014-06-12 08:10:50 +00:00
Reinhard Max
9e5fd70c17 Accepting request 231120 from home:tittiatcoke
Enable the unlock_notify API as that the QSQLITE3 driver for akonadi-runtime is depending on it

OBS-URL: https://build.opensuse.org/request/show/231120
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=100
2014-04-23 11:32:06 +00:00
Reinhard Max
c5d8dc26ef Accepting request 228936 from home:AndreasStieger:branches:server:database
SQLite 3.8.4.3

OBS-URL: https://build.opensuse.org/request/show/228936
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=98
2014-04-04 06:56:54 +00:00
Reinhard Max
4d3caaaf47 Accepting request 228181 from home:AndreasStieger:branches:server:database
SQLite 3.8.4.2

OBS-URL: https://build.opensuse.org/request/show/228181
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=96
2014-03-29 18:10:03 +00:00
Tomáš Chvátal
12d1c7f203 Accepting request 225635 from home:AndreasStieger:branches:server:database
SQLite 3.8.4.1

OBS-URL: https://build.opensuse.org/request/show/225635
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=94
2014-03-19 09:19:54 +00:00
Sascha Peilicke
516d56a9be Accepting request 225478 from home:AndreasStieger:branches:server:database
SQLite 3.8.4

OBS-URL: https://build.opensuse.org/request/show/225478
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=93
2014-03-11 12:10:44 +00:00
Reinhard Max
eb5519679d Accepting request 221962 from home:AndreasStieger:branches:server:database
SQLite 3.8.3.1, add -doc

OBS-URL: https://build.opensuse.org/request/show/221962
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=91
2014-02-13 10:47:47 +00:00
Reinhard Max
7890cc49c2 - New version: 3.8.3:
* Added support for common table expressions and the WITH
    clause.
  * Added the printf() SQL function.
  * Added SQLITE_DETERMINISTIC as an optional bit in the 4th
    argument to the sqlite3_create_function() and related
    interfaces, providing applications with the ability to create
    new functions that can be factored out of inner loops when
    they have constant arguments.
  * Add SQLITE_READONLY_DBMOVED error code, returned at the
    beginning of a transaction, to indicate that the underlying
    database file has been renamed or moved out from under SQLite.
  * Allow arbitrary expressions, including function calls and
    subqueries, in the filename argument to ATTACH.
  * Allow a VALUES clause to be used anywhere a SELECT statement
    is valid.
  * Reseed the PRNG used by sqlite3_randomness(N,P) when invoked
    with N==0. Automatically reseed after a fork() on unix.
  * Enhance the spellfix1 virtual table so that it can search
    efficiently by rowid.
  * Performance enhancements.
  * Improvements to the comments in the VDBE byte-code display
    when running EXPLAIN.
  * Add the "%token_class" directive to LEMON parser generator and
    use it to simplify the grammar.
  * Change the LEMON source code to avoid calling C-library
    functions that OpenBSD considers dangerous. (Ex: sprintf).
  * Bug fix: In the command-line shell CSV import feature, do not
    end a field when an escaped double-quote occurs at the end of
    a CRLN line.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=88
2014-02-04 15:09:58 +00:00
Reinhard Max
033189079a - Simplify building on RH for Application:Geo.
- See discussion in https://build.opensuse.org/request/show/212812

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=85
2014-01-07 17:09:45 +00:00
Sascha Peilicke
afc4aaf9f8 Accepting request 210613 from home:AndreasStieger:branches:server:database
update to 3.8.2

OBS-URL: https://build.opensuse.org/request/show/210613
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=83
2013-12-12 09:41:06 +00:00
Sascha Peilicke
872200894d Accepting request 203757 from home:kpetsch:branches:server:database
Update to Version 3.8.1

OBS-URL: https://build.opensuse.org/request/show/203757
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=81
2013-10-21 13:01:22 +00:00
Reinhard Max
3e45c51507 Version 3.8.0.2
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=79
2013-09-23 11:53:53 +00:00
Reinhard Max
57ce3693c9 Fix typo in .changes
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=78
2013-08-30 19:16:53 +00:00
Reinhard Max
767d7215f2 - New version 3.7.18.
- Full list of changes: http://sqlite.org/releaselog/3_8_0.html
- Highlights:
  * Add support for partial indexes.
  * Cut-over to the next generation query planner for faster and
    better query plans.
  * Added the FTS4 notindexed option, allowing non-indexed columns
    in an FTS4 table.
  * Added the SQLITE_ALLOW_URI_AUTHORITY compile-time option.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=77
2013-08-26 22:29:58 +00:00
Reinhard Max
2b5e93f41a - New version 3.7.17.
- Full list of changes: http://sqlite.org/releaselog/3_7_17.html

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=76
2013-08-26 10:43:29 +00:00
Reinhard Max
c77337250e - The Tcl bindings for SQLite are now part of the Tcl core, so the
sqlite3-tcl subpackage is no longer needed.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=74
2013-08-12 22:33:07 +00:00
Reinhard Max
a35e0c1d2a - New Version 3.7.16:
* Added the PRAGMA foreign_key_check command.
  * Added new extended error codes for all SQLITE_CONSTRAINT
    errors
  * Added the SQLITE_READONLY_ROLLBACK extended error code for
    when a database cannot be opened because it needs rollback
    recovery but is read-only.
  * Added SQL functions unicode(A) and char(X1,...,XN).
  * Performance improvements for PRAGMA incremental_vacuum,
    especially in cases where the number of free pages is greater
    than what will fit on a single trunk page of the freelist.
  * Improved optimization of queries containing aggregate min() or
    max().
  * Enhance virtual tables so that they can potentially use an
    index when the WHERE clause contains the IN operator.
  * Allow indices to be used for sorting even if prior terms of
    the index are constrained by IN operators in the WHERE clause.
  * Enhance the PRAGMA table_info command so that the "pk" column
    is an increasing integer to show the order of columns in the
    primary key.
  * Enhance the query optimizer to exploit transitive join
    constraints.
  * Performance improvements in the query optimizer.
  * Allow the error message from PRAGMA integrity_check to be
    longer than 20000 bytes.
  * Improved name resolution for deeply nested queries.
  * Added the test_regexp.c module as a demonstration of how to
    implement the REGEXP operator.
  * Improved error messages in the RTREE extension.
  * Enhance the command-line shell so that a non-zero argument to

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=72
2013-03-20 12:21:34 +00:00
Reinhard Max
8f5b0c2cdf 3.7.15.2
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=69
2013-01-24 14:29:14 +00:00
Reinhard Max
4e2ccf0831 - Bugfix release 3.7.14.1:
* Fix a bug that causes a segfault on a LEFT JOIN that includes
    an OR in the ON clause.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=67
2012-10-05 07:18:11 +00:00
Reinhard Max
7120e1de44 Accepting request 132547 from home:m_meister:branches:server:database
- New version 3.7.14:
  * Ensure that floating point values are preserved exactly when 
    reconstructing a database from the output of the ".dump" 
    command of the command-line shell.
  * Added the sqlite3_close_v2() interface.
  * Updated the command-line shell so that it can be built using 
    SQLITE_OMIT_FLOATING_POINT and SQLITE_OMIT_AUTOINIT.
  * Enhancements to PRAGMA integrity_check and PRAGMA quick_check 
    so that they can optionally check just a single attached 
    database install of all attached databases.
  * Enhancements to WAL mode processing that ensure that at least 
    one valid read-mark is available at all times, so that 
    read-only processes can always read the database.
  * Performance enhancements in the sorter used by ORDER BY and CREATE INDEX.
  * Added the SQLITE_DISABLE_FTS4_DEFERRED compile-time option.
  * Better handling of aggregate queries where the aggregate 
    functions are contained within subqueries.
  * Enhance the query planner so that it will try to use a 
    covering index on queries that make use of or optimization.

OBS-URL: https://build.opensuse.org/request/show/132547
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=64
2012-09-04 14:56:41 +00:00