diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pager.c | 4 | ||||
-rw-r--r-- | src/pragma.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/pager.c b/src/pager.c index bf8843aae..4e6745422 100644 --- a/src/pager.c +++ b/src/pager.c @@ -18,7 +18,7 @@ ** file simultaneously, or one process from reading the database while ** another is writing. ** -** @(#) $Id: pager.c,v 1.131 2004/06/16 12:01:01 danielk1977 Exp $ +** @(#) $Id: pager.c,v 1.132 2004/06/18 23:21:47 dougcurrie Exp $ */ #include "os.h" /* Must be first to enable large file support */ #include "sqliteInt.h" @@ -2778,7 +2778,7 @@ sync_exit: return rc; } -#ifdef SQLITE_DEBUG +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) /* ** Return the current state of the file lock for the given pager. ** The return value is one of NO_LOCK, SHARED_LOCK, RESERVED_LOCK, diff --git a/src/pragma.c b/src/pragma.c index 3c79c8da7..4b5be3edc 100644 --- a/src/pragma.c +++ b/src/pragma.c @@ -11,12 +11,12 @@ ************************************************************************* ** This file contains code used to implement the PRAGMA command. ** -** $Id: pragma.c,v 1.47 2004/06/18 17:10:17 drh Exp $ +** $Id: pragma.c,v 1.48 2004/06/18 23:21:47 dougcurrie Exp $ */ #include "sqliteInt.h" #include <ctype.h> -#ifdef SQLITE_DEBUG +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) # include "pager.h" # include "btree.h" #endif @@ -816,7 +816,7 @@ void sqlite3Pragma(Parse *pParse, Token *pLeft, Token *pRight, int minusFlag){ } }else -#ifdef SQLITE_DEBUG +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) /* ** Report the current state of file logs for all databases */ |