Fix Lemon so that it actually works with -DYYSTACKDEPTH=0.

FossilOrigin-Name: a9be4c2d56d08fea2cd1aab20b19092a45ef7620
This commit is contained in:
drh
2016-05-27 04:10:47 +00:00
parent baf254aef9
commit 8dc8247eab
4 changed files with 32 additions and 20 deletions
+2
View File
@@ -571,6 +571,8 @@ ifcapable subquery&&compound {
# Overflow the lemon parser stack by providing an overly complex
# expression. Make sure that the overflow is detected and reported.
#
# This test fails when building with -DYYSTACKDEPTH=0
#
do_test misc5-7.1 {
execsql {CREATE TABLE t1(x)}
set sql "INSERT INTO t1 VALUES("