Add documentation for the OP_SorterInsert opcode, formerly omitted by mistake.

No changes to code.

FossilOrigin-Name: 16d88a907730e3773a1320dbaf1f82c2bc71d71f
This commit is contained in:
drh 2016-10-15 18:37:05 +00:00
parent 1cb3c7c415
commit f013e20c66
3 changed files with 15 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C Add\stest\scase\sto\shook.test.\sNo\schanges\sto\snon-test\scode.
D 2016-10-15T08:56:18.631
C Add\sdocumentation\sfor\sthe\sOP_SorterInsert\sopcode,\sformerly\somitted\sby\smistake.\nNo\schanges\sto\scode.
D 2016-10-15T18:37:05.801
F Makefile.in 6fd48ffcf7c2deea7499062d1f3747f986c19678
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc 5151cc64c4c05f3455f4f692ad11410a810d937f
@ -453,7 +453,7 @@ F src/update.c 8179e699dbd45b92934fd02d3d8e3732e8da8802
F src/utf.c 699001c79f28e48e9bcdf8a463da029ea660540c
F src/util.c 3e2da6101888d073e79ecc6af5e0a2f70fa1e498
F src/vacuum.c 913970b9d86dd6c2b8063ef1af421880f1464ec3
F src/vdbe.c f43aa96f2efe9bc8a06d17115661af527a3318fa
F src/vdbe.c ad4b4df4885067cd82ec025e5ff0d3eb02e84d4d
F src/vdbe.h c044be7050ac6bf596eecc6ab159f5dbc020a3b7
F src/vdbeInt.h 0a18713d0a2fec6807d076bd333d9bf3e57530cd
F src/vdbeapi.c 8272f9342c39ab8d7eb4b9decc6caa7bc75b7d83
@ -1525,7 +1525,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 16039be3739b8d3b34a1e6093eaebb09e07f984b
R 166049b4e9b829af91339e72272b5c27
U dan
Z 7906df778321c686ecad94fabe527fa9
P 2674d779f5453ea6b709a39618d4b8017ab2e3fb
R 62ebfcb1750081baeac9df5e0126f18d
U drh
Z 3a945c0067277a9ffe4be7b7ce64faea

View File

@ -1 +1 @@
2674d779f5453ea6b709a39618d4b8017ab2e3fb
16d88a907730e3773a1320dbaf1f82c2bc71d71f

View File

@ -5038,6 +5038,13 @@ next_tail:
** This instruction only works for indices. The equivalent instruction
** for tables is OP_Insert.
*/
/* Opcode: SorterInsert P1 P2 * * *
** Synopsis: key=r[P2]
**
** Register P2 holds an SQL index key made using the
** MakeRecord instructions. This opcode writes that key
** into the sorter P1. Data for the entry is nil.
*/
case OP_SorterInsert: /* in2 */
case OP_IdxInsert: { /* in2 */
VdbeCursor *pC;