aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLManager.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Data/MySQL/MySQLManager.cs b/OpenSim/Data/MySQL/MySQLManager.cs
index c62cfa7..1f95aad 100644
--- a/OpenSim/Data/MySQL/MySQLManager.cs
+++ b/OpenSim/Data/MySQL/MySQLManager.cs
@@ -253,13 +253,7 @@ namespace OpenSim.Data.MySQL
253 lock (dbcon) 253 lock (dbcon)
254 { 254 {
255 // Close the DB connection 255 // Close the DB connection
256 try 256 dbcon.Close();
257 {
258 dbcon.Close();
259 }
260 catch
261 {
262 }
263 257
264 // Try to reopen it 258 // Try to reopen it
265 try 259 try
@@ -269,7 +263,7 @@ namespace OpenSim.Data.MySQL
269 } 263 }
270 catch (Exception e) 264 catch (Exception e)
271 { 265 {
272 m_log.Error("Unable to reconnect to database " + e.ToString()); 266 m_log.Error("Unable to reconnect to database " + e);
273 } 267 }
274 268
275 // Run the query again 269 // Run the query again