From 5f68fc952cf42d23068d2827397e0e7f1a4a01e7 Mon Sep 17 00:00:00 2001 From: drh Date: Thu, 1 Jun 2000 00:03:43 +0000 Subject: [PATCH] :-) (CVS 31) FossilOrigin-Name: f035dec94aa1b9f76b18350a558debbb63f7834a --- manifest | 14 +++++++------- manifest.uuid | 2 +- www/index.tcl | 37 +++++++++++++++++-------------------- www/sqlite.tcl | 24 +++++++++++++++++++----- 4 files changed, 44 insertions(+), 33 deletions(-) diff --git a/manifest b/manifest index 6cce59265a..80d0c4117c 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C :-)\s(CVS\s30) -D 2000-05-31T23:33:17 +C :-)\s(CVS\s31) +D 2000-06-01T00:03:44 F COPYRIGHT 74a8a6531a42e124df07ab5599aad63870fa0bd4 F Makefile.in 7ac2fef265940d93a544cb454efa836451559a71 F README 6b5960603c7f8bf42fc022b4b6436f242f238dbb @@ -43,9 +43,9 @@ F tool/opcodeDoc.awk b3a2a3d5d3075b8bd90b7afe24283efdd586659c F tool/renumberOps.awk 6d067177ad5f8d711b79577b462da9b3634bd0a9 F www/c_interface.tcl f875864edf7974157d1c257ca08de854660882a5 F www/changes.tcl 37f4906f0b03f2160d2b2e4ed3cedb0b91d253cb -F www/index.tcl a94e31dc690f07b0dfdb82c5ab6315e4840a336d -F www/sqlite.tcl 7deb564df188ad4523adecfe2365de6d09f6dfd9 -P 09054df318240f2f2b365f7b24655473c1ab6655 -R fc82166dc2a47a40a12fe4f5158b594e +F www/index.tcl 6ccfbbd934ad02fd672becfcbfd9d9926ea93327 +F www/sqlite.tcl 2a0056dd6d78839636176b770d9f37d12e66660e +P 9b8458bbcef19882f14f0e96575fc3f0a86df97a +R ee8b471791d90d7d1d3223dd679a5e5b U drh -Z 56c060b93461ac99c13a7f384be1c3c5 +Z 4925c6d87c25c22f25494b77439df2b0 diff --git a/manifest.uuid b/manifest.uuid index fe16bb7615..a066f78506 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -9b8458bbcef19882f14f0e96575fc3f0a86df97a \ No newline at end of file +f035dec94aa1b9f76b18350a558debbb63f7834a \ No newline at end of file diff --git a/www/index.tcl b/www/index.tcl index 15f31b8f55..3843fd5cfb 100644 --- a/www/index.tcl +++ b/www/index.tcl @@ -1,7 +1,7 @@ # # Run this TCL script to generate HTML for the index.html file. # -set rcsid {$Id: index.tcl,v 1.7 2000/05/31 20:00:53 drh Exp $} +set rcsid {$Id: index.tcl,v 1.8 2000/06/01 00:03:44 drh Exp $} puts { SQLite: An SQL Frontend For GDBM @@ -13,16 +13,19 @@ puts {

} puts {

-SQLite is currently "alpha"-quality software under active development. -It is being release early so that you can have an opportunity -to comment on its design and implementation and possibly influence -the direction of its development. Your constructive comments -are very important to us and are encouraged. If you have -any suggestions or any words of encouragement, please submit -them to the mailing list described below.

+The SQLite code base is rapidly becoming usable. Most of the commonly +used features of SQL (at least the features of SQL that this author +commonly uses) are now supported. There are currently no known +errors in the code. (There are known omissions but that is another +matter.) +One very large database (1M+ records in 50+ separate tables) has +been converted from PostgreSQL and gives every appearance of working +correctly. We are rapidly approaching a "beta" release, I think...

-

If you are looking for a stable SQL library, check back here in a few -months...

+

Your constructive comments are still very important to us. +Please visit the +mailing list to offer your feedback.

+ } puts {

Introduction

@@ -65,16 +68,10 @@ implement are as follows:

Status

-

The current version of SQLite should be considered "alpha" software. -It is incomplete and is known to contain bugs. The software is -subject to incompatible changes with each release. You should not use -SQLite in its present form in production software.

- -

The purpose of releasing SQLite before it is ready is to evoke -public comment and criticism of the software. If you find bugs -or have any thoughts on how to make SQLite better, or would -like to contribute code or patches to SQLite, please join -the mailing (see below) and let us know.

+

The SQLite code is rapidly stablizing. There are currently +no known errors in the code. At least one large database has +be loaded into SQLite and appears to work. Most of the major +functionality is in place.

SQLite has so far been tested only on RedHat 6.0 Linux. But we know of no reason why it will not work on any other Unix platform, diff --git a/www/sqlite.tcl b/www/sqlite.tcl index 873d3e28f0..85656a1102 100644 --- a/www/sqlite.tcl +++ b/www/sqlite.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the sqlite.html file. # -set rcsid {$Id: sqlite.tcl,v 1.4 2000/05/31 02:27:50 drh Exp $} +set rcsid {$Id: sqlite.tcl,v 1.5 2000/06/01 00:03:44 drh Exp $} puts { @@ -151,7 +151,7 @@ sql> (((.help))) .header ON|OFF Turn display of headers on or off .help Show this message .indices TABLE Show names of all indices on TABLE -.mode MODE Set mode to one of "line", "column", or "list" +.mode MODE Set mode to one of "line", "column", "list", or "html" .output FILENAME Send output to FILENAME .output stdout Send output to the screen .schema ?TABLE? Show the CREATE statements @@ -165,11 +165,11 @@ puts {

Changing Output Formats

The sqlite program is able to show the results of a query -in three different formats: "line", "column", and "list". You can -use the ".mode" dot command to switch between these three output +in four different formats: "line", "column", "list", and "html". +You can use the ".mode" dot command to switch between these three output formats.

-

In "line" mode (the default), each field in a record of the database +

In "line" mode, each field in a record of the database is shown on a line by itself. Each line consists of the field name, an equal sign and the field data. Successive records are separated by a blank line. Here is an example of line mode @@ -186,6 +186,11 @@ two = 20 sql> } +puts { +

Line mode used to be the default mode setting. But recently the +default mode was changed to "list".

+} + puts {

In column mode, each record is shown on a separate line with the data aligned in columns. For example:

} @@ -264,6 +269,15 @@ goodbye, 20 sql> } +puts { +

The last output mode is "html". In this mode, sqlite writes +the results of the query as an XHTML table. The beginning +<TABLE&;gt and the ending </TABLE> are not written, but +all of the intervening <TR>s, <TH>s, and <TD>s +are. The html output mode is envisioned as being useful for +CGI.

+} + puts {

Writing results to a file