* Primshapes uuid wasn't being converted to raw (non-dashed) format before being used in primshapes delete command
0.6.2-post-fixes
Justin Clarke Casey 2008-12-23 20:41:52 +00:00
parent 94d267303f
commit e64d9b66a9
1 changed files with 2 additions and 2 deletions

View File

@ -365,7 +365,7 @@ namespace OpenSim.Data.MySQL
for (int i = 0; i < uuids.Count; i++) for (int i = 0; i < uuids.Count; i++)
{ {
cmd.Parameters.AddWithValue("UUID" + i, uuids[i].ToString()); cmd.Parameters.AddWithValue("UUID" + i, Util.ToRawUuidString(uuids[i]));
} }
ExecuteNonQuery(cmd); ExecuteNonQuery(cmd);
@ -1437,7 +1437,7 @@ namespace OpenSim.Data.MySQL
s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]); s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]);
s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]); s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]);
s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]); s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]);
byte[] textureEntry = (byte[]) row["Texture"]; byte[] textureEntry = (byte[]) row["Texture"];
s.TextureEntry = textureEntry; s.TextureEntry = textureEntry;
s.ExtraParams = (byte[]) row["ExtraParams"]; s.ExtraParams = (byte[]) row["ExtraParams"];