/ Check-in [368c14da]
Login

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

Overview
Comment:Improved VDBE comment on the OP_Param opcode. No substantial changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 368c14da868a843767344f6cc17c499fddd83244c0510337ed9a918e64ee2413
User & Date: drh 2018-04-26 12:27:03
Context
2018-04-26
15:04
Clarification of the behavior of a BEFORE UPDATE trigger when the trigger changes the values of some of the columns used to compute new columns in the UPDATE. check-in: 7bb23c2a user: drh tags: trunk
12:27
Improved VDBE comment on the OP_Param opcode. No substantial changes. check-in: 368c14da user: drh tags: trunk
08:56
Update the "fuzz_malloc.test" script to print SQL statements in which OOM handling problems are found to stdout. check-in: a956363c user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/expr.c.

  4045   4045   
  4046   4046         assert( pExpr->iTable==0 || pExpr->iTable==1 );
  4047   4047         assert( pExpr->iColumn>=-1 && pExpr->iColumn<pTab->nCol );
  4048   4048         assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey );
  4049   4049         assert( p1>=0 && p1<(pTab->nCol*2+2) );
  4050   4050   
  4051   4051         sqlite3VdbeAddOp2(v, OP_Param, p1, target);
  4052         -      VdbeComment((v, "%s.%s -> $%d",
         4052  +      VdbeComment((v, "r[%d]=%s.%s", target,
  4053   4053           (pExpr->iTable ? "new" : "old"),
  4054         -        (pExpr->iColumn<0 ? "rowid" : pExpr->pTab->aCol[pExpr->iColumn].zName),
  4055         -        target
         4054  +        (pExpr->iColumn<0 ? "rowid" : pExpr->pTab->aCol[pExpr->iColumn].zName)
  4056   4055         ));
  4057   4056   
  4058   4057   #ifndef SQLITE_OMIT_FLOATING_POINT
  4059   4058         /* If the column has REAL affinity, it may currently be stored as an
  4060   4059         ** integer. Use OP_RealAffinity to make sure it is really real.
  4061   4060         **
  4062   4061         ** EVIDENCE-OF: R-60985-57662 SQLite will convert the value back to