]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Modify documentation to explain default value of "pragma synchronous".
authordanielk1977 <danielk1977@noemail.net>
Mon, 16 May 2005 02:13:17 +0000 (02:13 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Mon, 16 May 2005 02:13:17 +0000 (02:13 +0000)
No code changes. (CVS 2459)

FossilOrigin-Name: 453014421e9a739b47d4c28b0342454e4c686199

manifest
manifest.uuid
www/pragma.tcl

index 7cc0192265b2def0cc2694eb3af19beb1e8fe1c0..5fed8567bc58a68a4142db833a2cc4dbdf21c4b2 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Change\sto\sthe\slemon\sparser\ssuggested\sby\sGeert\sJanssen.\s\sAppears\sto\shave\sno\nimpact\son\sSQLite.\s(CVS\s2458)
-D 2005-05-11T14:28:15
+C Modify\sdocumentation\sto\sexplain\sdefault\svalue\sof\s"pragma\ssynchronous".\nNo\scode\schanges.\s(CVS\s2459)
+D 2005-05-16T02:13:18
 F Makefile.in 5c00d0037104de2a50ac7647a5f12769795957a3
 F Makefile.linux-gcc 06be33b2a9ad4f005a5f42b22c4a19dab3cbb5c7
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -270,7 +270,7 @@ F www/oldnews.tcl 61e4b210569e3f45b2df77482ddabb3fa2e8a8a6
 F www/omitted.tcl f1e57977299c3ed54fbae55e4b5ea6a64de39e19
 F www/opcode.tcl 5bd68059416b223515a680d410a9f7cb6736485f
 F www/optimizing.tcl f0b2538988d1bbad16cbfe63ec6e8f48c9eb04e5
-F www/pragma.tcl bf23f023a02a0125508d6ff67796b7057c7583fe
+F www/pragma.tcl fee45a370a6c29872fdba2234285c791d59bbc6b
 F www/quickstart.tcl 6f6f694b6139be2d967b1492eb9a6bdf7058aa60
 F www/speed.tcl 656ed5be8cc9d536353e1a96927b925634a62933
 F www/sqlite.tcl b51fd15f0531a54874de785a9efba323eecd5975
@@ -279,7 +279,7 @@ F www/tclsqlite.tcl 425be741b8ae664f55cb1ef2371aab0a75109cf9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
 F www/whentouse.tcl 528299b8316726dbcc5548e9aa0648c8b1bd055b
-P 748771a8ad7f175e49f253d0c1ace3fc55814418
-R c8e6171ba654d699904955436182da2b
-U drh
-Z a6e8b00756af4dd094b10ed55321b09b
+P 6fda60083f258a4943c859d768ea7142de831594
+R fd2c4908e0fdb2494d48b2e0803860c0
+U danielk1977
+Z 90c663f1f4698e391b7c8726040b4620
index 329afeac67aa2d964d33472d2709397554a2c0a6..9cfa356c83e7468b4c1429de7652dc01ecaac9d6 100644 (file)
@@ -1 +1 @@
-6fda60083f258a4943c859d768ea7142de831594
\ No newline at end of file
+453014421e9a739b47d4c28b0342454e4c686199
\ No newline at end of file
index 0a84c4b5f17796a0cafdb20546b3afa79c0707c3..2df633408d51fac18c1ecdf09c864fb8ae3fa580 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Run this Tcl script to generate the pragma.html file.
 #
-set rcsid {$Id: pragma.tcl,v 1.13 2005/03/31 21:02:46 drh Exp $}
+set rcsid {$Id: pragma.tcl,v 1.14 2005/05/16 02:13:18 danielk1977 Exp $}
 source common.tcl
 header {Pragma statements supported by SQLite}
 
@@ -240,13 +240,13 @@ puts {
     the operating system crashes or if there is a power failure, the database
     will be uncorrupted after rebooting.  FULL synchronous is very 
     safe, but it is also slow.  
-    When synchronous is NORMAL (1, the default), the SQLite database
+    When synchronous is NORMAL, the SQLite database
     engine will still pause at the most critical moments, but less often
     than in FULL mode.  There is a very small (though non-zero) chance that
     a power failure at just the wrong time could corrupt the database in
     NORMAL mode.  But in practice, you are more likely to suffer
     a catastrophic disk failure or some other unrecoverable hardware
-    fault.  So NORMAL is the default mode.
+    fault.
     With synchronous OFF (0), SQLite continues without pausing
     as soon as it has handed data off to the operating system.
     If the application running SQLite crashes, the data will be safe, but
@@ -254,7 +254,11 @@ puts {
     crashes or the computer loses power before that data has been written
     to the disk surface.  On the other hand, some
     operations are as much as 50 or more times faster with synchronous OFF.
-    </p></li>
+    </p>
+    <p>In SQLite version 2, the default value is NORMAL. For version 3, the
+    default was changed to FULL.
+    </p>
+</li>
 
 
 <a name="pragma_temp_store"></a>