From c85e2a0fb0702ad6fea544b0b3a01cf0a0580f5b Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 26 Nov 2008 17:42:35 +0000 Subject: * restore deleted method documentation, some to IRegionDataStore and some to MySQLRegionData * I would like to keep documentation on methods, even if it sometimes seems obvious (and not all of these are) --- OpenSim/Data/MySQL/MySQLRegionData.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'OpenSim/Data/MySQL') diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs index f64b142..992e84d 100644 --- a/OpenSim/Data/MySQL/MySQLRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLRegionData.cs @@ -307,7 +307,12 @@ namespace OpenSim.Data.MySQL ExecuteNonQuery(cmd); } } - + + /// + /// Remove all persisted items of the given prim. + /// The caller must acquire the necessrary synchronization locks and commit or rollback changes. + /// + /// the Item UUID private void RemoveItems(UUID uuid) { lock (m_Connection) @@ -403,6 +408,10 @@ namespace OpenSim.Data.MySQL return objects; } + /// + /// Load in a prim's persisted inventory. + /// + /// The prim private void LoadItems(SceneObjectPart prim) { lock (m_Connection) -- cgit v1.1