aboutsummaryrefslogtreecommitdiff
path: root/src/pragma.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2005-06-07 22:22:50 +0000
committerdrh <drh@noemail.net>2005-06-07 22:22:50 +0000
commit0ccebe7e2d2ffd312b03f738ce8c36ec9be0fac9 (patch)
treed1f62735222da980e8b38982c857376c202c9acc /src/pragma.c
parent80f93bf41f79a0865559783005f0d72a36fbdf53 (diff)
downloadsqlite-0ccebe7e2d2ffd312b03f738ce8c36ec9be0fac9.tar.gz
sqlite-0ccebe7e2d2ffd312b03f738ce8c36ec9be0fac9.zip
Changes to support linking without a parser and without a disk I/O interface. (CVS 2504)
FossilOrigin-Name: 62a7353d4af4886b1561832e8b36e8e788b38834
Diffstat (limited to 'src/pragma.c')
-rw-r--r--src/pragma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pragma.c b/src/pragma.c
index 93f526bad..d2116ddcf 100644
--- a/src/pragma.c
+++ b/src/pragma.c
@@ -11,7 +11,7 @@
*************************************************************************
** This file contains code used to implement the PRAGMA command.
**
-** $Id: pragma.c,v 1.93 2005/05/22 06:49:57 danielk1977 Exp $
+** $Id: pragma.c,v 1.94 2005/06/07 22:22:51 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -19,7 +19,7 @@
/* Ignore this whole file if pragmas are disabled
*/
-#ifndef SQLITE_OMIT_PRAGMA
+#if !defined(SQLITE_OMIT_PRAGMA) && !defined(SQLITE_OMIT_PARSER)
#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST)
# include "pager.h"
@@ -930,4 +930,4 @@ pragma_out:
sqliteFree(zRight);
}
-#endif /* SQLITE_OMIT_PRAGMA */
+#endif /* SQLITE_OMIT_PRAGMA || SQLITE_OMIT_PARSER */