Richard Hipp wrote:
> On 5/11/17, Clemens Ladisch <[email protected]> wrote:
>> Richard Hipp wrote:
>>> ** ^When a table is referenced by a [SELECT] but no column values are
>>> ** extracted from that table (for example in a query like
>>> ** "SELECT count(*) FROM tab") then the [SQLITE_READ] authorizer callback
>>> ** is invoked once for that table with a NULL column name.
>>
>> The documentation fails to mention that in this case, the authorizer
>> callback does not authorize anything, i.e., that its return value is
>> ignored.  (Assuming that this the desired behaviour ...)
>
> I don't understand what you are saying.  Can you give an example of
> the undocumented behavior?

Sorry, I overlooked that sqlite3AuthCheck records the error as a side effect.


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to