diff options
author | Melanie | 2010-01-03 21:43:39 +0000 |
---|---|---|
committer | Melanie | 2010-01-03 21:43:39 +0000 |
commit | 61ce884336f0cd20b7ecf85e9a6c8a54ad1f8d11 (patch) | |
tree | 7780b88dc26de91fe0b95a0a234a7f995adf5d22 /OpenSim/Data/MySQL/MySQLInventoryData.cs | |
parent | Add virtual method StateChange to ScriptBaseClass (diff) | |
parent | Cause llSetText to send prim updates. (diff) | |
download | opensim-SC-61ce884336f0cd20b7ecf85e9a6c8a54ad1f8d11.zip opensim-SC-61ce884336f0cd20b7ecf85e9a6c8a54ad1f8d11.tar.gz opensim-SC-61ce884336f0cd20b7ecf85e9a6c8a54ad1f8d11.tar.bz2 opensim-SC-61ce884336f0cd20b7ecf85e9a6c8a54ad1f8d11.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLInventoryData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLInventoryData.cs | 8 |
1 files changed, 4 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 | { |