diff options
author | Jeff Ames | 2008-06-04 09:59:27 +0000 |
---|---|---|
committer | Jeff Ames | 2008-06-04 09:59:27 +0000 |
commit | 4ec4e16c809cf86a63b736d2b7b6ad7291595a5f (patch) | |
tree | cfa896ef9057228171e2ee39c4807060101ba90b /OpenSim/Data/MySQL/MySQLAssetData.cs | |
parent | * If a ThreadAbortException reaches AuthUser() then let it pass through unmol... (diff) | |
download | opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.zip opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.gz opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.bz2 opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.xz |
Formatting cleanup, minor refactoring, svn properties.
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLAssetData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLAssetData.cs | 10 |
1 files changed, 5 insertions, 5 deletions
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 | |||
120 | //m_log.Info("[ASSET DB]: Asset exists already, ignoring."); | 120 | //m_log.Info("[ASSET DB]: Asset exists already, ignoring."); |
121 | return; | 121 | return; |
122 | } | 122 | } |
123 | 123 | ||
124 | MySqlCommand cmd = | 124 | MySqlCommand cmd = |
125 | new MySqlCommand( | 125 | new MySqlCommand( |
126 | "REPLACE INTO assets(id, name, description, assetType, invType, local, temporary, data)" + | 126 | "REPLACE INTO assets(id, name, description, assetType, invType, local, temporary, data)" + |
@@ -164,7 +164,7 @@ namespace OpenSim.Data.MySQL | |||
164 | override public bool ExistsAsset(LLUUID uuid) | 164 | override public bool ExistsAsset(LLUUID uuid) |
165 | { | 165 | { |
166 | bool assetExists = false; | 166 | bool assetExists = false; |
167 | 167 | ||
168 | lock (_dbConnection) | 168 | lock (_dbConnection) |
169 | { | 169 | { |
170 | MySqlCommand cmd = | 170 | MySqlCommand cmd = |
@@ -182,7 +182,7 @@ namespace OpenSim.Data.MySQL | |||
182 | { | 182 | { |
183 | assetExists = true; | 183 | assetExists = true; |
184 | } | 184 | } |
185 | 185 | ||
186 | dbReader.Close(); | 186 | dbReader.Close(); |
187 | cmd.Dispose(); | 187 | cmd.Dispose(); |
188 | } | 188 | } |
@@ -195,8 +195,8 @@ namespace OpenSim.Data.MySQL | |||
195 | _dbConnection.Reconnect(); | 195 | _dbConnection.Reconnect(); |
196 | } | 196 | } |
197 | } | 197 | } |
198 | 198 | ||
199 | return assetExists; | 199 | return assetExists; |
200 | } | 200 | } |
201 | 201 | ||
202 | /// <summary> | 202 | /// <summary> |