diff options
author | Jeff Ames | 2008-08-19 02:59:27 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-19 02:59:27 +0000 |
commit | bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca (patch) | |
tree | 6350036021802eadb2540d14461eb545afd7dea6 /OpenSim/Data/MySQL/MySQLManager.cs | |
parent | Attachment persistence!!! Patch #9169 (Mantis #1171) (diff) | |
download | opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.zip opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.gz opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.bz2 opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.xz |
Update svn properties, formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLManager.cs | 8 |
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 | ||