diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLRegionData.cs | 11 |
1 files changed, 10 insertions, 1 deletions
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 | |||
307 | ExecuteNonQuery(cmd); | 307 | ExecuteNonQuery(cmd); |
308 | } | 308 | } |
309 | } | 309 | } |
310 | 310 | ||
311 | /// <summary> | ||
312 | /// Remove all persisted items of the given prim. | ||
313 | /// The caller must acquire the necessrary synchronization locks and commit or rollback changes. | ||
314 | /// </summary> | ||
315 | /// <param name="uuid">the Item UUID</param> | ||
311 | private void RemoveItems(UUID uuid) | 316 | private void RemoveItems(UUID uuid) |
312 | { | 317 | { |
313 | lock (m_Connection) | 318 | lock (m_Connection) |
@@ -403,6 +408,10 @@ namespace OpenSim.Data.MySQL | |||
403 | return objects; | 408 | return objects; |
404 | } | 409 | } |
405 | 410 | ||
411 | /// <summary> | ||
412 | /// Load in a prim's persisted inventory. | ||
413 | /// </summary> | ||
414 | /// <param name="prim">The prim</param> | ||
406 | private void LoadItems(SceneObjectPart prim) | 415 | private void LoadItems(SceneObjectPart prim) |
407 | { | 416 | { |
408 | lock (m_Connection) | 417 | lock (m_Connection) |