1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Clarify the comment on the sqlite3BtreeGetRequestedReserve() routine.

No changes to code.

FossilOrigin-Name: 52a6acca6d5d376308d354c02f4d676d9375c34c3841d7b1941196ee8b4e2511
This commit is contained in:
drh
2020-04-22 00:50:21 +00:00
parent 6ef2dc137d
commit 4d34766f4e
3 changed files with 11 additions and 8 deletions

View File

@@ -2913,6 +2913,10 @@ int sqlite3BtreeGetReserveNoMutex(Btree *p){
** Return the number of bytes of space at the end of every page that
** are intentually left unused. This is the "reserved" space that is
** sometimes used by extensions.
**
** The value returned is the larger of the current reserve size and
** the latest reserve size requested by SQLITE_FILECTRL_RESERVE_BYTES.
** The amount of reserve can only grow - never shrink.
*/
int sqlite3BtreeGetRequestedReserve(Btree *p){
int n;