* and another :/

afrisby
Teravus Ovares 2007-12-20 23:37:41 +00:00
parent f1f57ca267
commit 23f761231d
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ namespace OpenSim.Framework.Data.MySQL
foreach (DataRow row in primRows) foreach (DataRow row in primRows)
{ {
LLUUID uuid = new LLUUID((string)row["UUID"]); LLUUID uuid = new LLUUID((string)row["UUID"]);
DataRow shapeRow = shapes.Rows.Find(uuid); DataRow shapeRow = shapes.Rows.Find(Util.ToRawUuidString(uuid));
if (shapeRow != null) if (shapeRow != null)
{ {
shapeRow.Delete(); shapeRow.Delete();
@ -919,7 +919,7 @@ namespace OpenSim.Framework.Data.MySQL
DataTable prims = m_dataSet.Tables["prims"]; DataTable prims = m_dataSet.Tables["prims"];
DataTable shapes = m_dataSet.Tables["primshapes"]; DataTable shapes = m_dataSet.Tables["primshapes"];
DataRow primRow = prims.Rows.Find(prim.UUID); DataRow primRow = prims.Rows.Find(Util.ToRawUuidString(prim.UUID));
if (primRow == null) if (primRow == null)
{ {
primRow = prims.NewRow(); primRow = prims.NewRow();