aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-02-20 14:08:51 +0000
committerdrh <drh@noemail.net>2020-02-20 14:08:51 +0000
commit5f69512404cd2e5153ddf90ea277fbba6dd58ab7 (patch)
treecffd75508fd2a69550aad8c8a096a6478c1280e0 /src
parent1cfee74a2812b8f09e8b8ecf419a69b19de16b79 (diff)
downloadsqlite-5f69512404cd2e5153ddf90ea277fbba6dd58ab7.tar.gz
sqlite-5f69512404cd2e5153ddf90ea277fbba6dd58ab7.zip
Early-out on the INTERSECT query processing following an error.
FossilOrigin-Name: a67cf5b7d37d5b1484be32092635faafd8f76e5881898cd9435517c4b287d663
Diffstat (limited to 'src')
-rw-r--r--src/select.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/select.c b/src/select.c
index d03322fcb..0f38c806c 100644
--- a/src/select.c
+++ b/src/select.c
@@ -2806,6 +2806,7 @@ static int multiSelect(
/* Generate code to take the intersection of the two temporary
** tables.
*/
+ if( rc ) break;
assert( p->pEList );
iBreak = sqlite3VdbeMakeLabel(pParse);
iCont = sqlite3VdbeMakeLabel(pParse);