Commit graph

118 commits

Author SHA1 Message Date
adam
1ef812f377 Changes 3.7.17:
Add support for memory-mapped I/O.
Add the sqlite3_strglob() convenience interface.
Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID.
Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL.
Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log.
Added the SQLITE_TRACE_SIZE_LIMIT compile-time option.
Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry.
Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time.
Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways:
If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes.
The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically.
Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does.
Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time.
Enhance the fts4aux virtual table so that it can be a TEMP table.
Added the fts3tokenize virtual table to the full-text search logic.
Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops.
Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems.
Improved tracing and debugging facilities in the Windows VFS.
Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction.
Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names.
Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result.
Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used.
Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command.
Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output.
Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation.
Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid.
Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN.
Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 19:17:15 +00:00
adam
1ab43a036f Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu. 2013-05-09 07:39:04 +00:00
adam
4bf527e5ba Changes 3.7.16.2:
Fix a bug (present since version 3.7.13) that could result in database corruption on windows if two or more processes try to access the same database file at the same time and immediately after third process crashed in the middle of committing to that same file.
2013-04-15 15:33:46 +00:00
adam
3edae8f56e Changes 3.7.16.1:
* Fix for a bug in the ORDER BY optimizer that was introduced in version 3.7.15 which would sometimes optimize out the sorting step when in fact the sort was required. Ticket a179fe7465
* Fix a long-standing bug in the CAST expression that would recognize UTF16 characters as digits even if their most-significant-byte was not zero. Ticket 689137afb6da41.
* Fix a bug in the NEAR operator of FTS3 when applied to subfields. Ticket 38b1ae018f.
* Fix a long-standing bug in the storage engine that would (very rarely) cause a spurious report of an SQLITE_CORRUPT error but which was otherwise harmless. Ticket 6bfb98dfc0c.
* The SQLITE_OMIT_MERGE_SORT option has been removed. The merge sorter is now a required component of SQLite.
* Fixed lots of spelling errors in the source-code comments
2013-04-01 18:56:41 +00:00
gdt
be5306b185 Add explanations to DESCR for sqlite packages because it is quite
boggling that, e.g., py-sqlite2 is a wrapper for sqlite3.
2013-02-21 15:14:45 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
adam
b74a55e768 Changes 3.7.15.2:
Fix a bug, introduced in version 3.7.15, that causes an ORDER BY clause to be optimized out of a three-way join when the ORDER BY is actually required.
2013-01-10 17:12:30 +00:00
adam
9483e2d7ab Changes 3.7.15.1:
Fix a bug, introduced in version 3.7.15, that causes a segfault if the AS name of a result column of a SELECT statement is used as a logical term in the WHERE clause.
2013-01-03 20:46:17 +00:00
adam
2db542f2d0 Changes 3.7.15:
* Added the sqlite3_errstr() interface.
* Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors.
* Added support for Windows Phone 8 platforms
* Enhance IN operator processing to make use of indices with numeric affinities.
* Do full-table scans using covering indices when possible, under the theory that an index will be smaller and hence can be scanned with less I/O.
* Enhance the query optimizer so that ORDER BY clauses are more aggressively optimized, especially in joins where various terms of the ORDER BY clause come from separate tables of the join.
* Add the ability to implement FROM clause subqueries as coroutines rather that manifesting the subquery into a temporary table.
* Enhancements the command-line shell:
* Added the ".print" command
* Negative numbers in the ".width" command cause right-alignment
* Add the ".wheretrace" command when compiled with SQLITE_DEBUG
* Added the busy_timeout pragma.
* Added the instr() SQL function.
* Added the SQLITE_FCNTL_BUSYHANDLER file control, used to allow VFS implementations to get access to the busy handler callback.
* The xDelete method in the built-in VFSes now return SQLITE_IOERR_DELETE_NOENT if the file to be deleted does not exist.
* Enhanced support for QNX.
* Work around an optimizer bug in the MSVC compiler when targeting ARM.
* Bug fix: Avoid various concurrency problems in shared cache mode.
* Bug fix: Avoid a deadlock or crash if the backup API, shared cache, and the SQLite Encryption Extension are all used at once.
* Bug fix: SQL functions created using the TCL interface honor the "nullvalue" setting.
* Bug fix: Fix a 32-bit overflow problem on CREATE INDEX for databases larger than 16GB.
* Bug fix: Avoid segfault when using the COLLATE operator inside of a CHECK constraint or view in shared cache mode.
2012-12-15 18:42:33 +00:00
drochner
102265491f build with the same options as the NetBSD builtin version,
bump PKGREV
2012-12-14 19:36:37 +00:00
adam
1bef706160 Changes 3.7.14.1:
* Fix a bug that causes a segfault on a LEFT JOIN that includes an OR in the ON clause.
* Work around a bug in the optimizer in the VisualStudio-2012 compiler that causes invalid code to be generated when compiling SQLite on ARM.
* Fix the TCL interface so that the "nullvalue" setting is honored for TCL implementations of SQL functions.
2012-10-06 17:59:07 +00:00
asau
354ee694fd Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 21:25:15 +00:00
adam
5661d4166e Changes 3.7.14:
* Drop built-in support for OS/2. If you need to upgrade an OS/2 application to
  use this or a later version of SQLite, then add an application-defined VFS
  using the sqlite3_vfs_register() interface. The code removed in this release
  can serve as a baseline for the application-defined VFS.
