mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-18 10:21:03 +03:00
Coverage testing of the OP_SeekScan opcode. Fix a problem that comes up when
OP_SeekScan reaches the end of the table. FossilOrigin-Name: 9e57e758a6a33f54d28a546b4eebfb5cfacef30dc4e0207e43bb9d2c06fc3439
This commit is contained in:
@@ -1807,7 +1807,7 @@ Bitmask sqlite3WhereCodeOneLoopStart(
|
||||
if( (pLoop->wsFlags & WHERE_IN_SEEKSCAN)!=0 ){
|
||||
assert( op==OP_SeekGE );
|
||||
assert( regBignull==0 );
|
||||
sqlite3VdbeAddOp1(v, OP_SeekScan, 10);
|
||||
sqlite3VdbeAddOp1(v, OP_SeekScan, 10); VdbeCoverage(v);
|
||||
}
|
||||
sqlite3VdbeAddOp4Int(v, op, iIdxCur, addrNxt, regBase, nConstraint);
|
||||
VdbeCoverage(v);
|
||||
|
||||
Reference in New Issue
Block a user