aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2024-07-03 18:56:56 +0000
committerdrh <>2024-07-03 18:56:56 +0000
commitc4c2589ff0b7b9cff2dd50b79a63b226717c4c5f (patch)
treed2333cc59a127efa3cbb53fa681a313af8ebcaf1 /src
parent6172e4355fed92aa2fba670acf0275922b449a39 (diff)
downloadsqlite-c4c2589ff0b7b9cff2dd50b79a63b226717c4c5f.tar.gz
sqlite-c4c2589ff0b7b9cff2dd50b79a63b226717c4c5f.zip
Add a new sqlite3FaultSim() call to OP_NotFound to use for testing purposes.
FossilOrigin-Name: 84fd275bfd8afada50d3a5ac491d2b866671f8f0d2496bd240cf4bfdd74e7399
Diffstat (limited to 'src')
-rw-r--r--src/vdbe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vdbe.c b/src/vdbe.c
index 28f12e054..4ece26d03 100644
--- a/src/vdbe.c
+++ b/src/vdbe.c
@@ -5308,6 +5308,7 @@ case OP_Found: { /* jump, in3, ncycle */
r.pKeyInfo = pC->pKeyInfo;
r.default_rc = 0;
#ifdef SQLITE_DEBUG
+ (void)sqlite3FaultSim(50); /* For use by --counter in TH3 */
for(ii=0; ii<r.nField; ii++){
assert( memIsValid(&r.aMem[ii]) );
assert( (r.aMem[ii].flags & MEM_Zero)==0 || r.aMem[ii].n==0 );