aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2006-01-06 21:52:49 +0000
committerdrh <drh@noemail.net>2006-01-06 21:52:49 +0000
commit198bf391287b72ce27348e48d2e8cc2848c34c03 (patch)
treea233cf7a63d02b5399a1b97cd5f9eabe045b9114 /src/func.c
parent9e9fe6f87717465d9d05608dba4833a5b1bfae61 (diff)
downloadsqlite-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/func.c')
-rw-r--r--src/func.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/func.c b/src/func.c
index a50c3a3ee..4744518a8 100644
--- a/src/func.c
+++ b/src/func.c
@@ -16,7 +16,7 @@
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
** All other code has file scope.
**
-** $Id: func.c,v 1.113 2005/12/09 20:02:05 drh Exp $
+** $Id: func.c,v 1.114 2006/01/06 21:52:50 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1025,7 +1025,9 @@ void sqlite3RegisterBuiltinFunctions(sqlite3 *db){
#ifndef SQLITE_OMIT_ALTERTABLE
sqlite3AlterFunctions(db);
#endif
+#ifndef SQLITE_OMIT_PARSER
sqlite3AttachFunctions(db);
+#endif
for(i=0; i<sizeof(aAggs)/sizeof(aAggs[0]); i++){
void *pArg = 0;
switch( aAggs[i].argType ){