/ Check-in [be24fbc2]
Login

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

Overview
Comment:More comment updates. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:be24fbc22106e508975e316abe0471edd3833291
User & Date: mistachkin 2014-02-07 03:28:02
Context
2014-02-07
19:26
In the TCL bindings, make sure Tcl_AppendResult() is always terminated by "(char*)0" and not just "0". check-in: ea4d23d1 user: drh tags: trunk
13:20
Add the OP_Undef and OP_IsUndef opcodes. With these, use the first register in the result register range as the flag to indicate EOF on an INSERT from a SELECT, rather than allocating a separate boolean register for that task. check-in: 6fb74485 user: drh tags: coroutine-refactor
03:28
More comment updates. No changes to code. check-in: be24fbc2 user: mistachkin tags: trunk
02:29
Update comments in vdbe.c. No changes to code. check-in: 1122b410 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to src/vdbe.c.

  4488   4488   ** Register P2 holds an SQL index key made using the
  4489   4489   ** MakeRecord instructions.  This opcode writes that key
  4490   4490   ** into the index P1.  Data for the entry is nil.
  4491   4491   **
  4492   4492   ** P3 is a flag that provides a hint to the b-tree layer that this
  4493   4493   ** insert is likely to be an append.
  4494   4494   **
  4495         -** If P5 contains bet OPFLAG_NCHANGE, then the change counter is
  4496         -** incremented by this instruction.  If OPFLAG_NCHANGE is clear, then
  4497         -** the change counter is unchanged.
         4495  +** If P5 has the OPFLAG_NCHANGE bit set, then the change counter is
         4496  +** incremented by this instruction.  If the OPFLAG_NCHANGE bit is clear,
         4497  +** then the change counter is unchanged.
  4498   4498   **
  4499         -** If P5 contains OPFLAG_USESEEKRESULT then the cursor must have just
  4500         -** done a seek to the spot where the new entry is to be inserted.  This
  4501         -** flag avoids doing an extra seek.
         4499  +** If P5 has the OPFLAG_USESEEKRESULT bit set, then the cursor must have
         4500  +** just done a seek to the spot where the new entry is to be inserted.
         4501  +** This flag avoids doing an extra seek.
  4502   4502   **
  4503   4503   ** This instruction only works for indices.  The equivalent instruction
  4504   4504   ** for tables is OP_Insert.
  4505   4505   */
  4506   4506   case OP_SorterInsert:       /* in2 */
  4507   4507   case OP_IdxInsert: {        /* in2 */
  4508   4508     VdbeCursor *pC;