* 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.
* Improvements to the windows makefiles and build processes.
* Enhancements to PRAGMA integrity_check and PRAGMA quick_check so that they
  can optionally check just a single attached database instead 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.
2012-09-06 20:29:41 +00:00
adam
1108735ec8 Changes 3.7.13:
* In-memory databases that are specified using URI filenames are allowed to use
  shared cache, so that the same in-memory database can be accessed from
  multiple database connections.
* Recognize and use the mode=memory query parameter in URI filenames.
* Avoid resetting the schema of shared cache connections when any one
  connection closes. Instead, wait for the last connection to close before
  reseting the schema.
* In the RTREE extension, when rounding 64-bit floating point numbers to 32-bit
  for storage, always round in a direction that causes the bounding box to get
  larger.
* Adjust the unix driver to avoid unnecessary calls to fchown().
* Add interfaces sqlite3_quota_ferror() and sqlite3_quota_file_available() to
  the test_quota.c module.
* The sqlite3_create_module() and sqlite3_create_module_v2() interfaces return
  SQLITE_MISUSE on any attempt to overload or replace a virtual table module.
  The destructor is always called in this case, in accordance with historical
  and current documentation.
2012-06-11 16:21:30 +00:00
adam
270101b309 Changes 3.7.12.1:
* Fix a bug in the 3.7.12 release that can cause a segfault for certain obscure
  nested aggregate queries.
* Fix various other minor test script problems.
2012-05-25 20:04:21 +00:00
adam
7ff1922ad5 Changes 3.7.12:
* Add the SQLITE_DBSTATUS_CACHE_WRITE option for sqlite3_db_status().
* Optimize the typeof() and length() SQL functions so that they avoid unnecessary reading of database content from disk.
* Add the FTS4 "merge" command, the FTS4 "automerge" command, and the FTS4 "integrity-check" command.
* Report the name of specific CHECK constraints that fail.
* In the command-line shell, use popen() instead of fopen() if the first character of the argument to the ".output" command is "|".
* Make use of OVERLAPPED in the windows VFS to avoid some system calls and thereby obtain a performance improvement.
* More aggressive optimization of the AND operator when one side or the other is always false.
* Improved performance of queries with many OR-connected terms in the WHERE clause that can all be indexed.
* Add the SQLITE_RTREE_INT_ONLY compile-time option to force the R*Tree Extension Module to use integer instead of floating point values for both storage and computation.
* Enhance the PRAGMA integrity_check command to use much less memory when processing multi-gigabyte databases.
* New interfaces added to the test_quota.c add-on module.
* Added the ".trace" dot-command to the command-line shell.
* Allow virtual table constructors to be invoked recursively.
* Improved optimization of ORDER BY clauses on compound queries.
* Improved optimization of aggregate subqueries contained within an aggregate query.
* Bug fix: Fix the RELEASE command so that it does not cancel pending queries. This repairs a problem introduced in 3.7.11.
* Bug fix: Do not discard the DISTINCT as superfluous unless a subset of the result set is subject to a UNIQUE constraint and it none of the columns in that subset can be NULL.
* Bug fix: Do not optimize away an ORDER BY clause that has the same terms as a UNIQUE index unless those terms are also NOT NULL.
2012-05-15 08:09:25 +00:00
obache
a6d5ad9edc Recursive bump from icu shlib major bumped to 49. 2012-04-27 12:31:32 +00:00
adam
3dabf8e029 Changes 3.7.11:
* Enhance the INSERT syntax to allow multiple rows to be inserted via
  the VALUES clause.
