From: drh Date: Mon, 9 Oct 2000 12:57:00 +0000 (+0000) Subject: Documentation changes only (CVS 151) X-Git-Tag: version-3.6.10~5937 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98699b54bb59a587a47f330e6de70284a93ccb12;p=thirdparty%2Fsqlite.git Documentation changes only (CVS 151) FossilOrigin-Name: 15340d2bb34c4d7ab629f9fa2231c7f34a248db9 --- diff --git a/manifest b/manifest index 1c703f59aa..46f3838117 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Added\sthe\s_printf()\sinterface.\s(CVS\s150) -D 2000-10-08T22:20:57 +C Documentation\schanges\sonly\s(CVS\s151) +D 2000-10-09T12:57:01 F COPYRIGHT 74a8a6531a42e124df07ab5599aad63870fa0bd4 F Makefile.in f0b70aaa6717f9454c787dc74e5504c98ae7ea18 F README 51f6a4e7408b34afa5bc1c0485f61b6a4efb6958 @@ -19,7 +19,7 @@ F src/printf.c 534954b942046761e0860c30a9031fa9d803ca3c F src/select.c d382e96c2221d08367cc87976f2b574537c9de97 F src/shell.c ef5d12129c824cb98238763e9e86ca1847e0c7bd F src/shell.tcl 27ecbd63dd88396ad16d81ab44f73e6c0ea9d20e -F src/sqlite.h.in 8d87c93de1b43c3cce984a4204d8de84e0a626b6 +F src/sqlite.h.in 7a11f9d131e9657d11dee5c23dfe458da91de8e2 F src/sqliteInt.h b65fdecac7281aafb4c9ff3e79ea1b5546478385 F src/table.c 12f0165b47178b54a675d25ed373ee7e798d6ff0 F src/tclsqlite.c 7ccccae67fb36ed60ec98282953bf5dad0f9c16f @@ -63,8 +63,8 @@ F tool/renumberOps.awk 6d067177ad5f8d711b79577b462da9b3634bd0a9 F www/arch.fig 4f246003b7da23bd63b8b0af0618afb4ee3055c8 F www/arch.png 8dae0766d42ed3de9ed013c1341a5792bcf633e6 F www/arch.tcl a40380c1fe0080c43e6cc5c20ed70731511b06be -F www/c_interface.tcl 47d6b9b66510be10d3b482ce978a317a183477e5 -F www/changes.tcl c4f4584325dd55f7f4146bb9f5c5f9f7ce385302 +F www/c_interface.tcl 03f5fe8f2da9713aa1748f7e4ce34a0c35926ac9 +F www/changes.tcl 9f98c996ce4f60d082deab9b29c2d7f7981ea680 F www/crosscompile.tcl 19734ce7f18b16ff2ed8479412abf8aca56e1dcc F www/fileformat.tcl cfb7fba80b7275555281ba2f256c00734bcdd1c9 F www/index.tcl b19418d506f90968deef972bf1b427d98bdf13e0 @@ -74,7 +74,7 @@ F www/opcode.tcl cb3a1abf8b7b9be9f3a228d097d6bf8b742c2b6f F www/sqlite.tcl cb0d23d8f061a80543928755ec7775da6e4f362f F www/tclsqlite.tcl ae101d5f7c07dcc59770e2a84aae09025fab2dad F www/vdbe.tcl bcbfc33bcdd0ebad95eab31286adb9e1bc289520 -P 384909e50f4ae2e84534f9a6505cfb5cc9f4d6ca -R 20b739a1a421bb63bda38b88ca775180 +P f9372072a6d6caa15fa14ec722523944470fe155 +R 02bf6b83b2b17b70d381cfc976f772c2 U drh -Z 26c391a6fcfb2f70f6b3966c96a404f9 +Z f08dc918374728b7ea46d64bfcf40011 diff --git a/manifest.uuid b/manifest.uuid index 52b6b1b042..c26b8dfd39 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -f9372072a6d6caa15fa14ec722523944470fe155 \ No newline at end of file +15340d2bb34c4d7ab629f9fa2231c7f34a248db9 \ No newline at end of file diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 3612f11e5f..9b8374d573 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -24,7 +24,7 @@ ** This header file defines the interface that the sqlite library ** presents to client programs. ** -** @(#) $Id: sqlite.h.in,v 1.4 2000/10/08 22:20:58 drh Exp $ +** @(#) $Id: sqlite.h.in,v 1.5 2000/10/09 12:57:01 drh Exp $ */ #ifndef _SQLITE_H_ #define _SQLITE_H_ @@ -127,7 +127,7 @@ int sqlite_exec( ); /* -** Return values fro sqlite_exec() +** Return values for sqlite_exec() */ #define SQLITE_OK 0 /* Successful result */ #define SQLITE_INTERNAL 1 /* An internal logic error in SQLite */ @@ -199,7 +199,7 @@ void sqlite_busy_timeout(sqlite*, int ms); ** Cindy | 21 ** ** If the 3rd argument were &azResult then after the function returns -** azResult would contain the following data: +** azResult will contain the following data: ** ** azResult[0] = "Name"; ** azResult[1] = "Age"; @@ -240,7 +240,7 @@ void sqlite_free_table(char **result); /* ** The following routines are wrappers around sqlite_exec() and -** sqlite_get_table(). The only difference between the routine that +** sqlite_get_table(). The only difference between the routines that ** follow and the originals is that the second argument to the ** routines that follow is really a printf()-style format ** string describing the SQL to be executed. Arguments to the format diff --git a/www/c_interface.tcl b/www/c_interface.tcl index a33bded4c3..f191b5ce05 100644 --- a/www/c_interface.tcl +++ b/www/c_interface.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the sqlite.html file. # -set rcsid {$Id: c_interface.tcl,v 1.9 2000/10/08 22:20:58 drh Exp $} +set rcsid {$Id: c_interface.tcl,v 1.10 2000/10/09 12:57:01 drh Exp $} puts { @@ -319,7 +319,7 @@ result code as sqlite_exec().

Testing for a complete SQL statement

-

The last interface routine to SQLite is a convenience function used +

The next interface routine to SQLite is a convenience function used to test whether or not a string forms a complete SQL statement. If the sqlite_complete() function returns true when its input is a string, then the argument forms a complete SQL statement. @@ -432,7 +432,7 @@ meaning of single-quote within a string literal.

Consider an example. Suppose you are trying to insert a string values into a database table where the string value was obtained from user input. Suppose the string to be inserted is stored in a variable -named zString. The code to insert this string might look like this:

+named zString. The code to do the insertion might look like this:

 sqlite_exec_printf(db,
diff --git a/www/changes.tcl b/www/changes.tcl
index bd1b0860d7..db4a111b4f 100644
--- a/www/changes.tcl
+++ b/www/changes.tcl
@@ -31,7 +31,7 @@ chng {2000 Sep 30 (1.0.8)} {
 
 chng {2000 Sep 29 (Not Released)} {
 
  • Added the sqlite_get_table() API
  • -
  • Updated the documtation for due to the above change.
  • +
  • Updated the documentation for due to the above change.
  • Modified the sqlite shell to make use of the new sqlite_get_table() API in order to print a list of tables in multiple columns, similar to the way "ls" prints filenames.