/ Check-in [e4acd982]
Login

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

Overview
Comment:Fix a typo on the OP_IdxInsert documentation. No code changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | unpacked-IdxInsert
Files: files | file ages | folders
SHA1: e4acd98207bf12b28f6c0f77896ba8f0b0a155d5
User & Date: drh 2016-11-09 01:19:25
Context
2016-11-09
01:38
Make use of the unpacked key on the OP_IdxInsert on sorters with a LIMIT. check-in: 42db7cd2 user: drh tags: unpacked-IdxInsert
01:19
Fix a typo on the OP_IdxInsert documentation. No code changes. check-in: e4acd982 user: drh tags: unpacked-IdxInsert
00:10
Enhance the OP_IdxInsert opcode to optionally accept unpacked key material. check-in: 89d958ab user: drh tags: unpacked-IdxInsert
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  5020   5020   /* Opcode: IdxInsert P1 P2 P3 P4 P5
  5021   5021   ** Synopsis: key=r[P2]
  5022   5022   **
  5023   5023   ** Register P2 holds an SQL index key made using the
  5024   5024   ** MakeRecord instructions.  This opcode writes that key
  5025   5025   ** into the index P1.  Data for the entry is nil.
  5026   5026   **
  5027         -** If P4 is not zero, the it is the number of values in the unpacked
         5027  +** If P4 is not zero, then it is the number of values in the unpacked
  5028   5028   ** key of reg(P2).  In that case, P3 is the index of the first register
  5029   5029   ** for the unpacked key.  The availability of the unpacked key can sometimes
  5030   5030   ** be an optimization.
  5031   5031   **
  5032   5032   ** If P5 has the OPFLAG_APPEND bit set, that is a hint to the b-tree layer
  5033   5033   ** that this insert is likely to be an append.
  5034   5034   **