diff options
author | Sean Dague | 2008-04-23 20:48:23 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-23 20:48:23 +0000 |
commit | 3dd98a112f4308532d768943690b13c403dff68b (patch) | |
tree | 6c33ceb05d8c431720ffca11be2d025a1782fc78 /OpenSim/Data/MSSQL | |
parent | changes to allow asset_source to be specified in the opensim.ini (diff) | |
download | opensim-SC_OLD-3dd98a112f4308532d768943690b13c403dff68b.zip opensim-SC_OLD-3dd98a112f4308532d768943690b13c403dff68b.tar.gz opensim-SC_OLD-3dd98a112f4308532d768943690b13c403dff68b.tar.bz2 opensim-SC_OLD-3dd98a112f4308532d768943690b13c403dff68b.tar.xz |
allow for Inventory database source to be specified in main
configs. This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
Diffstat (limited to 'OpenSim/Data/MSSQL')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLInventoryData.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs index 27f8b60..c524fc0 100644 --- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs +++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs | |||
@@ -51,6 +51,12 @@ namespace OpenSim.Data.MSSQL | |||
51 | /// <summary> | 51 | /// <summary> |
52 | /// Loads and initialises this database plugin | 52 | /// Loads and initialises this database plugin |
53 | /// </summary> | 53 | /// </summary> |
54 | public void Initialise(string connect) | ||
55 | { | ||
56 | // TODO: actually use the provided connect string | ||
57 | Initialise(); | ||
58 | } | ||
59 | |||
54 | public void Initialise() | 60 | public void Initialise() |
55 | { | 61 | { |
56 | IniFile GridDataMySqlFile = new IniFile("mssql_connection.ini"); | 62 | IniFile GridDataMySqlFile = new IniFile("mssql_connection.ini"); |