manually open the db connection. Mono does this automatically, .NET doesn't

ThreadPoolClientBranch
Sean Dague 2008-01-11 15:55:00 +00:00
parent 7f071dd193
commit 50ece51dbc
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ namespace OpenSim.Framework.Data.SQLite
// This sucks, but It doesn't seem to work with the dataset Syncing :P // This sucks, but It doesn't seem to work with the dataset Syncing :P
g_conn = conn; g_conn = conn;
g_conn.Open();
ds = new DataSet(); ds = new DataSet();
da = new SqliteDataAdapter(new SqliteCommand(userSelect, conn)); da = new SqliteDataAdapter(new SqliteCommand(userSelect, conn));