/ Check-in [e97e4578]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix typo in comment. Ticket #2870. (CVS 4672)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e97e4578671d85b634072b8931cf55516bbd4ca8
User & Date: danielk1977 2008-01-03 18:56:26
Context
2008-01-03
23:44
Change the sqlite3ExprCode() function so that callers can request that the result of the expression be left on the stack or in a register. (CVS 4673) check-in: 61bfb77c user: drh tags: trunk
18:56
Fix typo in comment. Ticket #2870. (CVS 4672) check-in: e97e4578 user: danielk1977 tags: trunk
18:44
Update OP_Rowid, OP_Column and related opcodes to use registers. (CVS 4671) check-in: 4f396707 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/vdbeaux.c.

444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
  assert( p==0 || p->magic==VDBE_MAGIC_INIT );
  if( p && addr>=0 && p->nOp>addr && p->aOp ){
    p->aOp[addr].p3 = val;
  }
}

/*
** Change the value of the P3 operand for a specific instruction.
*/
void sqlite3VdbeChangeP5(Vdbe *p, int addr, u8 val){
  assert( p==0 || p->magic==VDBE_MAGIC_INIT );
  if( p && addr>=0 && p->nOp>addr && p->aOp ){
    p->aOp[addr].p5 = val;
  }
}







|







444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
  assert( p==0 || p->magic==VDBE_MAGIC_INIT );
  if( p && addr>=0 && p->nOp>addr && p->aOp ){
    p->aOp[addr].p3 = val;
  }
}

/*
** Change the value of the P5 operand for a specific instruction.
*/
void sqlite3VdbeChangeP5(Vdbe *p, int addr, u8 val){
  assert( p==0 || p->magic==VDBE_MAGIC_INIT );
  if( p && addr>=0 && p->nOp>addr && p->aOp ){
    p->aOp[addr].p5 = val;
  }
}