From 8fd3688e01f5839120d7477ca94e013f5809edcf Mon Sep 17 00:00:00 2001 From: Ondrej Dubaj Date: Tue, 24 Mar 2020 11:33:04 +0100 Subject: [PATCH] Do not attempt to unwind the WITH stack in the Parse object following an error. --- src/select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/select.c b/src/select.c index 0205a08..bbd13a4 100644 --- a/src/select.c +++ b/src/select.c @@ -4910,7 +4910,7 @@ static int selectExpander(Walker *pWalker, Select *p){ /* Process NATURAL keywords, and ON and USING clauses of joins. */ - if( db->mallocFailed || sqliteProcessJoin(pParse, p) ){ + if( pParse->nErr || db->mallocFailed || sqliteProcessJoin(pParse, p) ){ return WRC_Abort; } -- 2.24.1