* You can haz more spring cleaning.

* Eventually this codebase will be clean. >_>
This commit is contained in:
Adam Frisby
2008-05-08 05:35:01 +00:00
parent 872af8e04d
commit 4fa0cbdfbb
9 changed files with 25 additions and 102 deletions
+2 -8
View File
@@ -253,13 +253,7 @@ namespace OpenSim.Data.MySQL
lock (dbcon)
{
// Close the DB connection
try
{
dbcon.Close();
}
catch
{
}
dbcon.Close();
// Try to reopen it
try
@@ -269,7 +263,7 @@ namespace OpenSim.Data.MySQL
}
catch (Exception e)
{
m_log.Error("Unable to reconnect to database " + e.ToString());
m_log.Error("Unable to reconnect to database " + e);
}
// Run the query again