mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* You can haz more spring cleaning.
* Eventually this codebase will be clean. >_>
This commit is contained in:
@@ -264,12 +264,7 @@ namespace OpenSim.Data.MSSQL
|
||||
regionprofile.regionUserURI = (string)reader["regionUserURI"];
|
||||
regionprofile.regionUserRecvKey = (string)reader["regionUserRecvKey"];
|
||||
regionprofile.regionUserSendKey = (string)reader["regionUserSendKey"];
|
||||
try
|
||||
{
|
||||
regionprofile.owner_uuid = new LLUUID((string)reader["owner_uuid"]);
|
||||
}
|
||||
catch(Exception)
|
||||
{}
|
||||
regionprofile.owner_uuid = new LLUUID((string) reader["owner_uuid"]);
|
||||
// World Map Addition
|
||||
string tempRegionMap = reader["regionMapTexture"].ToString();
|
||||
if (tempRegionMap != String.Empty)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user