pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Aug 17 08:16:06 UTC 2014

Modified Files:
        pkgsrc/databases/sqlite3: Makefile distinfo
        pkgsrc/databases/sqlite3-docs: Makefile PLIST distinfo
        pkgsrc/databases/sqlite3-tcl: Makefile distinfo

Log Message:
Changes 3.8.6:
Added support for hexadecimal integer literals in the SQL parser. (Ex: 0x123abc)
Enhanced the PRAGMA integrity_check command to detect UNIQUE and NOT NULL 
constraint violations.
Increase the maximum value of SQLITE_MAX_ATTACHED from 62 to 125.
Increase the timeout in WAL mode before issuing an SQLITE_PROTOCOL error from 1 
second to 10 seconds.
Added the likely(X) SQL function.
The unicode61 tokenizer is now included in FTS4 by default.
Trigger automatic reprepares on all prepared statements when ANALYZE is run.
Added a new loadable extension source code file to the source tree: fileio.c
Add extension functions readfile(X) and writefile(X,Y) (using code copy/pasted 
from fileio.c in the previous bullet) to the command-line shell.
Added the .fullschema dot-command to the command-line shell.

Performance Enhancements:
-------------------------
Deactivate the DISTINCT keyword on subqueries on the right-hand side of the IN 
operator.
Add the capability of evaluating an IN operator as a sequence of comparisons as 
an alternative to using a table lookup. Use the sequence of comparisons 
implementation in circumstances where it is likely to be faster, such as when 
the right-hand side of the IN operator is small and/or changes frequently.
The query planner now uses sqlite_stat4 information (created by ANALYZE) to 
help determine if the skip-scan optimization is appropriate.
Ensure that the query planner never tries to use a self-made transient index in 
place of a schema-defined index.
Other minor tweaks to improve the quality of VDBE code.

Bug Fixes:
----------
Fix a bug in CREATE UNIQUE INDEX, introduced when WITHOUT ROWID support added 
in version 3.8.2, that allows a non-unique NOT NULL column to be given a UNIQUE 
index.
Fix a bug in R-Tree extension, introduced in the previous release, that can 
cause an incorrect results for queries that use the rowid of the R-Tree on the 
left-hand side of an IN operator.
Fix the sqlite3_stmt_busy() interface so that it gives the correct answer for 
ROLLBACK statements that have been stepped but never reset.
Fix a bug in that would cause a null pointer to be dereferenced if a column 
with a DEFAULT that is an aggregate function tried to usee its DEFAULT.
CSV output from the command-line shell now always uses CRNL for the row 
separator and avoids inserting CR in front of NLs contained in data.
Fix a column affinity problem with the IN operator.
Fix the ANALYZE command so that it adds correct samples for WITHOUT ROWID 
tables in the sqlite_stat4 table.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 pkgsrc/databases/sqlite3/Makefile
cvs rdiff -u -r1.91 -r1.92 pkgsrc/databases/sqlite3/distinfo
cvs rdiff -u -r1.31 -r1.32 pkgsrc/databases/sqlite3-docs/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/databases/sqlite3-docs/PLIST \
    pkgsrc/databases/sqlite3-docs/distinfo
cvs rdiff -u -r1.61 -r1.62 pkgsrc/databases/sqlite3-tcl/Makefile
cvs rdiff -u -r1.42 -r1.43 pkgsrc/databases/sqlite3-tcl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index