mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Exprimental prim inventory persistence can now be enabled by users.
* This can be turned on by setting storage_prim_inventories_experimental = True in OpenSim.ini * Implemented for sqlite and MySQL, no MSSQL implementation yet * As an experimental feature, there is no guarantee that this won't take down your region or that the db representation won't need to change. * More (and continuing) details at http://opensimulator.org/wiki/OpenSim:Prim_Inventory_Persistence
This commit is contained in:
@@ -47,7 +47,7 @@ namespace OpenSim.Region.Environment
|
||||
m_dataStore = storage;
|
||||
}
|
||||
|
||||
public StorageManager(string dllName, string connectionstring)
|
||||
public StorageManager(string dllName, string connectionstring, bool persistPrimInventories)
|
||||
{
|
||||
MainLog.Instance.Verbose("DATASTORE", "Attempting to load " + dllName);
|
||||
Assembly pluginAssembly = Assembly.LoadFrom(dllName);
|
||||
@@ -62,7 +62,7 @@ namespace OpenSim.Region.Environment
|
||||
{
|
||||
IRegionDataStore plug =
|
||||
(IRegionDataStore) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
|
||||
plug.Initialise(connectionstring, false);
|
||||
plug.Initialise(connectionstring, persistPrimInventories);
|
||||
|
||||
m_dataStore = plug;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user