From 4ec4e16c809cf86a63b736d2b7b6ad7291595a5f Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 4 Jun 2008 09:59:27 +0000 Subject: Formatting cleanup, minor refactoring, svn properties. --- OpenSim/Data/MySQL/MySQLAssetData.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Data/MySQL/MySQLAssetData.cs') diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index 7ebc806..a2215ef 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs @@ -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; } /// -- cgit v1.1