diff options
author | drh <drh@noemail.net> | 2013-05-17 10:58:08 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-05-17 10:58:08 +0000 |
commit | 466af9baae3da0ac018a31237cde5dd0963bc4be (patch) | |
tree | f0d700132218dd9d4b988a332b1c2255f9e09144 /ext/misc/closure.c | |
parent | ad1818d9ede86ed01ea5a32e55adf8dde5a18f89 (diff) | |
parent | 4c5aeecc907f4cb36247322fd181eec9d578e9db (diff) | |
download | sqlite-466af9baae3da0ac018a31237cde5dd0963bc4be.tar.gz sqlite-466af9baae3da0ac018a31237cde5dd0963bc4be.zip |
Update the sessions branch to the latest 3.7.17 beta.
FossilOrigin-Name: af8057ef5dcaa72dc0d2ab5d1553b06757449fa1
Diffstat (limited to 'ext/misc/closure.c')
-rw-r--r-- | ext/misc/closure.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/misc/closure.c b/ext/misc/closure.c index 7b3d06492..1f2ba50ac 100644 --- a/ext/misc/closure.c +++ b/ext/misc/closure.c @@ -148,6 +148,8 @@ SQLITE_EXTENSION_INIT1 #include <stdio.h> #include <ctype.h> +#ifndef SQLITE_OMIT_VIRTUALTABLE + /* ** Forward declaration of objects used by this implementation */ @@ -923,6 +925,8 @@ static sqlite3_module closureModule = { 0 /* xRollbackTo */ }; +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + /* ** Register the closure virtual table */ @@ -937,6 +941,8 @@ int sqlite3_closure_init( int rc = SQLITE_OK; SQLITE_EXTENSION_INIT2(pApi); (void)pzErrMsg; +#ifndef SQLITE_OMIT_VIRTUALTABLE rc = sqlite3_create_module(db, "transitive_closure", &closureModule, 0); +#endif /* SQLITE_OMIT_VIRTUALTABLE */ return rc; } |