On 27 Oct 2014, at 8:43am, Stephan Beal <sgb...@googlemail.com> wrote:
> - a couple months back Simon suggested ATTACHing the db to itself so that > we can effectively alias "main" to the well-known name we have specified > for that db instance. It worked like a charm until Dave discovered this > weird locking behaviour. The suggestion I made originally was that sqlite3_open() should open a dummy database -- which doesn't need to contain any tables -- as 'main'. That way any attached database would never be 'main' too. However this solution was rejected in your case because introducing a new file into your project 'costs' a lot of work. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users