aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLAssetData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLAssetData.cs10
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>