1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-02 05:54:29 +03:00

Small size and performance optimization to sqlite3VdbeChangeP5().

FossilOrigin-Name: 3c93c8f5bbf54ed2a331079b28fdd94eb0e59e69
This commit is contained in:
drh
2016-09-29 20:28:34 +00:00
parent 2831c4d123
commit dd3bfe8648
3 changed files with 9 additions and 8 deletions

View File

@@ -764,7 +764,8 @@ void sqlite3VdbeChangeP3(Vdbe *p, u32 addr, int val){
sqlite3VdbeGetOp(p,addr)->p3 = val;
}
void sqlite3VdbeChangeP5(Vdbe *p, u8 p5){
if( !p->db->mallocFailed ) p->aOp[p->nOp-1].p5 = p5;
assert( p->nOp>0 || p->db->mallocFailed );
if( p->nOp>0 ) p->aOp[p->nOp-1].p5 = p5;
}
/*