aboutsummaryrefslogtreecommitdiff
path: root/src/vdbe.h
diff options
context:
space:
mode:
authordrh <>2022-04-23 18:04:31 +0000
committerdrh <>2022-04-23 18:04:31 +0000
commitb77c31295687dd33cc4b8955d29cd0b26fbae6a3 (patch)
tree56c6af1134287988222adcf82b2ac652f1062fe9 /src/vdbe.h
parentd6bb6000eff360f76d736d13331816354d880c5f (diff)
downloadsqlite-b77c31295687dd33cc4b8955d29cd0b26fbae6a3.tar.gz
sqlite-b77c31295687dd33cc4b8955d29cd0b26fbae6a3.zip
For debug builds, if the RIGHT JOIN body subroutine contains a jump that
escapes the subroutine, then abort the prepared statement with a descriptive error and SQLITE_INTERNAL. This extra sanity check causes many tests to fail. FossilOrigin-Name: 2c5bb2bff26cc70d8cac78ddd12d5ac37ab1472f5f88afbd975950a18ac2804d
Diffstat (limited to 'src/vdbe.h')
-rw-r--r--src/vdbe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vdbe.h b/src/vdbe.h
index e251dd666..5909d3995 100644
--- a/src/vdbe.h
+++ b/src/vdbe.h
@@ -198,8 +198,10 @@ void sqlite3VdbeEndCoroutine(Vdbe*,int);
#endif
#if defined(SQLITE_DEBUG)
void sqlite3VdbeVerifyAbortable(Vdbe *p, int);
+ void sqlite3VdbeNoJumpsOutsideSubrtn(Vdbe*,int,int,int);
#else
# define sqlite3VdbeVerifyAbortable(A,B)
+# define sqlite3VdbeNoJumpsOutsideSubrtn(A,B,C,D)
#endif
VdbeOp *sqlite3VdbeAddOpList(Vdbe*, int nOp, VdbeOpList const *aOp,int iLineno);
#ifndef SQLITE_OMIT_EXPLAIN