Re: [sqlite] BUG Report -- schema.test does not check for authorization in build

2009-12-31 Thread Shane Harrelson
Thanks for the reports on the TCL test cases.  I think
http://www.sqlite.org/src/vinfo/97f8a886b6 should correct everything you
reported.

On Tue, Dec 29, 2009 at 1:02 PM, Noah Hart  wrote:

> Test schema-13.1 fails with
> Error: {authorization not available in this build}
>
> Test needs to be bracket with
> ifcapable auth {
>
> do_test schema-13.1 {
>  set S [sqlite3_prepare_v2 db "SELECT * FROM sqlite_master" -1 dummy]
>  db function hello hello
>  db function hello {}
>  db auth auth
>
>
> db auth fails because tclsqlite.c has
>
> #ifdef SQLITE_OMIT_AUTHORIZATION
>Tcl_AppendResult(interp, "authorization not available in this
> build", 0);
>return TCL_ERROR;
> #else
>
>
>
> Regards,
>
> Noah Hart
>
>
>
> CONFIDENTIALITY NOTICE:
> This message may contain confidential and/or privileged information. If you
> are not the addressee or authorized to receive this for the addressee, you
> must not use, copy, disclose, or take any action based on this message or
> any information herein. If you have received this message in error, please
> advise the sender immediately by reply e-mail and delete this message. Thank
> you for your cooperation.
>
>
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] BUG Report -- schema.test does not check for authorization in build

2009-12-29 Thread Noah Hart
Test schema-13.1 fails with 
Error: {authorization not available in this build} 

Test needs to be bracket with
ifcapable auth {

do_test schema-13.1 {
  set S [sqlite3_prepare_v2 db "SELECT * FROM sqlite_master" -1 dummy]
  db function hello hello
  db function hello {}
  db auth auth


db auth fails because tclsqlite.c has

#ifdef SQLITE_OMIT_AUTHORIZATION
Tcl_AppendResult(interp, "authorization not available in this
build", 0);
return TCL_ERROR;
#else



Regards,

Noah Hart



CONFIDENTIALITY NOTICE: 
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.


___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users