From 89c164fbc18e082bf2d036bd2167b824e90aebc1 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 28 May 2008 17:59:46 +0000 Subject: let Grid Servers specify a connect string in their configuration. --- OpenSim/Data/MSSQL/MSSQLGridData.cs | 3 ++- OpenSim/Data/MSSQL/MSSQLLogData.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data/MSSQL') diff --git a/OpenSim/Data/MSSQL/MSSQLGridData.cs b/OpenSim/Data/MSSQL/MSSQLGridData.cs index 0bdd460..d7adb84 100644 --- a/OpenSim/Data/MSSQL/MSSQLGridData.cs +++ b/OpenSim/Data/MSSQL/MSSQLGridData.cs @@ -53,8 +53,9 @@ namespace OpenSim.Data.MSSQL /// /// Initialises the Grid Interface /// - override public void Initialise() + override public void Initialise(string connect) { + // TODO: make the connect string actually do something IniFile iniFile = new IniFile("mssql_connection.ini"); string settingDataSource = iniFile.ParseFileReadValue("data_source"); diff --git a/OpenSim/Data/MSSQL/MSSQLLogData.cs b/OpenSim/Data/MSSQL/MSSQLLogData.cs index 2bb5839..c75290e 100644 --- a/OpenSim/Data/MSSQL/MSSQLLogData.cs +++ b/OpenSim/Data/MSSQL/MSSQLLogData.cs @@ -43,8 +43,9 @@ namespace OpenSim.Data.MSSQL /// /// Artificial constructor called when the plugin is loaded /// - public void Initialise() + public void Initialise(string connect) { + // TODO: do something with the connect string IniFile GridDataMySqlFile = new IniFile("mssql_connection.ini"); string settingDataSource = GridDataMySqlFile.ParseFileReadValue("data_source"); string settingInitialCatalog = GridDataMySqlFile.ParseFileReadValue("initial_catalog"); -- cgit v1.1