[Mono-list] Sqlite bug ? Database file is locked

alexzhu imthezc at gmail.com
Fri Nov 30 10:06:13 UTC 2012


I'm developing a game with Sqlite(mono.data.sqlite) and WCF in Unity3D. But
they work *FINE* together at the first run, and at the second time, console
shows "SQLite Except: The database file is locked", Help!

Codes below*
LobbyServiceClient _client = new LobbyServiceClient(_binding,_endpoint);


try {
         if (_client.State!=CommunicationState.Faulted) {
}}catch (System.Exception ex) { _client.Abort(); }

string _sql ="Some Select Function";

SqliteHelper _db = new SqliteHelper("client.db");

       DataTable _dt=  _db.Q(_sql);

View this message in context: http://mono.1490590.n4.nabble.com/Sqlite-bug-Database-file-is-locked-tp4657595.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list