From: danielk1977 Date: Mon, 24 Jan 2005 23:27:31 +0000 (+0000) Subject: Clarify documentation of DEFAULT CURRENT_TIME etc. (version 3.1.0 and greater only... X-Git-Tag: version-3.6.10~3878 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86c4948198f9dd057a63a62193730ed3a8d468b5;p=thirdparty%2Fsqlite.git Clarify documentation of DEFAULT CURRENT_TIME etc. (version 3.1.0 and greater only). (CVS 2274) FossilOrigin-Name: 557eb2ec9d825c0a2830d3355d0d27b4b5937de2 --- diff --git a/manifest b/manifest index e24eb1f338..e464d4b5bc 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C More\stest\scases\sto\sdo\swith\sinvalidating\sprecompiled\sstatements.\s(CVS\s2273) -D 2005-01-24T13:03:32 +C Clarify\sdocumentation\sof\sDEFAULT\sCURRENT_TIME\setc.\s(version\s3.1.0\sand\sgreater\sonly).\s(CVS\s2274) +D 2005-01-24T23:27:32 F Makefile.in ffd81f5e926d40b457071b4de8d7c1fa18f39b5a F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457 F README a01693e454a00cc117967e3f9fdab2d4d52e9bc1 @@ -255,7 +255,7 @@ F www/faq.tcl abe360e630d8134bc6242c5e3664969c397eac6e F www/fileformat.tcl 900c95b9633abc3dcfc384d9ddd8eb4876793059 F www/formatchng.tcl bfbf14dbf5181e771d06da7797767b0200b36d8a F www/index.tcl 2ac775d5247922fd0f5d62178b28d41ccaed7d01 -F www/lang.tcl a79b222f29cd94e11aee7bb0e69e133d55b03602 +F www/lang.tcl aeb76706558763b3847390a646b3a0ab649c468c F www/lockingv3.tcl f59b19d6c8920a931f096699d6faaf61c05db55f F www/mingw.tcl d96b451568c5d28545fefe0c80bee3431c73f69c F www/nulls.tcl ec35193f92485b87b90a994a01d0171b58823fcf @@ -272,7 +272,7 @@ F www/tclsqlite.tcl e73f8f8e5f20e8277619433f7970060ab01088fc F www/vdbe.tcl 095f106d93875c94b47367384ebc870517431618 F www/version3.tcl 092a01f5ef430d2c4acc0ae558d74c4bb89638a0 F www/whentouse.tcl 3e522a06ad41992023c80ca29a048ae2331ca5bd -P bd65b1805c116a9073a01164d77e2bfd4ab3b447 -R 5b52d70623d9cc9b1a479b06c91e23de +P b243681a0e328ee0bbf1140abfb60d65d2102ad5 +R ccb6447e7156933de8fc182a220c72ff U danielk1977 -Z 0621873bf2da710b6c752ac8b3dbc2ce +Z dad25937f9866029c7d3ceaad1989791 diff --git a/manifest.uuid b/manifest.uuid index 370148f519..2ad32a7ff3 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -b243681a0e328ee0bbf1140abfb60d65d2102ad5 \ No newline at end of file +557eb2ec9d825c0a2830d3355d0d27b4b5937de2 \ No newline at end of file diff --git a/www/lang.tcl b/www/lang.tcl index 97e2ff2990..d7d4e0897b 100644 --- a/www/lang.tcl +++ b/www/lang.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the lang-*.html files. # -set rcsid {$Id: lang.tcl,v 1.81 2005/01/10 06:39:57 danielk1977 Exp $} +set rcsid {$Id: lang.tcl,v 1.82 2005/01/24 23:27:32 danielk1977 Exp $} source common.tcl if {[llength $argv]>0} { @@ -483,14 +483,15 @@ collating function to use when comparing text entries for the column. The built-in BINARY collating function is used by default.

The DEFAULT constraint specifies a default value to use when doing an INSERT. -The value may be NULL, a string constant, a number, or one of the special -case-independant keywords CURRENT_TIME, CURRENT_DATE or CURRENT_TIMESTAMP. -If the value is NULL, a string constant or number, it is literally inserted -into the column whenever an INSERT statement that does not specify a value -for the column is executed. If the value is CURRENT_TIME, CURRENT_DATE or -CURRENT_TIMESTAMP, then the current UTC date and/or time is inserted into -the columns. For CURRENT_TIME, the format is HH:MM:SS. For CURRENT_DATE, -YYYY-MM-DD. The format for CURRENT_TIMESTAMP is "YYYY-MM-DD HH:MM:SS". +The value may be NULL, a string constant or a number. Starting with version +3.1.0, the default value may also be one of the special case-independant +keywords CURRENT_TIME, CURRENT_DATE or CURRENT_TIMESTAMP. If the value is +NULL, a string constant or number, it is literally inserted into the column +whenever an INSERT statement that does not specify a value for the column is +executed. If the value is CURRENT_TIME, CURRENT_DATE or CURRENT_TIMESTAMP, then +the current UTC date and/or time is inserted into the columns. For +CURRENT_TIME, the format is HH:MM:SS. For CURRENT_DATE, YYYY-MM-DD. The format +for CURRENT_TIMESTAMP is "YYYY-MM-DD HH:MM:SS".

Specifying a PRIMARY KEY normally just creates a UNIQUE index