mirror of https://github.com/sqlite/sqlite
Add hyperlink anchors to the lockingv3.html document. (CVS 3685)
FossilOrigin-Name: 3e66ea6f61abc0f95af3bb46ebc0e10b4dcd069b
This commit is contained in:
parent
d45a0315cb
commit
a26cdf9a61
14
manifest
14
manifest
|
@ -1,5 +1,5 @@
|
|||
C Do\snot\scrash\swhen\sa\scorrupt\sdatabase\scontains\stwo\sindices\swith\sthe\ssame\sname.\s(CVS\s3684)
|
||||
D 2007-03-13T16:32:25
|
||||
C Add\shyperlink\sanchors\sto\sthe\slockingv3.html\sdocument.\s(CVS\s3685)
|
||||
D 2007-03-13T16:33:43
|
||||
F Makefile.in 1fe3d0b46e40fd684e1e61f8e8056cefed16de9f
|
||||
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
|
||||
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
||||
|
@ -415,7 +415,7 @@ F www/index-ex1-x-b.gif f9b1d85c3fa2435cf38b15970c7e3aa1edae23a3
|
|||
F www/index.tcl 688cf1280232f4964d8d07fda65e166a4b2e16cc
|
||||
F www/indirect1b1.gif adfca361d2df59e34f9c5cac52a670c2bfc303a1
|
||||
F www/lang.tcl cf204b6da4cf4ce2d47868092091a4cb7a9f8530
|
||||
F www/lockingv3.tcl f59b19d6c8920a931f096699d6faaf61c05db55f
|
||||
F www/lockingv3.tcl e52345bd20323bef6146bfce18ae0829b2b7c87d
|
||||
F www/mingw.tcl d96b451568c5d28545fefe0c80bee3431c73f69c
|
||||
F www/nulls.tcl ec35193f92485b87b90a994a01d0171b58823fcf
|
||||
F www/oldnews.tcl 32688aa238d455f080501201a25001cbf45f2bb0
|
||||
|
@ -436,7 +436,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
|
|||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
||||
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
|
||||
P e20e76f6d8578f4faab0b101b6d4deb2a8987454
|
||||
R 9273c66be575d7182b4b1faa7a816ce7
|
||||
U danielk1977
|
||||
Z 7529e5f446ae1176d63e7d8f55ccdbb4
|
||||
P 48b2a40008a09881ed9da3548095495a3d4a6647
|
||||
R 71fd10c40372f71bc80b6c2d2832c818
|
||||
U drh
|
||||
Z c1407752a27a9f8ad9c30a93e200acaf
|
||||
|
|
|
@ -1 +1 @@
|
|||
48b2a40008a09881ed9da3548095495a3d4a6647
|
||||
3e66ea6f61abc0f95af3bb46ebc0e10b4dcd069b
|
|
@ -5,7 +5,7 @@ set rcsid {$Id: }
|
|||
source common.tcl
|
||||
header {File Locking And Concurrency In SQLite Version 3}
|
||||
|
||||
proc HEADING {level title} {
|
||||
proc HEADING {level title {label {}}} {
|
||||
global pnum
|
||||
incr pnum($level)
|
||||
foreach i [array names pnum] {
|
||||
|
@ -17,6 +17,9 @@ proc HEADING {level title} {
|
|||
for {set i 3} {$i<=$level} {incr i} {
|
||||
append n .$pnum($i)
|
||||
}
|
||||
if {$label!=""} {
|
||||
puts "<a name=\"$label\">"
|
||||
}
|
||||
puts "<h$h>$n $title</h$h>"
|
||||
}
|
||||
set pnum(1) 0
|
||||
|
@ -42,7 +45,7 @@ of SQLite version 3.
|
|||
</p>
|
||||
}
|
||||
|
||||
HEADING 1 {Overview}
|
||||
HEADING 1 {Overview} overview
|
||||
|
||||
puts {
|
||||
<p>
|
||||
|
@ -81,7 +84,7 @@ word "process" is written you may substitute the word "thread" without
|
|||
changing the truth of the statement.</p>
|
||||
}
|
||||
|
||||
HEADING 1 {Locking}
|
||||
HEADING 1 {Locking} locking
|
||||
|
||||
puts {
|
||||
<p>
|
||||
|
@ -149,7 +152,7 @@ does not track PENDING locks.
|
|||
</p>
|
||||
}
|
||||
|
||||
HEADING 1 {The Rollback Journal}
|
||||
HEADING 1 {The Rollback Journal} rollback
|
||||
|
||||
puts {
|
||||
<p>Any time a process wants to make a changes to a database file, it
|
||||
|
@ -213,7 +216,7 @@ preceding rules will be repeated in bullets:
|
|||
</ul>
|
||||
}
|
||||
|
||||
HEADING 2 {Dealing with hot journals}
|
||||
HEADING 2 {Dealing with hot journals} hot_journals
|
||||
|
||||
puts {
|
||||
<p>
|
||||
|
@ -257,7 +260,7 @@ read from the database file. Once all reading has completed, the
|
|||
SHARED lock is dropped.</p>
|
||||
}
|
||||
|
||||
HEADING 2 {Deleting stale master journals}
|
||||
HEADING 2 {Deleting stale master journals} stale_master_journals
|
||||
|
||||
puts {
|
||||
<p>A stale master journal is a master journal that is no longer being
|
||||
|
@ -274,7 +277,7 @@ or refer to other master journals or no master journal at all, then the
|
|||
master journal we are testing is stale and can be safely deleted.</p>
|
||||
}
|
||||
|
||||
HEADING 1 {Writing to a database file}
|
||||
HEADING 1 {Writing to a database file} writing
|
||||
|
||||
puts {
|
||||
<p>To write to a database, a process must first acquire a SHARED lock
|
||||
|
@ -401,7 +404,7 @@ commit sequence is used, as follows:</p>
|
|||
</ol>
|
||||
}
|
||||
|
||||
HEADING 2 {Writer starvation}
|
||||
HEADING 2 {Writer starvation} writer_starvation
|
||||
|
||||
puts {
|
||||
<p>In SQLite version 2, if many processes are reading from the database,
|
||||
|
@ -420,7 +423,7 @@ eventually complete, all SHARED locks will eventually clear and the
|
|||
writer will be given a chance to make its changes.</p>
|
||||
}
|
||||
|
||||
HEADING 1 {How To Corrupt Your Database Files}
|
||||
HEADING 1 {How To Corrupt Your Database Files} how_to_corrupt
|
||||
|
||||
puts {
|
||||
<p>The pager module is robust but it is not completely failsafe.
|
||||
|
@ -515,7 +518,7 @@ after a power failure.
|
|||
</p>
|
||||
}
|
||||
|
||||
HEADING 1 {Transaction Control At The SQL Level}
|
||||
HEADING 1 {Transaction Control At The SQL Level} transaction_control
|
||||
|
||||
puts {
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue