mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
in theory, let you pass the mysql connection string into the
mysql manager class. This could use some testing of inventory and asset services. Once this is prooved out, I'll do it for mssql as well.
This commit is contained in:
@@ -174,7 +174,13 @@ namespace OpenSim.Data.MySQL
|
||||
{
|
||||
// TODO: This will let you pass in the connect string in
|
||||
// the config, though someone will need to write that.
|
||||
Initialise();
|
||||
if (connect == String.Empty) {
|
||||
// This is old seperate config file
|
||||
Initialise();
|
||||
} else {
|
||||
_dbConnection = new MySQLManager(connect);
|
||||
TestTables();
|
||||
}
|
||||
}
|
||||
|
||||
override public void Initialise()
|
||||
|
||||
Reference in New Issue
Block a user