summaryrefslogtreecommitdiff
path: root/databases/sqlite3-tcl
AgeCommit message (Collapse)AuthorFilesLines
2012-06-11Changes 3.7.13:adam2-7/+7
* 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-05-25Changes 3.7.12.1:adam2-7/+7
* 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-15Changes 3.7.12:adam2-8/+7
* 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-04-27Recursive bump from icu shlib major bumped to 49.obache1-1/+2
2012-03-20Changes 3.7.11:adam2-7/+7
* 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-01-17Changes 3.7.10:adam2-7/+7
* 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.
2011-11-05Changes 3.7.9:adam2-7/+7
* 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-10-03Changes 3.7.8:adam2-7/+7
* 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-07-08Changes 3.7.7.1:adam2-8/+7
* 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-06-10recursive bump from textproc/icu shlib major bump.obache1-1/+2
2011-05-19Changes 3.7.6.3:adam2-7/+7
* 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-04-17Changes 3.7.6.2:adam2-7/+7
* 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-14Changes 3.7.6.1:adam2-7/+7
* 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-12Changes 3.7.6:adam3-10/+12
* 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-02-02Changes 3.7.5:adam2-7/+7
* 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.
2010-12-30treat DragonFly shlib handling same as NetBSD.obache2-1/+17
2010-12-09Changes 3.7.4:adam2-8/+7
* 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-10-18Changes 3.7.3:adam2-6/+6
* 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-08-27Changes 3.7.2:adam2-9/+9
* 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-08Changes 3.7.0.1:adam3-8/+8
* 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-07-22Changes 3.7.0:adam3-8/+8
* 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-03-12Changes 3.6.23:adam3-8/+8
* 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-01-18Changes 3.6.22:adam3-8/+8
* 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.
2009-12-16sync w/ base pkgdrochner3-9/+8
2009-11-21Switch to amalgamation style sqlite3 build. This is the recommendedtnn4-9/+38
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-10-11Changes 3.6.18:adam1-2/+1
* Versioning of the SQLite source code has transitioned from CVS to Fossil. * Query planner enhancements. * The SQLITE_ENABLE_STAT2 compile-time option causes the ANALYZE command to collect a small histogram of each index, to help SQLite better select among competing range query indices. * Recursive triggers can be enabled using the PRAGMA recursive_triggers statement. * Delete triggers fire when rows are removed due to a REPLACE conflict resolution. This feature is only enabled when recursive triggers are enabled. * Added the SQLITE_OPEN_SHAREDCACHE and SQLITE_OPEN_PRIVATECACHE flags for sqlite3_open_v2() used to override the global shared cache mode settings for individual database connections. * Added improved version identification features: C-Preprocessor macro SQLITE_SOURCE_ID, C/C++ interface sqlite3_sourceid(), and SQL function sqlite_source_id(). * Obscure bug fix on triggers
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-05-20Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlibwiz1-1/+2
major change. Reported by Robert Elz in PR 41345.
2009-02-09Require a new enough sqlite3.joerg1-2/+2
2008-06-20Add DESTDIR support.joerg1-1/+3
2008-03-04Update to 3.5.6:wiz1-2/+2
2008 Feb 6 (3.5.6) * Fix a bug ( ticket #2913) that prevented virtual tables from working in a LEFT JOIN. The problem was introduced into shortly before the 3.5.5 release. * Bring the OS/2 porting layer up-to-date. * Add the new sqlite3_result_error_code() API and use it in the implementation of ATTACH so that proper error codes are returned when an ATTACH fails. 2008 Jan 31 (3.5.5) * Convert the underlying virtual machine to be a register-based machine rather than a stack-based machine. The only user-visible change is in the output of EXPLAIN. * Add the build-in RTRIM collating sequence. 2007 Dec 14 (3.5.4) * Fix a critical bug in UPDATE or DELETE that occurs when an OR REPLACE clause or a trigger causes rows in the same table to be deleted as side effects. (See ticket #2832.) The most likely result of this bug is a segmentation fault, though database corruption is a possibility. * Bring the processing of ORDER BY into compliance with the SQL standard for case where a result alias and a table column name are in conflict. Correct behavior is to prefer the result alias. Older versions of SQLite incorrectly picked the table column. (See ticket #2822.) * The VACUUM command preserves the setting of the legacy_file_format pragma. ( Ticket #2804.) * Productize and officially support the group_concat() SQL function. * Better optimization of some IN operator expressions. * Add the ability to change the auto_vacuum status of a database by setting the auto_vaccum pragma and VACUUMing the database. * Prefix search in FTS3 is much more efficient. * Relax the SQL statement length restriction in the CLI so that the ".dump" output of databases with very large BLOBs and strings can be played back to recreate the database. * Other small bug fixes and optimizations. 2007 Nov 27 (3.5.3) * Move website and documentation files out of the source tree into a separate CM system. * Fix a long-standing bug in INSERT INTO ... SELECT ... statements where the SELECT is compound. * Fix a long-standing bug in RAISE(IGNORE) as used in BEFORE triggers. * Fixed the operator precedence for the ~ operator. * On win32, do not return an error when attempting to delete a file that does not exist. * Allow collating sequence names to be quoted. * Modify the TCL interface to use sqlite3_prepare_v2(). * Fix multiple bugs that can occur following a malloc() failure. * sqlite3_step() returns SQLITE_MISUSE instead of crashing when called with a NULL parameter. * FTS3 now uses the SQLite memory allocator exclusively. The FTS3 amalgamation can now be appended to the SQLite amalgamation to generate a super-amalgamation containing both. * The DISTINCT keyword now will sometimes use an INDEX if an appropriate index is available and the optimizer thinks its use might be advantageous.
2007-01-11update to 3.3.10drochner1-1/+2
changes: -fixed bugs which can lead to database corruption under obscure and difficult to reproduce circumstances -new sqlite3_prepare_v2() API -bug fixes in the command-line shell -enhancements to the query optimizer pkgsrc change: fix a selftest which couldn't work as intended due to misuse of O_APPEND
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-02-15update to 3.3.4drochner1-2/+1
changes: adds support for CHECK constraints, DESC indices, separate REAL and INTEGER column affinities, a new OS interface layer design, and many other changes pkgsrc note: a selftest fails on NetBSD/i386: a loss of precision is not detected in the sum() function. Reason is that the code assumes that a "long double" keeps more significant bits than a "long long int" which is not true here. This is not a regression to 3.2.x which did just wrap on int overflows.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2005-09-30Update to 3.2.7:wiz1-2/+3
2005 September 24 (3.2.7) * GROUP BY now considers NULLs to be equal again, as it should * Now compiles on Solaris and OpenBSD and other Unix variants that lack the fdatasync() function * Now compiles on MSVC++6 again * Fix uninitialized variables causing malfunctions for various obscure queries * Correctly compute a LEFT OUTER JOINs that is constrained on the left table only 2005 September 17 (3.2.6) * Fix a bug that can cause database corruption if a VACUUM (or autovacuum) fails and is rolled back on a database that is larger than 1GiB * LIKE optiization now works for columns with COLLATE NOCASE * ORDER BY and GROUP BY now use bounded memory * Added support for COUNT(DISTINCT expr) * Change the way SUM() handles NULL values in order to comply with the SQL standard * Use fdatasync() instead of fsync() where possible in order to speed up commits slightly * Use of the CROSS keyword in a join turns off the table reordering optimization * Added the experimental and undocumented EXPLAIN QUERY PLAN capability * Use the unicode API in windows 2005 August 27 (3.2.5) * Fix a bug effecting DELETE and UPDATE statements that changed more than 40960 rows. * Change the makefile so that it no longer requires GNUmake extensions * Fix the --enable-threadsafe option on the configure script * Fix a code generator bug that occurs when the left-hand side of an IN operator is constant and the right-hand side is a SELECT statement * The PRAGMA synchronous=off statement now disables syncing of the master journal file in addition to the normal rollback journals 2005 August 24 (3.2.4) * Fix a bug introduced in the previous release that can cause a segfault while generating code for complex WHERE clauses. * Allow floating point literals to begin or end with a decimal point. 2005 August 21 (3.2.3) * Added support for the CAST operator * Tcl interface allows BLOB values to be transferred to user-defined functions * Added the "transaction" method to the Tcl interface * Allow the DEFAULT value of a column to call functions that have constant operands * Added the ANALYZE command for gathering statistics on indices and using those statistics when picking an index in the optimizer * Remove the limit (formerly 100) on the number of terms in the WHERE clause * The right-hand side of the IN operator can now be a list of expressions instead of just a list of constants * Rework the optimizer so that it is able to make better use of indices * The order of tables in a join is adjusted automatically to make better use of indices * The IN operator is now a candidate for optimization even if the left-hand side is not the left-most term of the index. Multiple IN operators can be used with the same index. * WHERE clause expressions using BETWEEN and OR are now candidates for optimization * Added the "case_sensitive_like" pragma and the SQLITE_CASE_SENSITIVE_LIKE compile-time option to set its default value to "on". * Use indices to help with GLOB expressions and LIKE expressions too when the case_sensitive_like pragma is enabled * Added support for grave-accent quoting for compatibility with MySQL * Improved test coverage
2005-03-23Initial import of sqlite3-tcl, version 3.1.3:jmmv3-0/+32
SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library. SQLite is not a client library used to connect to a big database server. SQLite is the server. The SQLite library reads and writes directly to and from the database files on disk. This package provides the TCL bindings for the SQLite C library.