* Enhance the CREATE VIRTUAL TABLE command to support the IF NOT EXISTS clause.
* Added the sqlite3_stricmp() interface as a counterpart to sqlite3_strnicmp().
* Added the sqlite3_db_readonly() interface.
* Added the SQLITE_FCNTL_PRAGMA file control, giving VFS implementations
  the ability to add new PRAGMA statements or to override built-in PRAGMAs.
* Queries of the form: "SELECT max(x), y FROM table" returns the value of y on
  the same row that contains the maximum x value.
* Added support for the FTS4 languageid option.
* Documented support for the FTS4 content option. This feature has actually
  been in the code since version 3.7.9 but is only now considered to be
  officially supported.
* Pending statements no longer block ROLLBACK. Instead, the pending statement
  will return SQLITE_ABORT upon next access after the ROLLBACK.
* Improvements to the handling of CSV inputs in the command-line shell
* Fix a bug introduced in version 3.7.10 that might cause a LEFT JOIN to be
  incorrectly converted into an INNER JOIN if the WHERE clause indexable terms
  connected by OR.
2012-03-20 21:00:47 +00:00
adam
7e1f366a5d Changes 3.7.10:
* The default schema format number is changed from 1 to 4. This means that,
  unless the PRAGMA legacy_file_format=ON statement is run, newly created
  database files will be unreadable by version of SQLite prior to 3.3.0
  (2006-01-10). It also means that the descending indices are enabled by
  default.
* The sqlite3_pcache_methods structure and the SQLITE_CONFIG_PCACHE and
  SQLITE_CONFIG_GETPCACHE configuration parameters are deprecated. They are
  replaced by a new sqlite3_pcache_methods2 structure and SQLITE_CONFIG_PCACHE2
  and SQLITE_CONFIG_GETPCACHE2 configuration parameters.
* Added the powersafe overwrite property to the VFS interface. Provide the
  SQLITE_IOCAP_POWERSAFE_OVERWRITE I/O capability, the
  SQLITE_POWERSAFE_OVERWRITE compile-time option, and the "psow=BOOLEAN" query
  parameter for URI filenames.
* Added the sqlite3_db_release_memory() interface and the shrink_memory pragma.
* Added the sqlite3_db_filename() interface.
* Added the sqlite3_stmt_busy() interface.
* Added the sqlite3_uri_boolean() and sqlite3_uri_int64() interfaces.
* If the argument to PRAGMA cache_size is negative N, that means to use
  approximately -1024*N bytes of memory for the page cache regardless of the
  page size.
* Enhanced the default memory allocator to make use of _msize() on windows,
  malloc_size() on Mac, and malloc_usable_size() on Linux.
* Enhanced the query planner to support index queries with range constraints on
  the rowid.
* Enhanced the query planner flattening logic to allow UNION ALL compounds to
  be promoted upwards to replace a simple wrapper SELECT even if the compounds
  are joins.
* Enhanced the query planner so that the xfer optimization can be used with
  INTEGER PRIMARY KEY ON CONFLICT as long as the destination table is initially
  empty.
* Enhanced the windows VFS so that all system calls can be overridden using the
  xSetSystemCall interface.
* Updated the "unix-dotfile" VFS to use locking directories with mkdir() and
  rmdir() instead of locking files with open() and unlink().
* Enhancements to the test_quota.c extension to support stdio-like interfaces
  with quotas.
* Change the unix VFS to be tolerant of read() system calls that return less
  then the full number of requested bytes.
* Change both unix and windows VFSes to report a sector size of 4096 instead of
  the old default of 512.
* In the TCL Interface, add the -uri option to the "sqlite3" TCL command used
  for creating new database connection objects.
