aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlarrybr <larrybr@noemail.net>2024-02-08 01:19:46 +0000
committerlarrybr <larrybr@noemail.net>2024-02-08 01:19:46 +0000
commit25e172d429e2f549b148024ef75470db871b93e3 (patch)
tree47f0f221ab3c6485d9bd1198d664ab25c0a80c2b /src
parent0f777cd622d19a5112a58ada3ff67af4c4af831d (diff)
downloadsqlite-25e172d429e2f549b148024ef75470db871b93e3.tar.gz
sqlite-25e172d429e2f549b148024ef75470db871b93e3.zip
Mention limited lifetime of string arrays passed to sqlite3_exec() callback.
FossilOrigin-Name: 717f67f3189a59842f5c17a25e8db0e24ec4405886fc22ab6eeb3954fba5a964
Diffstat (limited to 'src')
-rw-r--r--src/sqlite.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index 4a19fe918..ddd8fc693 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -420,6 +420,8 @@ typedef int (*sqlite3_callback)(void*,int,char**, char**);
** the 1st parameter to sqlite3_exec() while sqlite3_exec() is running.
** <li> The application must not modify the SQL statement text passed into
** the 2nd parameter of sqlite3_exec() while sqlite3_exec() is running.
+** <li> The application must not dereference the arrays or string pointers
+** passed as the 3rd and 4th parameters after the callback returns.
** </ul>
*/
int sqlite3_exec(