diff options
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 ){ |