aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-07-03 21:18:07 +0000
committerdrh <drh@noemail.net>2020-07-03 21:18:07 +0000
commit27ee29f68c232cc9b5df0803d01a323e8abf1cb9 (patch)
treea600275a46f47c3c85f366188eec322286775ebd /src
parent5f0d37b57e692353a8412454c02572f3177753f7 (diff)
downloadsqlite-27ee29f68c232cc9b5df0803d01a323e8abf1cb9.tar.gz
sqlite-27ee29f68c232cc9b5df0803d01a323e8abf1cb9.zip
Fix a compiler warning about an unused procedure in the parser.
FossilOrigin-Name: b27bb4fe389e12472a6144441df2dca6a7393024f2621fd22dd1a2b4033c46ec
Diffstat (limited to 'src')
-rw-r--r--src/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index 39131dc36..ceea34c3c 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -111,7 +111,8 @@ static void disableLookaside(Parse *pParse){
DisableLookaside;
}
-#ifndef SQLITE_ENABLE_UPDATE_DELETE_LIMIT
+#if !defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) \
+ && defined(SQLITE_UDL_CAPABLE_PARSER)
/*
** Issue an error message if an ORDER BY or LIMIT clause occurs on an
** UPDATE or DELETE statement.