diff options
author | Justin Clarke Casey | 2008-01-11 18:44:53 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-11 18:44:53 +0000 |
commit | 82d7fb75227f30946e856aba3ec20e580532ebff (patch) | |
tree | da2e13ff63681e5280abe3ae244b3de8490d685f /OpenSim/Region/Environment/StorageManager.cs | |
parent | * Do database implementation for prim inventory items in mysql (diff) | |
download | opensim-SC_OLD-82d7fb75227f30946e856aba3ec20e580532ebff.zip opensim-SC_OLD-82d7fb75227f30946e856aba3ec20e580532ebff.tar.gz opensim-SC_OLD-82d7fb75227f30946e856aba3ec20e580532ebff.tar.bz2 opensim-SC_OLD-82d7fb75227f30946e856aba3ec20e580532ebff.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Region/Environment/StorageManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/StorageManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/StorageManager.cs b/OpenSim/Region/Environment/StorageManager.cs index 811e452..1c41373 100644 --- a/OpenSim/Region/Environment/StorageManager.cs +++ b/OpenSim/Region/Environment/StorageManager.cs | |||
@@ -47,7 +47,7 @@ namespace OpenSim.Region.Environment | |||
47 | m_dataStore = storage; | 47 | m_dataStore = storage; |
48 | } | 48 | } |
49 | 49 | ||
50 | public StorageManager(string dllName, string connectionstring) | 50 | public StorageManager(string dllName, string connectionstring, bool persistPrimInventories) |
51 | { | 51 | { |
52 | MainLog.Instance.Verbose("DATASTORE", "Attempting to load " + dllName); | 52 | MainLog.Instance.Verbose("DATASTORE", "Attempting to load " + dllName); |
53 | Assembly pluginAssembly = Assembly.LoadFrom(dllName); | 53 | Assembly pluginAssembly = Assembly.LoadFrom(dllName); |
@@ -62,7 +62,7 @@ namespace OpenSim.Region.Environment | |||
62 | { | 62 | { |
63 | IRegionDataStore plug = | 63 | IRegionDataStore plug = |
64 | (IRegionDataStore) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | 64 | (IRegionDataStore) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); |
65 | plug.Initialise(connectionstring, false); | 65 | plug.Initialise(connectionstring, persistPrimInventories); |
66 | 66 | ||
67 | m_dataStore = plug; | 67 | m_dataStore = plug; |
68 | 68 | ||