diff options
author | drh <drh@noemail.net> | 2017-07-11 13:59:07 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-07-11 13:59:07 +0000 |
commit | 56eb09bc23b3328e52908d18148cee189d642e64 (patch) | |
tree | 0c873b7bb51a87b48307f09424dfe4d0861d2122 /ext/misc/completion.c | |
parent | 2ce15c3f4c909028c17a9e43ef99c89cea11a1bc (diff) | |
download | sqlite-56eb09bc23b3328e52908d18148cee189d642e64.tar.gz sqlite-56eb09bc23b3328e52908d18148cee189d642e64.zip |
Add support for tab-completion (using the ext/misc/completion.c virtual table)
to the command-line shell.
FossilOrigin-Name: 95cd1d9f8baa6be305c9a8bfa26fef2a403f2d5b3b5c9c55382ec04f0bc98d40
Diffstat (limited to 'ext/misc/completion.c')
-rw-r--r-- | ext/misc/completion.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/misc/completion.c b/ext/misc/completion.c index a3189ad15..8dc5d7dba 100644 --- a/ext/misc/completion.c +++ b/ext/misc/completion.c @@ -33,10 +33,7 @@ ** faster than any human can type. ** */ -#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_COMPLETIONVTAB) -#if !defined(SQLITEINT_H) #include "sqlite3ext.h" -#endif SQLITE_EXTENSION_INIT1 #include <assert.h> #include <string.h> @@ -495,7 +492,6 @@ int sqlite3CompletionVtabInit(sqlite3 *db){ return rc; } -#ifndef SQLITE_CORE #ifdef _WIN32 __declspec(dllexport) #endif @@ -511,5 +507,3 @@ int sqlite3_completion_init( #endif return rc; } -#endif /* SQLITE_CORE */ -#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_COMPLETIONVTAB) */ |