Open the Sqlite DB file for exclusive access.  If it fails another user 
has it open.

Alexey Pechnikov wrote:
> Hello!
> 
> В сообщении от Thursday 21 August 2008 22:45:33 Doug Porter написал(а):
> 
>>Our software uses SQLite to save our data and we want to warn a user
>>who opens a file that is already opened by another user. I tried a
>>homebrewed approach (keep a table of open connections manually), but
>>ran into a couple places where that won't work.
> 
> 
> You can create array for all connections and populate it by your application.
> 
> Best regards, Alexey.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

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

Reply via email to