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

Remove the 'nMaster' argument from various pager and btree functions. (CVS 1737)

FossilOrigin-Name: 4e20720984e1fd6822ead785d758374d2704b7fb
This commit is contained in:
danielk1977
2004-06-26 08:38:24 +00:00
parent 1e8770ec89
commit 40b38dcdf8
12 changed files with 43 additions and 48 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.172 2004/06/22 14:40:11 drh Exp $
** $Id: btree.c,v 1.173 2004/06/26 08:38:25 danielk1977 Exp $
**
** This file implements a external (disk-based) database using BTrees.
** For a detailed discussion of BTrees, refer to
@@ -1231,7 +1231,7 @@ static int newDatabase(Btree *pBt){
** This is so that appropriate space can be allocated in the journal file
** when it is created..
*/
int sqlite3BtreeBeginTrans(Btree *pBt, int wrflag, int nMaster){
int sqlite3BtreeBeginTrans(Btree *pBt, int wrflag){
int rc = SQLITE_OK;
/* If the btree is already in a write-transaction, or it
@@ -1251,7 +1251,7 @@ int sqlite3BtreeBeginTrans(Btree *pBt, int wrflag, int nMaster){
}
if( rc==SQLITE_OK && wrflag ){
rc = sqlite3pager_begin(pBt->pPage1->aData, nMaster);
rc = sqlite3pager_begin(pBt->pPage1->aData);
if( rc==SQLITE_OK ){
rc = newDatabase(pBt);
}