diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserData.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs index bca5401..aa7a849 100644 --- a/OpenSim/Data/SQLite/SQLiteUserData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserData.cs | |||
@@ -64,9 +64,13 @@ namespace OpenSim.Data.SQLite | |||
64 | private SqliteDataAdapter daf; | 64 | private SqliteDataAdapter daf; |
65 | SqliteConnection g_conn; | 65 | SqliteConnection g_conn; |
66 | 66 | ||
67 | override public void Initialise() | 67 | override public void Initialise(string connect) |
68 | { | 68 | { |
69 | SqliteConnection conn = new SqliteConnection("URI=file:userprofiles.db,version=3"); | 69 | // default to something sensible |
70 | if (connect == "") | ||
71 | connect = "URI=file:userprofiles.db,version=3"; | ||
72 | |||
73 | SqliteConnection conn = new SqliteConnection(connect); | ||
70 | TestTables(conn); | 74 | TestTables(conn); |
71 | 75 | ||
72 | // This sucks, but It doesn't seem to work with the dataset Syncing :P | 76 | // This sucks, but It doesn't seem to work with the dataset Syncing :P |