aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorBlueWall2014-07-21 12:42:16 -0400
committerBlueWall2014-07-21 12:46:26 -0400
commit4a9282e681f9b1a5410028b473af47d0896f81e6 (patch)
tree44a9b9cc0885a5779a499d7b075e36ecb05e4901 /OpenSim/Data/MySQL
parentFixed: after a Hypergrid teleport, attachments often either disappear, or app... (diff)
downloadopensim-SC_OLD-4a9282e681f9b1a5410028b473af47d0896f81e6.zip
opensim-SC_OLD-4a9282e681f9b1a5410028b473af47d0896f81e6.tar.gz
opensim-SC_OLD-4a9282e681f9b1a5410028b473af47d0896f81e6.tar.bz2
opensim-SC_OLD-4a9282e681f9b1a5410028b473af47d0896f81e6.tar.xz
Add missing parts to profiles - classified delete
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLUserProfilesData.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
index e301bbe..adb75d6 100644
--- a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
@@ -250,7 +250,7 @@ namespace OpenSim.Data.MySQL
250 string query = string.Empty; 250 string query = string.Empty;
251 251
252 query += "DELETE FROM classifieds WHERE "; 252 query += "DELETE FROM classifieds WHERE ";
253 query += "classifieduuid = ?ClasifiedId"; 253 query += "classifieduuid = ?recordId";
254 254
255 try 255 try
256 { 256 {
@@ -260,12 +260,8 @@ namespace OpenSim.Data.MySQL
260 260
261 using (MySqlCommand cmd = new MySqlCommand(query, dbcon)) 261 using (MySqlCommand cmd = new MySqlCommand(query, dbcon))
262 { 262 {
263 cmd.Parameters.AddWithValue("?ClassifiedId", recordId.ToString()); 263 cmd.Parameters.AddWithValue("?recordId", recordId.ToString());
264 264 cmd.ExecuteNonQuery();
265 lock(Lock)
266 {
267 cmd.ExecuteNonQuery();
268 }
269 } 265 }
270 } 266 }
271 } 267 }