From 4598bf806cbcd45d0b4683404a721e788586cc24 Mon Sep 17 00:00:00 2001 From: shearer Date: Tue, 27 Oct 2020 11:58:37 +0000 Subject: [PATCH] Prettify btree.h headings. Close branch. FossilOrigin-Name: ee9689ad2fadb3b9c11235312bfc32a1db294485b4503a07692bbdbce71e021d --- manifest | 13 +++++++------ manifest.uuid | 2 +- src/btree.h | 40 +++++++++++++++++++++++++++++----------- 3 files changed, 37 insertions(+), 18 deletions(-) diff --git a/manifest b/manifest index 0c32615ab3..277e44b4fa 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Typo\sin\sbtree.h\s(and\sunwanted\smerge;\sthis\sbranch\sfor\scherrypicking\sbtree.h\sonly) -D 2020-10-27T11:13:37.542 +C Prettify\sbtree.h\sheadings.\sClose\sbranch. +D 2020-10-27T11:58:37.756 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@ -479,7 +479,7 @@ F src/backup.c 3014889fa06e20e6adfa0d07b60097eec1f6e5b06671625f476a714d2356513d F src/bitvec.c 17ea48eff8ba979f1f5b04cc484c7bb2be632f33 F src/btmutex.c 8acc2f464ee76324bf13310df5692a262b801808984c1b79defb2503bbafadb6 F src/btree.c ad0a38e4d4a0b6b3e003b5478556dbe890c0d58c7a95362e02d1fa539631af19 -F src/btree.h 1e92f734cfcb90c76bd6dd9568f74d585044bbce147de02cc3f0668866c43125 +F src/btree.h c16c855f7e2ef5bfe8fb119a20339fb8e24a3efe6edce17be4df66bce4e20241 F src/btreeInt.h ffd66480520d9d70222171b3a026d78b80833b5cea49c89867949f3e023d5f43 F src/build.c f6449d4e85e998e14d3f537e8ea898dca2fcb83c277db3e60945af9b9177db81 F src/callback.c d0b853dd413255d2e337b34545e54d888ea02f20da5ad0e63585b389624c4a6c @@ -1883,7 +1883,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P ea06f1d1f9683b3299107f42912169de9d2bbc91386eb953520c2f44e309c715 aa512f72cf5adfece6299db17bd122aeff0cdee2a25f83f60e2ebb05e99c9591 -R 53b18e65fc36a2364f9cda89c8bffd16 +P eb6e5fc1891be52acf378269405a99bab92b9bf501b7eba04eae07c851ed3027 +R 4d578fe854f29eb4522630d2ff1014ab +T +closed * U shearer -Z bd9c82595e9db9afed4c52f0d9e911d6 +Z 451aeadec2dd7d0cf13fe0ace3038992 diff --git a/manifest.uuid b/manifest.uuid index 05c32c547d..850a8eaadf 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -eb6e5fc1891be52acf378269405a99bab92b9bf501b7eba04eae07c851ed3027 \ No newline at end of file +ee9689ad2fadb3b9c11235312bfc32a1db294485b4503a07692bbdbce71e021d \ No newline at end of file diff --git a/src/btree.h b/src/btree.h index 062d2070d7..49fa6dc37d 100644 --- a/src/btree.h +++ b/src/btree.h @@ -67,8 +67,10 @@ typedef struct BtCursor BtCursor; typedef struct BtShared BtShared; typedef struct BtreePayload BtreePayload; -/* Functions for Opening and Closing Database Connections -** +/* +******************************************** +* Opening and Closing Database Connections +******************************************** */ int sqlite3BtreeOpen( @@ -96,7 +98,9 @@ int sqlite3BtreeOpen( int sqlite3BtreeClose(Btree*); /* -** Functions for Database Image Configuration and Querying +********************************************** +** Database Image Configuration and Querying +********************************************** */ /* @@ -139,8 +143,10 @@ int sqlite3BtreeIncrVacuum(Btree *); int sqlite3BtreeCopyFile(Btree *, Btree *); -/* -** Btree Connection Configuration and Querying +/* +************************************************ +** Btree Connection Configuration and Querying +************************************************ */ @@ -161,8 +167,10 @@ i64 sqlite3BtreeRowCountEst(BtCursor*); struct Pager *sqlite3BtreePager(Btree*); -/* -** Mutex Function Wrappers +/* +**************************** +** Mutex Function Wrappers +**************************** ** ** Every lock applies to an entire BTree. These functions are ** wrappers for the sqlite3_mutex* functions, which are called @@ -211,7 +219,9 @@ struct Pager *sqlite3BtreePager(Btree*); /* +**************************************** ** Transaction and SavePoint Functions +**************************************** */ int sqlite3BtreeBeginTrans(Btree*,int,int*); @@ -242,7 +252,9 @@ int sqlite3BtreeTripAllCursors(Btree*, int, int); /* -** Cursors and Cursor functions +********************************* +** Cursors and Cursor functions +********************************* ** */ @@ -387,7 +399,9 @@ void sqlite3BtreeCursorList(Btree*); #endif /* -** Record and Payload handling functions +****************************************** +** Record and Payload handling functions +****************************************** ** ** A Btree record is a key-value pair consisting of a rowid key, and arbitary ** data value. The record is also called a payload. @@ -464,7 +478,9 @@ void sqlite3BtreeIncrblobCursor(BtCursor *); /* -** Table functions +******************** +** Table functions +******************** ** */ @@ -488,7 +504,9 @@ int sqlite3BtreeClearTableOfCursor(BtCursor*); /* -** Reading and Writing Metadata +********************************* +** Reading and Writing Metadata +********************************* ** ** Note there is metadata which is not in the first database page ** including (as below) some visible via the os.h API -- 2.39.5