The following select causes an assertion to fail in 3.7.4 when an authorizer 
callback has been registered:

asql> create temp table test(x text);
asql> select 1 as is_named from test where is_named=1;
sqlite3AuthRead: Assertion `pExpr->op==152 || pExpr->op==60' failed.

Of course the statement is silly, but it provides the smallest test case. 
Remove the from clause and everything is fine. Perhaps it has something to do 
with the name resolution ambiguity that was recently discussed?

Regards
Gunter


--------------------------------------------------------------------------
 Gunter Hick
Software Engineer
Scientific Games International GmbH
Klitschgasse 2 – 4, A - 1130 Vienna, Austria
FN 157284 a, HG Wien
Tel: +43 1 80100 0
E-Mail: h...@scigames.at

This e-mail is confidential and may well also be legally privileged. If you 
have received it in error, you are on notice as to its status and accordingly 
please notify us immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any person as to do so could be a breach of confidence. Thank you 
for your cooperation.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to