aboutsummaryrefslogtreecommitdiff
path: root/src/vdbe.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-02-01 17:38:24 +0000
committerdrh <drh@noemail.net>2020-02-01 17:38:24 +0000
commitd7b10d74e1d69cefc81d251a76c0d30d2cf889e2 (patch)
tree2c38ed3e40d7b155d821fbff854efb743359137d /src/vdbe.c
parent745befd13f5d33109b0bedffede2c51f198fd478 (diff)
downloadsqlite-d7b10d74e1d69cefc81d251a76c0d30d2cf889e2.tar.gz
sqlite-d7b10d74e1d69cefc81d251a76c0d30d2cf889e2.zip
Fix the comment display for the OP_Function opcode. And at the same time,
improve the comment generating logic to make use of the newer sqlite3_str_appendf() interface. FossilOrigin-Name: 4248980a356f659b10b12c778592996d53c91fae4ea50c8566678da176bdd152
Diffstat (limited to 'src/vdbe.c')
-rw-r--r--src/vdbe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdbe.c b/src/vdbe.c
index b9d2d1250..3347249e4 100644
--- a/src/vdbe.c
+++ b/src/vdbe.c
@@ -7574,7 +7574,7 @@ case OP_MaxPgcnt: { /* out2 */
#endif
/* Opcode: Function P1 P2 P3 P4 *
-** Synopsis: r[P3]=func(r[P2@P5])
+** Synopsis: r[P3]=func(r[P2@NP])
**
** Invoke a user function (P4 is a pointer to an sqlite3_context object that
** contains a pointer to the function to be run) with arguments taken
@@ -7593,7 +7593,7 @@ case OP_MaxPgcnt: { /* out2 */
** See also: AggStep, AggFinal, PureFunc
*/
/* Opcode: PureFunc P1 P2 P3 P4 *
-** Synopsis: r[P3]=func(r[P2@P5])
+** Synopsis: r[P3]=func(r[P2@NP])
**
** Invoke a user function (P4 is a pointer to an sqlite3_context object that
** contains a pointer to the function to be run) with arguments taken