-C Disable\sthe\salter2.test\son\sutf16\ssince\sthe\sresults\sof\sthat\stest\sonly\nwork\sfor\sutf8.\s(CVS\s3555)
-D 2007-01-04T16:37:04
+C Increase\sthe\sversion\snumber\sto\s3.3.9.\s\sDocumentation\schanges\sprior\sto\sthe\nrelease\sof\sversion\s3.3.9.\s(CVS\s3556)
+D 2007-01-04T16:37:41
F Makefile.in 63a71177ed4355c829229affe11167bd28c85884
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
-F VERSION 9e94305f713b6e93b9432b92796b3b28d9bf0a93
+F VERSION b75cfeea5b7283ffac7f9da837a6436b21bd01ca
F aclocal.m4 a8df0ae21d1ac797fa7d7eaa1703412bc61b973f
F addopcodes.awk 701697fae48376375ec8532c3d04e910cfeef352
F art/2005osaward.gif 0d1851b2a7c1c9d0ccce545f3e14bca42d7fd248
F www/autoinc.tcl b357f5ba954b046ee35392ce0f884a2fcfcdea06
F www/c_interface.tcl b51b08591554c16a0c3ef718364a508ac25abc7e
F www/capi3.tcl 7a7cc225fe02eb7ab861a6019b08baa0014409e1
-F www/capi3ref.tcl 08c8314c33d0e7aa3875b22ac83f19af1eb7f6d0
-F www/changes.tcl d87a40a48bfbfbf762e8cee8f6e86faac7e9c857
+F www/capi3ref.tcl 4dbc9521c06b6d5bf0b2f826106fa906c829a55a
+F www/changes.tcl ae03d65e8ed68f878f0ab873a2d0e2647cc36176
F www/common.tcl 14d121c28532ad20c3e349caa4db708b0b822083
F www/compile.tcl 276546d7eb445add5a867193bbd80f6919a6b084
F www/conflict.tcl cdd0f4b59b0ba6d61f67e6a38f3ae45853bacb30
F www/formatchng.tcl bbb8af1ee494a71031acac4c8d8c51535f23b9df
F www/fullscanb.gif f7c94cb227f060511f8909e10f570157263e9a25
F www/index-ex1-x-b.gif f9b1d85c3fa2435cf38b15970c7e3aa1edae23a3
-F www/index.tcl 00623a29cd03225cbd1d050d90d2a43485f3e357
+F www/index.tcl 788a3cf77baf8d6043b9016196580c8c2097e455
F www/indirect1b1.gif adfca361d2df59e34f9c5cac52a670c2bfc303a1
F www/lang.tcl fb1070256c211a3dec735e1273c506c1f8db7556
F www/lockingv3.tcl f59b19d6c8920a931f096699d6faaf61c05db55f
F www/mingw.tcl d96b451568c5d28545fefe0c80bee3431c73f69c
F www/nulls.tcl ec35193f92485b87b90a994a01d0171b58823fcf
-F www/oldnews.tcl 788051b8be60ea94730c36a712a3a8257fe6696e
+F www/oldnews.tcl 8dbc5c7e1f0a7ee279deba9da48b58ab9587afaf
F www/omitted.tcl ee6b46f83d513b2187869740da829a700e1a355e
F www/opcode.tcl 5bd68059416b223515a680d410a9f7cb6736485f
F www/optimizer.tcl d6812a10269bd0d7c488987aac0ad5036cace9dc
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P 8cad5d671be9be3f7dd7dab99ad65c0fa21931ad
-R 70fd1d362e5ccd6038ed19590c7df1ff
+P 87f350f35be64cdaa128bde35fbe93251b107025
+R 1565fba65c6bf980fc2d2b89099e9210
U drh
-Z 6fcf698773497ede58b8ae7be9cf6a25
+Z 3b8b10b46a3cadbaa10b58c330006841
-87f350f35be64cdaa128bde35fbe93251b107025
\ No newline at end of file
+7e2832978f69cad105699259247581514ee7bd33
\ No newline at end of file
-set rcsid {$Id: capi3ref.tcl,v 1.46 2006/11/09 15:18:00 drh Exp $}
+set rcsid {$Id: capi3ref.tcl,v 1.47 2007/01/04 16:37:41 drh Exp $}
source common.tcl
header {C/C++ Interface For SQLite Version 3}
puts {
sqlite3_stmt **ppStmt, /* OUT: Statement handle */
const void **pzTail /* OUT: Pointer to unused portion of zSql */
);
+
+/* Legacy Interfaces */
int sqlite3_prepare(
sqlite3 *db, /* Database handle */
const char *zSql, /* SQL statement, UTF-8 encoded */
The first argument "db" is an SQLite database handle. The second
argument "zSql" is the statement to be compiled, encoded as either
- UTF-8 or UTF-16. The sqlite3_prepare() and sqlite3_prepare_v2()
- interfaces uses UTF-8 and sqlite3_prepare16() and sqlite3_prepare16_v2()
+ UTF-8 or UTF-16. The sqlite3_prepare_v2()
+ interfaces uses UTF-8 and sqlite3_prepare16_v2()
use UTF-16. If the next argument, "nBytes", is less
than zero, then zSql is read up to the first nul terminator. If
"nBytes" is not less than zero, then it is the length of the string zSql
On success, SQLITE_OK is returned. Otherwise an error code is returned.
The sqlite3_prepare_v2() and sqlite3_prepare16_v2() interfaces are
- recommended for all new programs. The other two interfaces are retained
+ recommended for all new programs. The other two older interfaces are retained
for backwards compatibility. In the "v2" interfaces, the prepared statement
that is returned (the sqlite3_stmt object) contains a copy of the original
SQL. This causes the sqlite3_step() interface to behave a little differently.
int sqlite3_reset(sqlite3_stmt *pStmt);
} {
The sqlite3_reset() function is called to reset a prepared SQL
- statement obtained by a previous call to sqlite3_prepare(),
- sqlite3_prepare_v2(), sqlite3_prepare16() or
+ statement obtained by a previous call to
+ sqlite3_prepare_v2() or
sqlite3_prepare16_v2() back to it's initial state, ready to be re-executed.
Any SQL statement variables that had values bound to them using
the sqlite3_bind_*() API retain their values.
int sqlite3_step(sqlite3_stmt*);
} {
After an SQL query has been prepared with a call to either
- sqlite3_prepare(), sqlite3_prepare_v2(), sqlite3_prepare16(),
- or sqlite3_prepare16_v2(), then this function must be
+ sqlite3_prepare_v2() or sqlite3_prepare16_v2() or to one of
+ the legacy interfaces sqlite3_prepare() or sqlite3_prepare16(),
+ then this function must be
called one or more times to execute the statement.
The details of the behavior of this sqlite3_step() interface depend
If the SQL statement being executed returns any data, then
SQLITE_ROW is returned each time a new row of data is ready
for processing by the caller. The values may be accessed using
- the sqlite3_column_*() functions. sqlite3_step()
- is called again to retrieve the next row of data.
+ the sqlite3_column_int(), sqlite3_column_text(), and similar functions.
+ sqlite3_step() is called again to retrieve the next row of data.
SQLITE_ERROR means that a run-time error (such as a constraint
violation) has occurred. sqlite3_step() should not be called again on
puts "<DD><P><UL>$desc</UL></P></DD>"
}
+chng {2007 January 4 (3.3.9)} {
+<li>Fix bugs in pager.c that could lead to database corruption if two
+processes both try to recover a hot journal at the same instant</li>
+<li>Added the <a href="capi3ref.html#sqlite3_prepare_v2>sqlite3_prepare_v2()</a>
+API.</li>
+<li>Fixed the ".dump" command in the command-line shell to show
+triggers and views again.</li>
+<li>Change the table_info pragma so that it returns NULL for the default
+value if there is no default value</li>
+<li>Support for non-ASCII characters in win95 filenames</li>
+<li>Query optimizer enhancements:
+<ul>
+<li>Optimizer does a better job of using indices to satisfy ORDER BY
+clauses that sort on the integer primary key</li>
+<li>Use an index to satisfy an IS NULL operator in the WHERE clause</li>
+<li>Fix a bug that was causing the optimizer to miss an OR optimization
+opportunity</li>
+<li>The optimizer has more freedom to reorder tables in the FROM clause
+even in there are LEFT joins.</li>
+</ul>
+<li>Extension loading supported added to winCE</li>
+<li>Allow constrain names on the DEFAULT clause in a table definition</li>
+<li>Added the ".bail" command to the command-line shell</li>
+<li>Make CVS (comma separate value) output from the command-line shell
+more closely aligned to accepted practice</li>
+<li>Experimental FTS2 module added</li>
+<li>Use sqlite3_mprintf() instead of strdup() to avoid libc dependencies</li>
+<li>VACUUM uses a temporary file in the official TEMP folder, not in the
+same directory as the original database</li>
+<li>The prefix on temporary filenames on windows is changed from "sqlite"
+to "etilqs".</li>
+}
+
chng {2006 October 9 (3.3.8)} {
<li>Support for full text search using the
<a href="http://www.sqlite.org/cvstrac/wiki?p=FullTextIndex">FTS1 module</a>
<li>A complete database is stored in a single disk file.</li>
<li>Database files can be freely shared between machines with
different byte orders.</li>
-<li>Supports databases up to 2 terabytes
+<li>Supports databases up to 2 tebibytes
(2<sup><small>41</small></sup> bytes) in size.</li>
-<li>Sizes of strings and BLOBs limited only by available memory.</li>
+<li>Strings and BLOBs up to 2 gibibytes (2<sup><small>31</small></sup> bytes)
+ in size.</li>
<li>Small code footprint: less than 250KiB fully configured or less
than 150KiB with optional features omitted.</li>
<li><a href="speed.html">Faster</a> than popular client/server database
puts "<hr width=\"50%\">"
}
+newsitem {2007-Jan-4} {Version 3.3.9} {
+ Version 3.3.9 fixes bugs that can lead to database corruption under
+ obsure and difficult to reproduce circumstances. See
+ <a href="http://www.sqlite.org/cvstrac/wiki?p=DatabaseCorruption">
+ DatabaseCorruption</a> in the
+ <a href="http://www.sqlite.org/cvstrac/wiki">wiki</a> for details.
+ This release also add the new
+ <a href="capi3ref.html#sqlite3_prepare_v2">sqlite3_prepare_v2()</a>
+ API and includes important bug fixes in the command-line
+ shell and enhancements to the query optimizer. Upgrading is
+ recommended.
+}
+
newsitem {2006-Oct-9} {Version 3.3.8} {
Version 3.3.8 adds support for full-text search using the
<a href="http://www.sqlite.org/cvstrac/wiki?p=FtsOne">FTS1
Perl, Ruby, Tcl, and Java. Recommended.
}
-newsitem {2006-Jun-6} {Version 3.3.6} {
- Changes include improved tolerance for windows virus scanners
- and faster :memory: databases. There are also fixes for several
- obscure bugs. Upgrade if you are having problems.
-}
-
-newsitem {2006-Apr-5} {Version 3.3.5} {
- This release fixes many minor bugs and documentation typos and
- provides some minor new features and performance enhancements.
- Upgrade only if you are having problems or need one of the new features.
-}
-
puts {
<p align="right"><a href="oldnews.html">Old news...</a></p>
</td></tr></table>
}
-footer {$Id: index.tcl,v 1.143 2006/10/08 18:56:57 drh Exp $}
+footer {$Id: index.tcl,v 1.144 2007/01/04 16:37:41 drh Exp $}
}
+newsitem {2006-Jun-6} {Version 3.3.6} {
+ Changes include improved tolerance for windows virus scanners
+ and faster :memory: databases. There are also fixes for several
+ obscure bugs. Upgrade if you are having problems.
+}
+
+newsitem {2006-Apr-5} {Version 3.3.5} {
+ This release fixes many minor bugs and documentation typos and
+ provides some minor new features and performance enhancements.
+ Upgrade only if you are having problems or need one of the new features.
+}
+
newsitem {2006-Feb-11} {Version 3.3.4} {
This release fixes several bugs, including a
a blunder that might cause a deadlock on multithreaded systems.
Plans are to continue to support SQLite version 2.8 with
bug fixes. But all new development will occur in version 3.0.
}
-footer {$Id: oldnews.tcl,v 1.16 2006/08/12 14:38:47 drh Exp $}
+footer {$Id: oldnews.tcl,v 1.17 2007/01/04 16:37:41 drh Exp $}