mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user