This may be a bug in 3.7.1, or I may have been taking advantage of a flaw in 3.6.18:
HashBackup uses SQLite to store backup data in a meta data db and file data archive db. First I open the main database, then attach an archive database. When the archive gets full, I detach it, create a new archive db, and attach that. This all worked fine with 3.6.18. With 3.7.1, I get an error on the detach: OperationalError: database arc is locked The database is not opened in Exclusive mode, and a commit gets executed before the detach. What may be causing this - just a guess - is that there are selects open on the main database at the time of the detach, but the archive database is not referenced. Is this a bug in 3.7.1, or a correction to a flaw in 3.6.18? Thanks, Jim -- HashBackup: easy onsite and offsite Unix backup http://sites.google.com/site/hashbackup _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users