Re: [sqlite] Impossible to "catch locked state" (SQLite 3.5.6 & TCL)

2008-03-08 Thread Zbigniew Baniewski
On Sun, Mar 09, 2008 at 01:41:24AM +, [EMAIL PROTECTED] wrote: > The error is not occurring until later, the first time you > try to access the database using the dbcomm object. Yes, right - opening itself isn't any access yet. -- pozdrawiam / regards

Re: [sqlite] Impossible to "catch locked state" (SQLite 3.5.6 & TCL)

2008-03-08 Thread drh
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- > >

[sqlite] Impossible to "catch locked state" (SQLite 3.5.6 & TCL)

2008-03-08 Thread Zbigniew Baniewski
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