aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-05-11 12:27:21 +0000
committerdrh <drh@noemail.net>2017-05-11 12:27:21 +0000
commitee92eb80dbd0ee978c1ca33253a49e12ba7d3a3c (patch)
tree91180d0d11db03b68669c456106e5484ca92311e /src
parent2336c935af3200ce80f266e07e12baa80a58ae9f (diff)
downloadsqlite-ee92eb80dbd0ee978c1ca33253a49e12ba7d3a3c.tar.gz
sqlite-ee92eb80dbd0ee978c1ca33253a49e12ba7d3a3c.zip
Improvements to the sqlite3_set_authorizer() documentation.
FossilOrigin-Name: 47629b1911e52445aad8ea969137bddf0019c55b4a4f0de8e77decb6a434c8a2
Diffstat (limited to 'src')
-rw-r--r--src/sqlite.h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index 74edcb56b..eb108138b 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -2701,8 +2701,10 @@ void sqlite3_randomness(int N, void *P);
** parameter to the sqlite3_set_authorizer() interface. ^The second parameter
** to the callback is an integer [SQLITE_COPY | action code] that specifies
** the particular action to be authorized. ^The third through sixth parameters
-** to the callback are zero-terminated strings that contain additional
-** details about the action to be authorized.
+** to the callback are either NULL pointers or zero-terminated strings
+** that contain additional details about the action to be authorized.
+** Applications must always be prepared to encounter a NULL pointer in any
+** of the third through the sixth parameters of the authorization callback.
**
** ^If the action code is [SQLITE_READ]
** and the callback returns [SQLITE_IGNORE] then the