On Window 7 with tcl/tk 8.6.6 and SQLite 3.13.0
The following tcl script craches :
package require sqlite3
sqlite3 db1 dbfile1
db1 eval "SELECT A FROM TableA" {
db1 eval "ATTACH DATABASE dbfile2 AS 'dbfile2'"
db1 eval "SELECT B FROM dbfile2.TableB"
db1 eval "DETACH DATABASE dbfile2"
}
Error message :
database dbfile2 is locked
while executing
"db1 eval "DETACH DATABASE dbfile2""
Please, if anyone could explain to me what's wrong.
Thanks
Jean-Baptiste
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users