mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 11:25:39 +08:00
Formatting cleanup, minor refactoring, svn properties.
This commit is contained in:
@@ -120,7 +120,7 @@ namespace OpenSim.Data.MySQL
|
||||
//m_log.Info("[ASSET DB]: Asset exists already, ignoring.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
MySqlCommand cmd =
|
||||
new MySqlCommand(
|
||||
"REPLACE INTO assets(id, name, description, assetType, invType, local, temporary, data)" +
|
||||
@@ -164,7 +164,7 @@ namespace OpenSim.Data.MySQL
|
||||
override public bool ExistsAsset(LLUUID uuid)
|
||||
{
|
||||
bool assetExists = false;
|
||||
|
||||
|
||||
lock (_dbConnection)
|
||||
{
|
||||
MySqlCommand cmd =
|
||||
@@ -182,7 +182,7 @@ namespace OpenSim.Data.MySQL
|
||||
{
|
||||
assetExists = true;
|
||||
}
|
||||
|
||||
|
||||
dbReader.Close();
|
||||
cmd.Dispose();
|
||||
}
|
||||
@@ -195,8 +195,8 @@ namespace OpenSim.Data.MySQL
|
||||
_dbConnection.Reconnect();
|
||||
}
|
||||
}
|
||||
|
||||
return assetExists;
|
||||
|
||||
return assetExists;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user