Closed Bug 967476 Opened 10 years ago Closed 10 years ago

Upgrade to SQLite 3.8.3

Categories

(Toolkit :: Storage, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 967443
mozilla30

People

(Reporter: boaz.dodin, Unassigned)

References

()

Details

SQLite version 3.8.3 is a regularly scheduled maintenance release. Upgrading from the previous release is optional.

The most visible change in version 3.8.3 is the addition of support for common table expressions. It is now possible to write a single SELECT statement that will query a tree or graph, using either a depth-first or a breadth-first search. A single SQLite query will even solve Sudoku puzzles or compute the Mandelbrot set. As part of this change, SQLite now accepts a VALUES clause anyplace that a SELECT statement is valid.

This release also includes many small performance enhancements which should give a small speed boost to legacy applications. And there are other minor enhancements such as the addition of the printf() SQL function.

* 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.
Depends on: SQLite3.8.2
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Alias: SQLite3.8.3
You need to log in before you can comment on or make changes to this bug.