mirror of
https://github.com/opensim/opensim.git
synced 2026-07-03 00:57:49 +08:00
- Includes consistency test for new and updated objects, as
some fixes in MySQL and SQLite From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
This commit is contained in:
@@ -425,8 +425,8 @@ namespace OpenSim.Data.MySQL
|
||||
group.RootPart = prim;
|
||||
createdObjects.Add(group.UUID, group);
|
||||
retvals.Add(group);
|
||||
LoadItems(prim);
|
||||
}
|
||||
LoadItems(prim);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@@ -463,8 +463,8 @@ namespace OpenSim.Data.MySQL
|
||||
prim.Shape = PrimitiveBaseShape.Default;
|
||||
}
|
||||
createdObjects[new UUID(objID)].AddPart(prim);
|
||||
LoadItems(prim);
|
||||
}
|
||||
LoadItems(prim);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@@ -495,7 +495,6 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
String sql = String.Format("primID = '{0}'", prim.UUID.ToString());
|
||||
DataRow[] dbItemRows = dbItems.Select(sql);
|
||||
Console.WriteLine("dbItemRows MYSQL Length: {0}",dbItemRows.Length);
|
||||
IList<TaskInventoryItem> inventory = new List<TaskInventoryItem>();
|
||||
|
||||
foreach (DataRow row in dbItemRows)
|
||||
|
||||
Reference in New Issue
Block a user