* Added the SQLITE_TESTCTRL_EXPLAIN_STMT test-control option with the
  SQLITE_ENABLE_TREE_EXPLAIN compile-time option to enable the command-line
  shell to display ASCII-art parse trees of SQL statements that it processes,
  for debugging and analysis.
* Bug fix: Add an additional xSync when restarting a WAL in order to prevent an
  exceedingly unlikely but theoretically possible database corruption following
  power-loss.
* Bug fix: Change the VDBE so that all registers are initialized to Invalid
  instead of NULL.
* Bug fix: Fix problems that can result from 32-bit integer overflow.
2012-01-17 15:53:13 +00:00
wiz
28b72ff771 Fix pkg-config file handling based on solution in alsa-lib.
Suggested by reed@
2011-11-10 17:18:10 +00:00
jnemeth
466cc40137 Now that -current includes sqlite3, add a builtin.mk so that packages
can use.
2011-11-09 01:30:19 +00:00
adam
910f10c973 Changes 3.7.9:
* If a search token (on the right-hand side of the MATCH operator) in FTS4
  begins with "^" then that token must be the first in its field of the
  document. ** Potentially Incompatible Change **
* Added options SQLITE_DBSTATUS_CACHE_HIT and SQLITE_DBSTATUS_CACHE_MISS to the
  sqlite3_db_status() interface.
* Removed support for SQLITE_ENABLE_STAT2, replacing it with the much more
  capable SQLITE_ENABLE_STAT3 option.
* Enhancements to the sqlite3_analyzer utility program, including the --pageinfo
  and --stats options and support for multiplexed databases.
* Enhance the sqlite3_data_count() interface so that it can be used to determine
  if SQLITE_DONE has been seen on the prepared statement.
* Added the SQLITE_FCNTL_OVERWRITE file-control by which the SQLite core
  indicates to the VFS that the current transaction will overwrite the entire
  database file.
* Increase the default lookaside memory allocator allocation size from 100 to
  128 bytes.
* Enhanced the query planner so that it can factor terms in and out of OR
  expressions in the WHERE clause in an effort to find better indices.
* Added the SQLITE_DIRECT_OVERFLOW_READ compile-time option, causing overflow
  pages to be read directly from the database file, bypassing the page cache.
* Remove limits on the magnitude of precision and width value in the format
  specifiers of the sqlite3_mprintf() family of string rendering routines.
* Fix a bug that prevent ALTER TABLE ... RENAME from working on some virtual
  tables in a database with a UTF16 encoding.
* Fix a bug in ASCII-to-float conversion that causes slow performance and
  incorrect results when converting numbers with ridiculously large exponents.
* Fix a bug that causes incorrect results in aggregate queries that use
  multiple aggregate functions whose arguments contain complicated expressions
  that differ only in the case of string literals contained within those
  expressions.
* Fix a bug that prevented the page_count and quick_check pragmas from working
  correctly if their names were capitalized.
* Fix a bug that caused VACUUM to fail if the count_changes pragma was engaged.
* Fix a bug in virtual table implementation that causes a crash if an FTS4
  table is dropped inside a transaction and a SAVEPOINT occurs afterwards.
2011-11-05 19:09:07 +00:00
adam
f5f879ebdc Changes 3.7.8:
* Orders of magnitude performance improvement for CREATE INDEX on very large
  tables.
* Improved the windows VFS to better defend against interference from
  anti-virus software.
* Improved query plan optimization when the DISTINCT keyword is present.
* Allow more system calls to be overridden in the unix VFS - to provide better
  support for chromium sandboxes.
* Increase the default size of a lookahead cache line from 100 to 128 bytes.
* Enhancements to the test_quota.c module so that it can track preexisting
  files.
* Bug fix: Virtual tables now handle IS NOT NULL constraints correctly.
* Bug fixes: Correctly handle nested correlated subqueries used with indices in
  a WHERE clause.
2011-10-03 10:22:19 +00:00
adam
9533444348 Changes 3.7.7.1:
* Fix a bug causing PRAGMA case_sensitive_like statements compiled using
  sqlite3_prepare() to fail with an SQLITE_SCHEMA error.

