aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.Base/BaseFieldMapper.cs
diff options
context:
space:
mode:
authorlbsa712008-04-02 13:06:18 +0000
committerlbsa712008-04-02 13:06:18 +0000
commit667ebc8ea29ba93060eee2506f2875ab78ab6216 (patch)
treed630c9c98fdbbe901b4d941dff25e6bdc77d4772 /OpenSim/Framework/Data.Base/BaseFieldMapper.cs
parentSet default terrain to complete flat terrain (at 26 height). Even flat terrai... (diff)
downloadopensim-SC_OLD-667ebc8ea29ba93060eee2506f2875ab78ab6216.zip
opensim-SC_OLD-667ebc8ea29ba93060eee2506f2875ab78ab6216.tar.gz
opensim-SC_OLD-667ebc8ea29ba93060eee2506f2875ab78ab6216.tar.bz2
opensim-SC_OLD-667ebc8ea29ba93060eee2506f2875ab78ab6216.tar.xz
* Reworked Data Framework so that MSSQL works
* Introduced uint as field type * Removed what should be superfluous Guid handling * Introduced stub MySQLDataReader if we need to fix the Guid handling anyway
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data.Base/BaseFieldMapper.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.Base/BaseFieldMapper.cs b/OpenSim/Framework/Data.Base/BaseFieldMapper.cs
index ade9266..03c7bfb 100644
--- a/OpenSim/Framework/Data.Base/BaseFieldMapper.cs
+++ b/OpenSim/Framework/Data.Base/BaseFieldMapper.cs
@@ -108,6 +108,10 @@ namespace OpenSim.Framework.Data.Base
108 { 108 {
109 value = reader.GetUShort(m_fieldName); 109 value = reader.GetUShort(m_fieldName);
110 } 110 }
111 else if (ValueType == typeof(uint))
112 {
113 value = reader.GetUInt32(m_fieldName);
114 }
111 else if (ValueType == typeof(byte[])) 115 else if (ValueType == typeof(byte[]))
112 { 116 {
113 value = reader.GetBytes(m_fieldName); 117 value = reader.GetBytes(m_fieldName);