diff options
author | drh <drh@noemail.net> | 2006-01-06 21:52:49 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2006-01-06 21:52:49 +0000 |
commit | 198bf391287b72ce27348e48d2e8cc2848c34c03 (patch) | |
tree | a233cf7a63d02b5399a1b97cd5f9eabe045b9114 /src/btree.c | |
parent | 9e9fe6f87717465d9d05608dba4833a5b1bfae61 (diff) | |
download | sqlite-198bf391287b72ce27348e48d2e8cc2848c34c03.tar.gz sqlite-198bf391287b72ce27348e48d2e8cc2848c34c03.zip |
Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)
FossilOrigin-Name: 9d71b7deaffdd7eb9ddad1f03df3e4c51c2cbd98
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree.c b/src/btree.c index 378e6eb3b..9847f72c8 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.283 2006/01/06 14:32:20 drh Exp $ +** $Id: btree.c,v 1.284 2006/01/06 21:52:50 drh Exp $ ** ** This file implements a external (disk-based) database using BTrees. ** For a detailed discussion of BTrees, refer to @@ -1569,7 +1569,7 @@ int sqlite3BtreeOpen( p->pSqlite = pSqlite; /* Try to find an existing Btree structure opened on zFilename. */ -#ifndef SQLITE_OMIT_SHARED_CACHE +#if !defined(SQLITE_OMIT_SHARED_CACHE) && !defined(SQLITE_OMIT_DISKIO) if( pTsd->useSharedData && zFilename && !isMemdb ){ char *zFullPathname = sqlite3OsFullPathname(zFilename); if( !zFullPathname ){ |