diff options
author | dougcurrie <dougcurrie@noemail.net> | 2004-06-18 23:21:47 +0000 |
---|---|---|
committer | dougcurrie <dougcurrie@noemail.net> | 2004-06-18 23:21:47 +0000 |
commit | 81c95efaf547f7eb17c5cb2980de2ea6e7910c70 (patch) | |
tree | 7fcdc5895becb916bad7f890e61a8db574310212 /src | |
parent | f12f80f0714e1efcfe4e20b5afb1561375c777f9 (diff) | |
download | sqlite-81c95efaf547f7eb17c5cb2980de2ea6e7910c70.tar.gz sqlite-81c95efaf547f7eb17c5cb2980de2ea6e7910c70.zip |
MinGW/MSYS build fixes; ticket #765 (CVS 1625)
FossilOrigin-Name: 5f383c1ee1a2aec9e192f29528ec2a02f2329d19
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 */ |