aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMW2007-11-04 10:46:05 +0000
committerMW2007-11-04 10:46:05 +0000
commitd34ee746e7a9853c3d7f971a7deee3407c620fc9 (patch)
tree701c90179a358147ce79a84c5947247a9f382930
parentDo I really have to write a log entry, can't I just hide this commit somewher... (diff)
downloadopensim-SC-d34ee746e7a9853c3d7f971a7deee3407c620fc9.zip
opensim-SC-d34ee746e7a9853c3d7f971a7deee3407c620fc9.tar.gz
opensim-SC-d34ee746e7a9853c3d7f971a7deee3407c620fc9.tar.bz2
opensim-SC-d34ee746e7a9853c3d7f971a7deee3407c620fc9.tar.xz
add a IAssetProvider.CommitAssets() call to the grid asset server, when a asset is uploaded to it. Don't think the MySql provider needs this call but the Sql provider does else the assets don't get written out to the database file.
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/AssetServer/RestService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Grid/AssetServer/RestService.cs b/OpenSim/Grid/AssetServer/RestService.cs
index b13d8ea..4ed1e67 100644
--- a/OpenSim/Grid/AssetServer/RestService.cs
+++ b/OpenSim/Grid/AssetServer/RestService.cs
@@ -96,6 +96,7 @@ namespace OpenSim.Grid.AssetServer
96 96
97 MainLog.Instance.Verbose("REST", "StoreAndCommitAsset {0}", asset.FullID); 97 MainLog.Instance.Verbose("REST", "StoreAndCommitAsset {0}", asset.FullID);
98 m_assetProvider.CreateAsset(asset); 98 m_assetProvider.CreateAsset(asset);
99 m_assetProvider.CommitAssets();
99 100
100 return new byte[] {}; 101 return new byte[] {};
101 } 102 }