Given:

> ./testfixture
% sqlite3 -has_codec
Error: wrong # args: should be "sqlite3 HANDLE FILENAME ?-vfs VFSNAME?
?-readonly BOOLEAN? ?-create BOOLEAN? ?-nomutex BOOLEAN? ?-fullmutex
BOOLEAN?"

% sqlite3 -has-codec
0

and:

src/tclsqlite.c:    if( strcmp(zArg,"-has-codec")==0 ){

are the instances of

"if {[catch {sqlite3 -has_codec} r]...}"

in alter2.test, alter3.test, alter4.test and ioerr.test correct or
should they be replaced with

"if {[catch {sqlite3 -has-codec} r] || $r} {"?

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

Reply via email to