aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parse.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parse.y b/src/parse.y
index aca3bfb1c..a29a98d0e 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -467,6 +467,7 @@ cmd ::= select(X). {
}
}
+%ifndef SQLITE_OMIT_CTE
select(A) ::= WITH wqlist(W) selectnowith(X). {
Select *p = X;
if( p ){
@@ -487,6 +488,7 @@ select(A) ::= WITH RECURSIVE wqlist(W) selectnowith(X). {
}
A = p;
}
+%endif /* SQLITE_OMIT_CTE */
select(A) ::= selectnowith(X). {
Select *p = X;
if( p ){