* Storage Manager now initialises with a DB name equal to that of the region name, and DB file specified in the DataStore config item. Storage engines may ignore the DB name parameter.

* OnBackup event is now triggered using the Storage manager.
afrisby
Adam Frisby 2007-07-15 15:43:53 +00:00
parent 8fc1dfec79
commit 6d455f3b6c
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ namespace OpenSim
m_udpServer.Add(udpServer);
this.regionData.Add(regionDat);
StorageManager tmpStoreManager = new StorageManager("OpenSim.DataStore.NullStorage.dll", regionDat.DataStore, "base");
StorageManager tmpStoreManager = new StorageManager("OpenSim.DataStore.NullStorage.dll", regionDat.DataStore, regionDat.RegionName);
LocalWorld = new Scene(udpServer.PacketServer.ClientManager, regionDat, authenBase, commsManager, this.AssetCache, tmpStoreManager, httpServer);
this.m_localWorld.Add(LocalWorld);

View File

@ -246,7 +246,7 @@ namespace OpenSim.Region.Environment.Scenes
/// <returns></returns>
public bool Backup()
{
//eventManager.TriggerOnBackup(some engine);
EventManager.TriggerOnBackup(this.storageManager.DataStore);
return true;
}
#endregion