1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix the trace output of the OP_Function opcode to show the correct

register numbers.

FossilOrigin-Name: 064c283eee82c5053e84058a0e1908e468da6ce3
This commit is contained in:
drh
2010-04-07 14:32:11 +00:00
parent a21a64dd0c
commit ab5cd70ae5
3 changed files with 11 additions and 11 deletions

View File

@@ -1383,7 +1383,7 @@ case OP_Function: {
for(i=0; i<n; i++, pArg++){
apVal[i] = pArg;
sqlite3VdbeMemStoreType(pArg);
REGISTER_TRACE(pOp->p2, pArg);
REGISTER_TRACE(pOp->p2+i, pArg);
}
assert( pOp->p4type==P4_FUNCDEF || pOp->p4type==P4_VDBEFUNC );