Zbigniew Baniewski <[EMAIL PROTECTED]> wrote:
> I'm afraid, I've discovered a bug: there's no possibility to "catch" the
> error "database is locked". Even, when one's trying something like:
> 
> #v+
>   if { [catch {sqlite3 dbcomm $fullPathToDatabaseFile} err] } {
>     puts $err
>   }
> #v-
> 
> There'll be no $err output, because - as it seems - "catch" won't return
> a value > 0. There'll be following lines printed on the console instead:
> 
>   database is locked
>   while evaluating {source ./main.tcl}
> 

The error is not occurring until later, the first time you
try to access the database using the dbcomm object.

--
D. Richard Hipp <[EMAIL PROTECTED]>

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

Reply via email to