* 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:
Justin Clarke Casey
2008-01-11 18:44:53 +00:00
parent 48be04df1d
commit 82d7fb7522
5 changed files with 16 additions and 8 deletions

View File

@@ -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;