1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-03 16:53:36 +03:00

More test coverage enhancements. (CVS 2600)

FossilOrigin-Name: 0b6cd5acc0ede3367623f40ccfaa96116e686824
This commit is contained in:
drh
2005-08-19 01:07:15 +00:00
parent 8b3d990b71
commit fc23314a0b
6 changed files with 57 additions and 27 deletions

View File

@@ -443,20 +443,6 @@ void sqlite3VdbeComment(Vdbe *p, const char *zFormat, ...){
}
#endif
/*
** Search the current program starting at instruction addr for the given
** opcode and P2 value. Return the address plus 1 if found and 0 if not
** found.
*/
int sqlite3VdbeFindOp(Vdbe *p, int addr, int op, int p2){
int i;
assert( p->magic==VDBE_MAGIC_INIT );
for(i=addr; i<p->nOp; i++){
if( p->aOp[i].opcode==op && p->aOp[i].p2==p2 ) return i+1;
}
return 0;
}
/*
** Return the opcode for a given address.
*/