mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Add a new sqlite3FaultSim() call to OP_NotFound to use for testing purposes.
FossilOrigin-Name: 84fd275bfd8afada50d3a5ac491d2b866671f8f0d2496bd240cf4bfdd74e7399
This commit is contained in:
@ -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 );
|
||||
|
Reference in New Issue
Block a user