aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordan <dan@noemail.net>2018-11-16 14:36:42 +0000
committerdan <dan@noemail.net>2018-11-16 14:36:42 +0000
commitc86b23bfbc6e4371814a8653504f2d56e9fd85d9 (patch)
tree1a4a10e6d0d29b4dad0d6b855bd54d7566b05942 /src
parent32dcc847b5173d211bec344c89f8c535034a26fc (diff)
downloadsqlite-c86b23bfbc6e4371814a8653504f2d56e9fd85d9.tar.gz
sqlite-c86b23bfbc6e4371814a8653504f2d56e9fd85d9.zip
In order to avoid exporting a symbol, use a macro instead of a function to
replace sqlite3_complete() in the shell code when SQLITE_OMIT_COMPLETE is defined. FossilOrigin-Name: d584a0cb512815945ef06ee3b5ebadbf2a543b008487f6d098e1e8ab79f61d2d
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 177a948cb..45a793aa5 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -8065,7 +8065,7 @@ static int line_is_command_terminator(const char *zLine){
** user-friendly, but it does seem to work.
*/
#ifdef SQLITE_OMIT_COMPLETE
-int sqlite3_complete(const char *zSql){ return 1; }
+#define sqlite3_complete(x) 1
#endif
/*