aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorSean Dague2008-01-11 15:55:00 +0000
committerSean Dague2008-01-11 15:55:00 +0000
commit50ece51dbcf8405839ee03e03fc70d98b1f36f8b (patch)
tree406b335c722da77facf3d3837b8037d8ec76c047 /OpenSim/Framework
parentLog instead of crash (User login, getting friends list) (diff)
downloadopensim-SC_OLD-50ece51dbcf8405839ee03e03fc70d98b1f36f8b.zip
opensim-SC_OLD-50ece51dbcf8405839ee03e03fc70d98b1f36f8b.tar.gz
opensim-SC_OLD-50ece51dbcf8405839ee03e03fc70d98b1f36f8b.tar.bz2
opensim-SC_OLD-50ece51dbcf8405839ee03e03fc70d98b1f36f8b.tar.xz
manually open the db connection. Mono does this automatically, .NET doesn't
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteUserData.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
index d2dc804..c4a874f 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
@@ -64,6 +64,7 @@ namespace OpenSim.Framework.Data.SQLite
64 64
65 // This sucks, but It doesn't seem to work with the dataset Syncing :P 65 // This sucks, but It doesn't seem to work with the dataset Syncing :P
66 g_conn = conn; 66 g_conn = conn;
67 g_conn.Open();
67 68
68 ds = new DataSet(); 69 ds = new DataSet();
69 da = new SqliteDataAdapter(new SqliteCommand(userSelect, conn)); 70 da = new SqliteDataAdapter(new SqliteCommand(userSelect, conn));