aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/remember.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-07-13 19:11:13 +0000
committerdrh <drh@noemail.net>2017-07-13 19:11:13 +0000
commitc9407508b191e602507ccfb086fdcee044e4538b (patch)
tree79407928b06526c26b5252019ad85d8da34651a0 /ext/misc/remember.c
parent96b10030e9b990f14a05f30c54e26fb7f84d3b64 (diff)
downloadsqlite-c9407508b191e602507ccfb086fdcee044e4538b.tar.gz
sqlite-c9407508b191e602507ccfb086fdcee044e4538b.zip
Update header comments on the carray() and remember() extensions to bring
out the fact that the pointer arguments must be bound using sqlite3_bind_pointer(). FossilOrigin-Name: 55f5396576d186f310cb0fa66fbdb8ea68c18a3d0fe5de4b395ea03c7aa04c9e
Diffstat (limited to 'ext/misc/remember.c')
-rw-r--r--ext/misc/remember.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/misc/remember.c b/ext/misc/remember.c
index 587d44a12..0306b1891 100644
--- a/ext/misc/remember.c
+++ b/ext/misc/remember.c
@@ -21,8 +21,8 @@
** UPDATE counterTab SET cnt=remember(cnt,$PTR)+1 WHERE id=$ID
**
** Prepare the above statement once. Then to use it, bind the address
-** of the output variable to $PTR and the id of the counter to $ID and
-** run the prepared statement.
+** of the output variable to $PTR (using sqlite3_binary_pointer()) and
+** bind the id of the counter to $ID and run the prepared statement.
**
** One can imagine doing similar things with floating-point values and
** strings, but this demonstration extension will stick to using just