1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Changes in support of using a codec. (CVS 1844)

FossilOrigin-Name: b77bec35742f07d79da3e85baee09a90c1494415
This commit is contained in:
drh
2004-07-22 02:40:37 +00:00
parent 90f5ecb39d
commit 2011d5f5e5
8 changed files with 52 additions and 29 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.178 2004/07/22 01:19:35 drh Exp $
** $Id: btree.c,v 1.179 2004/07/22 02:40:38 drh Exp $
**
** This file implements a external (disk-based) database using BTrees.
** For a detailed discussion of BTrees, refer to
@@ -1124,6 +1124,9 @@ int sqlite3BtreeSetPageSize(Btree *pBt, int pageSize, int nReserve){
int sqlite3BtreeGetPageSize(Btree *pBt){
return pBt->pageSize;
}
int sqlite3BtreeGetReserve(Btree *pBt){
return pBt->pageSize - pBt->usableSize;
}
/*
** Get a reference to pPage1 of the database file. This will