Changes 3.7.7:
* Add support for URI filenames
* Add the sqlite3_vtab_config() interface in support of ON CONFLICT clauses
  with virtual tables.
* Add the xSavepoint, xRelease and xRollbackTo methods in virtual tables in
  support of SAVEPOINT for virtual tables.
* Update the built-in FTS3/FTS4 and RTREE virtual tables to support ON CONFLICT
  clauses and REPLACE.
* Avoid unnecessary reparsing of the database schema.
* Added support for the FTS4 prefix option and the FTS4 order option.
* Allow WAL-mode databases to be opened read-only as long as there is an
  existing read/write connection.
* Added support for short filenames.
2011-07-08 09:35:39 +00:00
tron
889f9a756c Bump the revision number so it matches the version number required by
the buildlink file.
2011-06-10 17:48:32 +00:00
obache
9572f6d892 recursive bump from textproc/icu shlib major bump. 2011-06-10 09:39:41 +00:00
adam
be30161e64 buildlink icu when used as an option 2011-06-01 11:07:24 +00:00
adam
5cdf963ee7 Changes 3.7.6.3:
* Fix a problem with WAL mode which could cause transactions to silently
  rollback if the cache_size is set very small (less than 10) and SQLite comes
  under memory pressure.
2011-05-19 20:42:53 +00:00
adam
d9f7fe8a3f Added icu option 2011-05-17 11:23:53 +00:00
adam
5e4e947442 Changes 3.7.6.2:
* Fix the function prototype for the open(2) system call to agree with POSIX.
  Without this fix, pthreads does not work correctly on NetBSD.
2011-04-17 20:27:08 +00:00
adam
5cc9463a9d Fix crash on NetBSD 2011-04-17 09:14:13 +00:00
adam
03f2bec07e Changes 3.7.6.1:
* Fix a bug in 3.7.6 that only appears if the SQLITE_FCNTL_SIZE_HINT file
  control is used with a build of SQLite that makes use of the
  HAVE_POSIX_FALLOCATE compile-time option and which has
  SQLITE_ENABLE_LOCKING_MODE turned off.
2011-04-14 07:10:20 +00:00
adam
1384ff44a3 Changes 3.7.6:
* Added the sqlite3_wal_checkpoint_v2() interface and enhanced the
  wal_checkpoint pragma to support blocking checkpoints.
* Improvements to the query planner so that it makes better estimates of plan
  costs and hence does a better job of choosing the right plan, especially when
  SQLITE_ENABLE_STAT2 is used.
* Fix a bug which prevented deferred foreign key constraints from being
  enforced when sqlite3_finalize() was not called by one statement with a
  failed foreign key constraint prior to another statement with foreign key
  constraints running.
* Integer arithmetic operations that would have resulted in overflow are now
  performed using floating-point instead.
* Increased the version number on the VFS object to 3 and added new methods
  xSetSysCall, xGetSysCall, and xNextSysCall used for doing full-coverage
  testing.
* Increase the maximum value of SQLITE_MAX_ATTACHED from 30 to 62 (though the
  default value remains at 10).
* Enhancements to FTS4:
  - Added the fts4aux table
  - Added support for compressed FTS4 content
* Enhance the ANALYZE command to support the name of an index as its argument,
  in order to analyze just that one index.
* Added the "unix-excl" built-in VFS on unix and unix-like platforms.
2011-04-12 19:00:50 +00:00
adam
4947665202 Changes 3.7.5:
* Added the sqlite3_vsnprintf() interface.
* Added the SQLITE_DBSTATUS_LOOKASIDE_HIT, SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE,
  and SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL options for the sqlite3_db_status()
  interface.
* Added the SQLITE_OMIT_AUTORESET compile-time option.
* Added the SQLITE_DEFAULT_FOREIGN_KEYS compile-time option.
* Updates to sqlite3_stmt_readonly() so that its result is well-defined for all
  prepared statements and so that it works with VACUUM.
* Added the "-heap" option to the command-line shell
* Fix a bug involving frequent changes in and out of WAL mode and VACUUM that
  could (in theory) cause database corruption.
* Enhance the sqlite3_trace() mechanism so that nested SQL statements such as
  might be generated by virtual tables are shown but are shown in comments and
  without parameter expansion. This greatly improves tracing output when using
  the FTS3/4 and/or RTREE virtual tables.
