From: drh Date: Thu, 11 May 2017 12:27:21 +0000 (+0000) Subject: Improvements to the sqlite3_set_authorizer() documentation. X-Git-Tag: version-3.19.0~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee92eb80dbd0ee978c1ca33253a49e12ba7d3a3c;p=thirdparty%2Fsqlite.git Improvements to the sqlite3_set_authorizer() documentation. FossilOrigin-Name: 47629b1911e52445aad8ea969137bddf0019c55b4a4f0de8e77decb6a434c8a2 --- diff --git a/manifest b/manifest index 2ebdfee650..56f4080b37 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Change\sthe\sSQLITE_READ\sauthorization\scall\sfor\sunreferenced\stables\sto\suse\nan\sempty\sstring\sfor\sthe\scolumn\sname,\sas\sthis\sis\sless\slikely\sto\simpact\slegacy\nauthorization\scallbacks\sthat\sassume\scolumn\snames\sare\salways\snon-NULL. -D 2017-05-11T12:05:23.185 +C Improvements\sto\sthe\ssqlite3_set_authorizer()\sdocumentation. +D 2017-05-11T12:27:21.511 F Makefile.in 1cc758ce3374a32425e4d130c2fe7b026b20de5b8843243de75f087c0a2661fb F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.msc 6a8c838220f7c00820e1fc0ac1bccaaa8e5676067e1dbfa1bafa7a4ffecf8ae6 @@ -404,7 +404,7 @@ F src/resolve.c 3e518b962d932a997fae373366880fc028c75706 F src/rowset.c 7b7e7e479212e65b723bf40128c7b36dc5afdfac F src/select.c d74b1cde1d9ca6d08bec50b60a5be19440273646bc8ae16648d748c38161d5b7 F src/shell.c a37d96b20b3644d0eb905df5aa7a0fcf9f6e73c15898337230c760a24a8df794 -F src/sqlite.h.in a0b959830616ab1849f340285014610eed39562127ec847d9d00c6d75ce2dc2c +F src/sqlite.h.in f70c07c37d5ad7fc2dbe6f6be57253ed77b7aecf9adfe01a8490e26f7bdd8d3f F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8 F src/sqlite3ext.h 58fd0676d3111d02e62e5a35992a7d3da5d3f88753acc174f2d37b774fbbdd28 F src/sqliteInt.h aea3aa1b81e0d07d5b1c39b8c5a54a1dc5e4f10136cb63da392aef9eb2a5108b @@ -1579,7 +1579,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P 2be9850cef6492e168243807c34af72119ffbe414027a12c4eda6c421b5b950d -R cc2897f8815fc5891c267021967cf110 +P 4139953ab528f20fa346409810edcb22adb6c1edc9d22f40b1b077ef842a2441 +R 439d581bae700f41f9bd0f879ef19838 U drh -Z 1c34db1a72aa8aee36e8a2e6fd670e70 +Z 3b3b1bb649cf5fdc934ca94a70bf1f6d diff --git a/manifest.uuid b/manifest.uuid index a6263cfe0a..3423e7f9c4 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -4139953ab528f20fa346409810edcb22adb6c1edc9d22f40b1b077ef842a2441 \ No newline at end of file +47629b1911e52445aad8ea969137bddf0019c55b4a4f0de8e77decb6a434c8a2 \ No newline at end of file diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 74edcb56b5..eb108138b5 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