1
0
mirror of https://github.com/sqlite/sqlite.git synced 2026-10-23 21:49:02 +03:00

Update the authorizer action code documentation to make it clear that

string arguments to the authorizer callback can be in an arbitrary case.

FossilOrigin-Name: 6f73383647fdf579dca72e15cc8a9627be72fd524e8e843e7d62dfc9253e20d2
This commit is contained in:
drh
2026-08-31 20:43:10 +00:00
parent 99b322eca9
commit 2fed9802b0
3 changed files with 13 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
C Fix\san\sSQLITE_CORRUPT\serror\sthat\scould\soccur\swith\san\sincremental\svacuum\sdatabase\sif\smany\stables\swere\screated\sand\sdropped\swithin\sa\ssingle\swal-mode\stransaction.
D 2026-08-31T18:15:11.986
C Update\sthe\sauthorizer\saction\scode\sdocumentation\sto\smake\sit\sclear\sthat\nstring\sarguments\sto\sthe\sauthorizer\scallback\scan\sbe\sin\san\sarbitrary\scase.
D 2026-08-31T20:43:10.952
F .fossil-settings/binary-glob 61195414528fb3ea9693577e1980230d78a1f8b0a54c78cf1b9b24d0a409ed6a x
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
@@ -745,7 +745,7 @@ F src/resolve.c 0e0990f60c93db38c735d85e5d1741130e72dd0670aec204b5a39118b53c8044
F src/rowset.c 8432130e6c344b3401a8874c3cb49fefe6873fec593294de077afea2dce5ec97
F src/select.c b892e51e401fc0ba5b9943a3b91d0306113491f1755d65e824e087b663597962
F src/shell.c.in 0489afff97ae362c2d2bfa463387ad5625481a3d1561f5ce5871179130bf92e1
F src/sqlite.h.in efc3f7aa00a2bb01c087435e6fa5f86103e310e6c3ea072b12cc110cf2715a75
F src/sqlite.h.in 5941ea0c99996ecc54ff02835e89d12fd6195fa92b285f73b55a55fdcd90efe9
F src/sqlite3.rc 015537e6ac1eec6c7050e17b616c2ffe6f70fca241835a84a4f0d5937383c479
F src/sqlite3ext.h 0efd4723bad9124ea1f581d9f1ea0254ac1c6f3e5fb29e4f3dcf36c72485a456
F src/sqliteInt.h 17bd8fbcc55552f20e87913a07ca793a0091fb5cc5aa5da4f68e6d87491f5923
@@ -2219,8 +2219,8 @@ F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee
F tool/warnings.sh a554d13f6e5cf3760f041b87939e3d616ec6961859c3245e8ef701d1eafc2ca2
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
F tool/winmain.c 00c8fb88e365c9017db14c73d3c78af62194d9644feaf60e220ab0f411f3604c
P 40530cf21d1a0ad5e7e0a1023857de8c3a87a7177eba7d526cbfd08af3c80eab
R d5cad551c398f1d191383d69fb18d8be
U dan
Z abd91bd642bd4ff4e646134474a16255
P f847298c8d4240711e4e12f256941dcf3d5978c53da3a6836cdc675c3468c179
R 373bddd18efa54afe3106e82a0edad15
U drh
Z 30181c6e695384240d7949342b7d2c20
# Remove this line to create a well-formed Fossil manifest.

View File

@@ -1 +1 @@
f847298c8d4240711e4e12f256941dcf3d5978c53da3a6836cdc675c3468c179
6f73383647fdf579dca72e15cc8a9627be72fd524e8e843e7d62dfc9253e20d2

View File

@@ -3523,6 +3523,11 @@ int sqlite3_set_authorizer(
** is the name of the inner-most trigger or view that is responsible for
** the access attempt or NULL if this access attempt is directly from
** top-level SQL code.
**
** The case of strings in the 3rd through the 6th argument to the
** authorization callback is arbitrary. Authorization callbacks
** implementations should use [sqlite3_stricmp()] or similar when
** doing comparisons against those values.
*/
/******************************************* 3rd ************ 4th ***********/
#define SQLITE_CREATE_INDEX 1 /* Index Name Table Name */