From 9e353d5713e116e0ea1243df7db085bfba08d6e9 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 30 Oct 2008 12:56:10 +0000 Subject: - Includes consistency test for new and updated objects, as some fixes in MySQL and SQLite From: Arthur Rodrigo S Valadares --- OpenSim/Data/MySQL/MySQLRegionData.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'OpenSim/Data/MySQL') diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs index fb08049..ac8165c 100644 --- a/OpenSim/Data/MySQL/MySQLRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLRegionData.cs @@ -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 inventory = new List(); foreach (DataRow row in dbItemRows) -- cgit v1.1