diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLInventoryData.cs | 8 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Data/MySQL/MySQLInventoryData.cs b/OpenSim/Data/MySQL/MySQLInventoryData.cs index d560c5f..f566fde 100644 --- a/OpenSim/Data/MySQL/MySQLInventoryData.cs +++ b/OpenSim/Data/MySQL/MySQLInventoryData.cs | |||
@@ -91,7 +91,7 @@ namespace OpenSim.Data.MySQL | |||
91 | rollbackStore = GridDataMySqlFile.ParseFileReadValue("rollback") == "true"; | 91 | rollbackStore = GridDataMySqlFile.ParseFileReadValue("rollback") == "true"; |
92 | opengridmode = GridDataMySqlFile.ParseFileReadValue("opengridmode") == "true"; | 92 | opengridmode = GridDataMySqlFile.ParseFileReadValue("opengridmode") == "true"; |
93 | 93 | ||
94 | if(rollbackStore) | 94 | if (rollbackStore) |
95 | m_log.Warn("[MysqlInventory] Enabling rollback mode in: " + rollbackDir); | 95 | m_log.Warn("[MysqlInventory] Enabling rollback mode in: " + rollbackDir); |
96 | 96 | ||
97 | database = | 97 | database = |
@@ -264,7 +264,7 @@ namespace OpenSim.Data.MySQL | |||
264 | { | 264 | { |
265 | database.Reconnect(); | 265 | database.Reconnect(); |
266 | m_log.Error(e.ToString()); | 266 | m_log.Error(e.ToString()); |
267 | return null; | 267 | throw; |
268 | } | 268 | } |
269 | } | 269 | } |
270 | 270 | ||
@@ -552,7 +552,7 @@ namespace OpenSim.Data.MySQL | |||
552 | 552 | ||
553 | private void StoreRollbackItem(UUID ItemID) | 553 | private void StoreRollbackItem(UUID ItemID) |
554 | { | 554 | { |
555 | if(rollbackStore == true) | 555 | if (rollbackStore == true) |
556 | { | 556 | { |
557 | string todaysPath = RollbackGetTodaysPath(); | 557 | string todaysPath = RollbackGetTodaysPath(); |
558 | 558 | ||
@@ -1008,7 +1008,7 @@ namespace OpenSim.Data.MySQL | |||
1008 | StoreRollbackFolder(f.ID); | 1008 | StoreRollbackFolder(f.ID); |
1009 | deleteOneFolder(f.ID); | 1009 | deleteOneFolder(f.ID); |
1010 | 1010 | ||
1011 | if(rollbackStore) | 1011 | if (rollbackStore) |
1012 | { | 1012 | { |
1013 | foreach (InventoryItemBase itemBase in getInventoryInFolder(f.ID)) | 1013 | foreach (InventoryItemBase itemBase in getInventoryInFolder(f.ID)) |
1014 | { | 1014 | { |
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index f76962c..676c6ba 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -577,6 +577,7 @@ namespace OpenSim.Data.Tests | |||
577 | .IgnoreProperty(x=>x.RegionUUID) | 577 | .IgnoreProperty(x=>x.RegionUUID) |
578 | .IgnoreProperty(x=>x.Scene) | 578 | .IgnoreProperty(x=>x.Scene) |
579 | .IgnoreProperty(x=>x.Children) | 579 | .IgnoreProperty(x=>x.Children) |
580 | .IgnoreProperty(x=>x.PassCollision) | ||
580 | .IgnoreProperty(x=>x.RootPart)); | 581 | .IgnoreProperty(x=>x.RootPart)); |
581 | } | 582 | } |
582 | 583 | ||