SQLite

Check-in [be24fbc221]
Login

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

Overview
Comment:More comment updates. No changes to code.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: be24fbc22106e508975e316abe0471edd3833291
User & Date: mistachkin 2014-02-07 03:28:02.783
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: ea4d23d1c0 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: 6fb7448550 user: drh tags: coroutine-refactor)
03:28
More comment updates. No changes to code. (check-in: be24fbc221 user: mistachkin tags: trunk)
02:29
Update comments in vdbe.c. No changes to code. (check-in: 1122b410de user: drh tags: trunk)
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to src/vdbe.c.
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497



4498
4499
4500
4501



4502
4503
4504
4505
4506
4507
4508
4488
4489
4490
4491
4492
4493
4494



4495
4496
4497
4498



4499
4500
4501
4502
4503
4504
4505
4506
4507
4508







-
-
-
+
+
+

-
-
-
+
+
+







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