* Change the xFileControl() methods on all built-in VFSes to return
  SQLITE_NOTFOUND instead of SQLITE_ERROR for an unrecognized operation code.
* The SQLite core invokes the SQLITE_FCNTL_SYNC_OMITTED file control to the VFS
  in place of a call to xSync if the database has PRAGMA synchronous set to OFF.
2011-02-02 09:03:09 +00:00
agc
023f507231 Add two new options for sqlite3, rtree (for multi-dimensional search optimization),
and fts (full-text searching). Both options are off by default.
2010-12-17 00:37:34 +00:00
adam
c6751a44c3 Changes 3.7.4:
* Added the sqlite3_blob_reopen() interface to allow an existing sqlite3_blob
  object to be rebound to a new row.
* Use the new sqlite3_blob_reopen() interface to improve the performance of FTS.
* VFSes that do not support shared memory are allowed to access WAL databases
  if PRAGMA locking_mode is set to EXCLUSIVE.
* Enhancements to EXPLAIN QUERY PLAN.
* Added the sqlite3_stmt_readonly() interface.
* Added PRAGMA checkpoint_fullfsync.
* Added the SQLITE_FCNTL_FILE_POINTER option to sqlite3_file_control().
* Added support for FTS4 and enhancements to the FTS matchinfo() function.
* Added the test_superlock.c module which provides example code for obtaining
  an exclusive lock to a rollback or WAL database.
* Added the test_multiplex.c module which provides an example VFS that provides
  multiplexing (sharding) of a DB, splitting it over multiple files of fixed
  size.
* A very obscure bug associated with the or optimization was fixed.
2010-12-09 05:32:05 +00:00
joerg
a984ab9c25 Use pread/pwrite on NetBSD to reduce the number of system calls a lot.
Bump revision.
2010-11-13 21:54:13 +00:00
tnn
db2bce8f4a The amalgamation package now ships it's own manpage, so get rid
of our local copy. PR pkg/44000.
2010-10-25 07:44:32 +00:00
adam
f6a116b39a Changes 3.7.3:
* Added the sqlite3_create_function_v2() interface that includes a destructor
  callback.
* Added support for custom r-tree queries using application-supplied callback
  routines to define the boundary of the query region.
* The default page cache strives more diligently to avoid using memory beyond
  what is allocated to it by SQLITE_CONFIG_PAGECACHE. Or if using page cache
  is allocating from the heap, it strives to avoid going over the
  sqlite3_soft_heap_limit64(), even if SQLITE_ENABLE_MEMORY_MANAGEMENT is not
  set.
* Added the sqlite3_soft_heap_limit64() interface as a replacement for
  sqlite3_soft_heap_limit().
* The ANALYZE command now gathers statistics on tables even if they have no
  indices.
* Tweaks to the query planner to help it do a better job of finding the most
  efficient query plan for each query.
* Enhanced the internal text-to-numeric conversion routines so that they work
  with UTF8 or UTF16, thereby avoiding some UTF16-to-UTF8 text conversions.
* Fix a problem that was causing excess memory usage with large WAL
  transactions in win32 systems.
* The interface between the VDBE and B-Tree layer is enhanced such that the
  VDBE provides hints to the B-Tree layer letting the B-Tree layer know when it
  is safe to use hashing instead of B-Trees for transient tables.
* Miscellaneous documentation enhancements.
2010-10-18 07:08:22 +00:00
adam
66bef49b97 Changes 3.7.2:
* Fix an old and very obscure bug that can lead to corruption of the database
  free-page list when incremental_vacuum is used.

Changes 3.7.1:
* Added new commands SQLITE_DBSTATUS_SCHEMA_USED and SQLITE_DBSTATUS_STMT_USED
  to the sqlite3_db_status() interface, in order to report out the amount of
  memory used to hold the schema and prepared statements of a connection.
* Increase the maximum size of a database pages from 32KiB to 64KiB.
* Use the LIKE optimization even if the right-hand side string contains no
  wildcards.
