diff options
author | danielk1977 <danielk1977@noemail.net> | 2007-09-12 17:01:45 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2007-09-12 17:01:45 +0000 |
commit | 4152e677b868bb8e08ecea5da02a522676de0df3 (patch) | |
tree | 517ab19dd7f302c994e2c3aed759460cf538d811 /src/btree.c | |
parent | a430ae8e54bc0f61b3398f81139f188fcfda915a (diff) | |
download | sqlite-4152e677b868bb8e08ecea5da02a522676de0df3.tar.gz sqlite-4152e677b868bb8e08ecea5da02a522676de0df3.zip |
Fixes for compilation/testing when the various OMIT macros are defined. (CVS 4423)
FossilOrigin-Name: c8405b15c074c94dab5e33272cf1471f458d11df
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/btree.c b/src/btree.c index 488503ff5..4c38882ea 100644 --- a/src/btree.c +++ b/src/btree.c @@ -9,7 +9,7 @@ ** May you share freely, never taking more than you give. ** ************************************************************************* -** $Id: btree.c,v 1.425 2007/09/07 14:32:07 drh Exp $ +** $Id: btree.c,v 1.426 2007/09/12 17:01:45 danielk1977 Exp $ ** ** This file implements a external (disk-based) database using BTrees. ** See the header comment on "btreeInt.h" for additional information. @@ -6166,11 +6166,13 @@ int sqlite3BtreeUpdateMeta(Btree *p, int idx, u32 iMeta){ rc = sqlite3PagerWrite(pBt->pPage1->pDbPage); if( rc==SQLITE_OK ){ put4byte(&pP1[36 + idx*4], iMeta); +#ifndef SQLITE_OMIT_AUTOVACUUM if( idx==7 ){ assert( pBt->autoVacuum || iMeta==0 ); assert( iMeta==0 || iMeta==1 ); pBt->incrVacuum = iMeta; } +#endif } } sqlite3BtreeLeave(p); |