aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLAssetData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLAssetData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLAssetData.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs
index b6545d7..b4a9191 100644
--- a/OpenSim/Data/MySQL/MySQLAssetData.cs
+++ b/OpenSim/Data/MySQL/MySQLAssetData.cs
@@ -174,7 +174,13 @@ namespace OpenSim.Data.MySQL
174 { 174 {
175 // TODO: This will let you pass in the connect string in 175 // TODO: This will let you pass in the connect string in
176 // the config, though someone will need to write that. 176 // the config, though someone will need to write that.
177 Initialise(); 177 if (connect == String.Empty) {
178 // This is old seperate config file
179 Initialise();
180 } else {
181 _dbConnection = new MySQLManager(connect);
182 TestTables();
183 }
178 } 184 }
179 185
180 override public void Initialise() 186 override public void Initialise()