* Added the SQLITE_FCNTL_CHUNK_SIZE verb to the sqlite3_file_control()
  interface for both unix and windows, to cause database files to grow in
  large chunks in order to reduce disk fragmentation.
* Fixed a bug in the query planner that caused performance regresssions
  relative to 3.6.23.1 on some complex joins.
* Fixed a typo in the OS/2 backend.
* Refactored the pager module.
* The SQLITE_MAX_PAGE_SIZE compile-time option is now silently ignored.
  The maximum page size is hard-coded at 65536 bytes.
2010-08-27 09:50:21 +00:00
adam
774871ef51 Changes 3.7.0.1:
* Fix a potential database corruption problem that can result if the same
  database file is alternately written by version 3.7.0 and 3.6.23.1.
* Fix a possible performance regression caused by the introduction of automatic
  indexing.
2010-08-08 12:04:37 +00:00
adam
5c9cdefe4a Changes 3.7.0:
* Added support for write-ahead logging.
* Query planner enhancement - automatic transient indices are created when
  doing so reduces the estimated query time.
* Query planner enhancement - the ORDER BY becomes a no-op if the query also
  contains a GROUP BY clause that forces the correct output order.
* Add the SQLITE_DBSTATUS_CACHE_USED verb for sqlite3_db_status().
* The logical database size is now stored in the database header so that bytes
  can be appended to the end of the database file without corrupting it and so
  that SQLite will work correctly on systems that lack support for ftruncate().
2010-07-22 21:07:45 +00:00
tnn
483934eca9 Include the sqlite3_unlock_notify() API in the build.
Bump PKGREVISON.
2010-07-12 10:54:55 +00:00
obache
4a81c4a41f Add workaround of build failure on MacOS X 10.4, lack of gethostuuid(2).
PR#43429
2010-06-17 13:45:36 +00:00
tnn
7a54e670a2 Update to sqlite3-3.6.23.1.
This is a patch release that fixes a FTS3 regression in 3.6.23.
ok wiz@
2010-04-01 12:01:53 +00:00
adam
3c67fc6de2 Changes 3.6.23:
* Added the secure_delete pragma
* Added the sqlite3_compileoption_used() and sqlite3_compileoption_get()
  interfaces as well as the compile_options pragma and the
  sqlite_compileoption_used() and sqlite_compileoption_get() SQL functions.
* Added the sqlite3_log() interface together with the SQLITE_CONFIG_LOG verb
  to sqlite3_config(). The ".log" command is added to the Command Line Interface
* Improvements to FTS3
* Improvements and bug-fixes in support for SQLITE_OMIT_FLOATING_POINT
* The integrity_check pragma is enhanced to detect out-of-order rowids
* The ".genfkey" operator has been removed from the Command Line Interface
* Updates to the co-hosted Lemon LALR(1) parser generator. (These updates did not affect SQLite.)
* Various minor bug fixes and performance enhancements
2010-03-12 09:11:27 +00:00
adam
915785c925 Changes 3.6.22:
* Fix bugs that can (rarely) lead to incorrect query results when the CAST
  or OR operators are used in the WHERE clause of a query.
* Continuing enhancements and improvements to FTS3.
* Other miscellanous bug fixes.
2010-01-18 08:51:09 +00:00
abs
96912d62e8 Match 3.6.20 behaviour & build threadsafe. Fix PR/42515 & issues with firefox. Bump PKGREVISION 2010-01-11 09:18:39 +00:00
drochner
0dfa82ffc2 update to 3.6.21
changes:
-SQL output resulting from sqlite3_trace() is now modified to include
 the values of bound parameters
-Performance optimizations targetting a specific use case from a single
 high-profile user
-FTS3 extension has undergone a major rework and cleanup
-fixed the SQLITE_SECURE_DELETE compile-time option
-Improvements to "dot-command" handling in the Command Line Interface
-Other minor bug fixes and documentation enhancements
2009-12-16 19:25:38 +00:00
tnn
2246cfacb3 Switch to amalgamation style sqlite3 build. This is the recommended
way to build sqlite3 according to upstream.
It should give a small performance increase due to static inlining,
but more importantly lets us avoid manual maintenance of sqlite3.h.

Bump revisions for sqlite3 and sqlite3-tcl.
2009-11-21 16:58:05 +00:00