Update the btree file format description in btreeInt.h. (CVS 4063)

FossilOrigin-Name: 1ac160d3dc0f8723a1e2007cf45351dd8242c8c2
This commit is contained in:
drh 2007-06-15 12:06:58 +00:00
parent 6ed48bf6d7
commit 8030869589
3 changed files with 13 additions and 15 deletions

View File

@ -1,5 +1,5 @@
C The\sC-api\sreference\sdocumentation\sis\snow\sgenerated\sdirectly\sfrom\ncomments\sin\sthe\ssqlite3.h\sheader\sfile.\s(CVS\s4062)
D 2007-06-14T20:57:19
C Update\sthe\sbtree\sfile\sformat\sdescription\sin\sbtreeInt.h.\s(CVS\s4063)
D 2007-06-15T12:06:59
F Makefile.in b9971ab07868cf2b3209fe3bf8c52e7e25af4193
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@ -65,7 +65,7 @@ F src/attach.c ba628db0c2b6a362f036d017bf1196cdfe4ebb37
F src/auth.c 5ea90bc93dfea46e9fe4bf531e14c7cd98219ecb
F src/btree.c bde03df933f8295e984b831779a318cc7c38f339
F src/btree.h 1d527bf61ed176f980c34999d5793a0fd45dcf8c
F src/btreeInt.h f92c0577f49d961c0148b477a25647e8fd80eecf
F src/btreeInt.h ac1ab1fb624ffbe571786cd2bd9559f9ae336355
F src/build.c 50992d92e131a9aa9aa6657fb1ddc13e176fd70c
F src/callback.c 9c12535669a638f90a67e10440b99c7b93c0fbf4
F src/complete.c 7d1a44be8f37de125fcafd3d3a018690b3799675
@ -505,7 +505,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P 33454b5691637da7ded7d18d7f5726b796260c6b
R 2c2e76c407ceb9bf161fc37b91736d01
P d93c41e9a97882bf90217d60744d62dece6d10d3
R df974033f78f42e5f8a5a73a6db722e5
U drh
Z 26427dc925b0fd93c79e5cb944cd04d4
Z 8707dba60cafc501a175a7773fc2d178

View File

@ -1 +1 @@
d93c41e9a97882bf90217d60744d62dece6d10d3
1ac160d3dc0f8723a1e2007cf45351dd8242c8c2

View File

@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btreeInt.h,v 1.4 2007/05/16 17:28:43 danielk1977 Exp $
** $Id: btreeInt.h,v 1.5 2007/06/15 12:06:59 drh Exp $
**
** This file implements a external (disk-based) database using BTrees.
** For a detailed discussion of BTrees, refer to
@ -73,11 +73,9 @@
**
** All of the integer values are big-endian (most significant byte first).
**
** The file change counter is incremented when the database is changed more
** than once within the same second. This counter, together with the
** modification time of the file, allows other processes to know
** when the file has changed and thus when they need to flush their
** cache.
** The file change counter is incremented when the database is changed
** This counter allows other processes to know when the file has changed
** and thus when they need to flush their cache.
**
** The max embedded payload fraction is the amount of the total usable
** space in a page that can be consumed by a single cell for standard
@ -96,7 +94,7 @@
** not specified in the header.
**
** Each btree pages is divided into three sections: The header, the
** cell pointer array, and the cell area area. Page 1 also has a 100-byte
** cell pointer array, and the cell content area. Page 1 also has a 100-byte
** file header that occurs before the page header.
**
** |----------------|
@ -196,7 +194,7 @@
** * Data
**
** Freelist pages come in two subtypes: trunk pages and leaf pages. The
** file header points to first in a linked list of trunk page. Each trunk
** file header points to the first in a linked list of trunk page. Each trunk
** page points to multiple leaf pages. The content of a leaf page is
** unspecified. A trunk page looks like this:
**