From 43f3b9ad7b24cbd4c020c36e1cf5133e09a66c8f Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 1 Aug 2008 02:14:34 +0000 Subject: Patch #8 in the estate series. Introduces the concept of an estate owner (alongside the master avatar) and provides storage fo the abuse email address. No user functionality yet. This patch includes a migration. --- OpenSim/Data/MySQL/MySQLEstateData.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Data/MySQL') diff --git a/OpenSim/Data/MySQL/MySQLEstateData.cs b/OpenSim/Data/MySQL/MySQLEstateData.cs index 78d4446..e843457 100644 --- a/OpenSim/Data/MySQL/MySQLEstateData.cs +++ b/OpenSim/Data/MySQL/MySQLEstateData.cs @@ -185,6 +185,13 @@ namespace OpenSim.Data.MySQL else m_FieldMap[name].SetValue(es, false); } + else if(m_FieldMap[name].GetValue(es) is libsecondlife.LLUUID) + { + LLUUID uuid = LLUUID.Zero; + + LLUUID.TryParse(r[name].ToString(), out uuid); + m_FieldMap[name].SetValue(es, uuid); + } else { m_FieldMap[name].SetValue(es, r[name]); -- cgit v1.1