mirror of
https://github.com/opensim/opensim.git
synced 2026-08-03 07:26:16 +08:00
Update svn properties, formatting cleanup.
This commit is contained in:
@@ -668,7 +668,7 @@ namespace OpenSim.Data.MySQL
|
||||
while (r.Read())
|
||||
{
|
||||
int attachpoint = Convert.ToInt32(r["attachpoint"]);
|
||||
if(ret.ContainsKey(attachpoint))
|
||||
if (ret.ContainsKey(attachpoint))
|
||||
continue;
|
||||
Hashtable item = new Hashtable();
|
||||
item.Add("item", r["item"].ToString());
|
||||
@@ -676,7 +676,7 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
ret.Add(attachpoint, item);
|
||||
}
|
||||
|
||||
|
||||
r.Close();
|
||||
|
||||
return ret;
|
||||
@@ -1205,7 +1205,7 @@ namespace OpenSim.Data.MySQL
|
||||
MySqlCommand cmd = (MySqlCommand) dbcon.CreateCommand();
|
||||
cmd.CommandText = sql;
|
||||
cmd.Parameters.AddWithValue("?uuid", agentID.ToString());
|
||||
|
||||
|
||||
cmd.ExecuteNonQuery();
|
||||
|
||||
if (data == null)
|
||||
@@ -1216,7 +1216,7 @@ namespace OpenSim.Data.MySQL
|
||||
cmd = (MySqlCommand) dbcon.CreateCommand();
|
||||
cmd.CommandText = sql;
|
||||
|
||||
foreach(DictionaryEntry e in data)
|
||||
foreach (DictionaryEntry e in data)
|
||||
{
|
||||
int attachpoint = Convert.ToInt32(e.Key);
|
||||
|
||||
|
||||
@@ -57,8 +57,8 @@ namespace OpenSim.Data.MySQL
|
||||
private string m_appearanceTableName = "avatarappearance";
|
||||
private string m_connectString;
|
||||
|
||||
public override void Initialise()
|
||||
{
|
||||
public override void Initialise()
|
||||
{
|
||||
m_log.Info("[MySQLUserData]: " + Name + " cannot be default-initialized!");
|
||||
throw new PluginNotInitialisedException (Name);
|
||||
}
|
||||
@@ -409,7 +409,7 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
Lfli.Add(fli);
|
||||
}
|
||||
|
||||
|
||||
reader.Dispose();
|
||||
result.Dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user