diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLAssetData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLAssetData.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index efcf59e..7e6289b 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs | |||
@@ -174,10 +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 | if (connect == String.Empty) { | 177 | if (connect == String.Empty) |
178 | { | ||
178 | // This is old seperate config file | 179 | // This is old seperate config file |
179 | Initialise(); | 180 | Initialise(); |
180 | } else { | 181 | } |
182 | else | ||
183 | { | ||
181 | _dbConnection = new MySQLManager(connect); | 184 | _dbConnection = new MySQLManager(connect); |
182 | TestTables(); | 185 | TestTables(); |
183 | } | 186 | } |