aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLManager.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLManager.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/MySQL/MySQLManager.cs b/OpenSim/Data/MySQL/MySQLManager.cs
index b857aad..c9a0498 100644
--- a/OpenSim/Data/MySQL/MySQLManager.cs
+++ b/OpenSim/Data/MySQL/MySQLManager.cs
@@ -668,7 +668,7 @@ namespace OpenSim.Data.MySQL
668 while (r.Read()) 668 while (r.Read())
669 { 669 {
670 int attachpoint = Convert.ToInt32(r["attachpoint"]); 670 int attachpoint = Convert.ToInt32(r["attachpoint"]);
671 if(ret.ContainsKey(attachpoint)) 671 if (ret.ContainsKey(attachpoint))
672 continue; 672 continue;
673 Hashtable item = new Hashtable(); 673 Hashtable item = new Hashtable();
674 item.Add("item", r["item"].ToString()); 674 item.Add("item", r["item"].ToString());
@@ -676,7 +676,7 @@ namespace OpenSim.Data.MySQL
676 676
677 ret.Add(attachpoint, item); 677 ret.Add(attachpoint, item);
678 } 678 }
679 679
680 r.Close(); 680 r.Close();
681 681
682 return ret; 682 return ret;
@@ -1205,7 +1205,7 @@ namespace OpenSim.Data.MySQL
1205 MySqlCommand cmd = (MySqlCommand) dbcon.CreateCommand(); 1205 MySqlCommand cmd = (MySqlCommand) dbcon.CreateCommand();
1206 cmd.CommandText = sql; 1206 cmd.CommandText = sql;
1207 cmd.Parameters.AddWithValue("?uuid", agentID.ToString()); 1207 cmd.Parameters.AddWithValue("?uuid", agentID.ToString());
1208 1208
1209 cmd.ExecuteNonQuery(); 1209 cmd.ExecuteNonQuery();
1210 1210
1211 if (data == null) 1211 if (data == null)
@@ -1216,7 +1216,7 @@ namespace OpenSim.Data.MySQL
1216 cmd = (MySqlCommand) dbcon.CreateCommand(); 1216 cmd = (MySqlCommand) dbcon.CreateCommand();
1217 cmd.CommandText = sql; 1217 cmd.CommandText = sql;
1218 1218
1219 foreach(DictionaryEntry e in data) 1219 foreach (DictionaryEntry e in data)
1220 { 1220 {
1221 int attachpoint = Convert.ToInt32(e.Key); 1221 int attachpoint = Convert.ToInt32(e.Key);
1222 1222