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.

This commit is contained in:
MW
2007-11-04 10:46:05 +00:00
parent 19fe9a0208
commit d34ee746e7

View File

@@ -96,6 +96,7 @@ namespace OpenSim.Grid.AssetServer
MainLog.Instance.Verbose("REST", "StoreAndCommitAsset {0}", asset.FullID);
m_assetProvider.CreateAsset(asset);
m_assetProvider.CommitAssets();
return new byte[] {};
}