aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Base
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Base')
-rw-r--r--OpenSim/Data/Base/BaseDataReader.cs6
-rw-r--r--OpenSim/Data/Base/BaseTableMapper.cs10
2 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Data/Base/BaseDataReader.cs b/OpenSim/Data/Base/BaseDataReader.cs
index da90f10..b71a966 100644
--- a/OpenSim/Data/Base/BaseDataReader.cs
+++ b/OpenSim/Data/Base/BaseDataReader.cs
@@ -117,7 +117,7 @@ namespace OpenSim.Data.Base
117 return m_source.GetGuid(m_source.GetOrdinal(name)); 117 return m_source.GetGuid(m_source.GetOrdinal(name));
118 } 118 }
119 119
120 public UInt32 GetUInt32(string name ) 120 public UInt32 GetUInt32(string name)
121 { 121 {
122 return (UInt32)GetInt32(name); 122 return (UInt32)GetInt32(name);
123 } 123 }
@@ -129,9 +129,9 @@ namespace OpenSim.Data.Base
129 return int32; 129 return int32;
130 } 130 }
131 131
132 public Int64 GetInt64(string name) 132 public Int64 GetInt64(string name)
133 { 133 {
134 int ordinal = m_source.GetOrdinal( name ); 134 int ordinal = m_source.GetOrdinal(name);
135 long int64 = m_source.GetInt64(ordinal); 135 long int64 = m_source.GetInt64(ordinal);
136 return int64; 136 return int64;
137 } 137 }
diff --git a/OpenSim/Data/Base/BaseTableMapper.cs b/OpenSim/Data/Base/BaseTableMapper.cs
index ad60009..649b228 100644
--- a/OpenSim/Data/Base/BaseTableMapper.cs
+++ b/OpenSim/Data/Base/BaseTableMapper.cs
@@ -125,7 +125,7 @@ namespace OpenSim.Data.Base
125 125
126 // HACK: This is a temporary function used by TryGetValue(). 126 // HACK: This is a temporary function used by TryGetValue().
127 // Due to a bug in mono 1.2.6, delegate blocks cannot contain 127 // Due to a bug in mono 1.2.6, delegate blocks cannot contain
128 // a using() block. This has been fixed in SVN, so the next 128 // a using block. This has been fixed in SVN, so the next
129 // mono release should work. 129 // mono release should work.
130 private void TryGetConnectionValue(DbConnection connection, TPrimaryKey primaryKey, ref TRowMapper result, ref bool success) 130 private void TryGetConnectionValue(DbConnection connection, TPrimaryKey primaryKey, ref TRowMapper result, ref bool success)
131 { 131 {
@@ -137,7 +137,7 @@ namespace OpenSim.Data.Base
137 { 137 {
138 if (reader.Read()) 138 if (reader.Read())
139 { 139 {
140 result = FromReader( CreateReader(reader)); 140 result = FromReader(CreateReader(reader));
141 success = true; 141 success = true;
142 } 142 }
143 else 143 else
@@ -165,7 +165,7 @@ namespace OpenSim.Data.Base
165 165
166 // HACK: This is a temporary function used by Remove(). 166 // HACK: This is a temporary function used by Remove().
167 // Due to a bug in mono 1.2.6, delegate blocks cannot contain 167 // Due to a bug in mono 1.2.6, delegate blocks cannot contain
168 // a using() block. This has been fixed in SVN, so the next 168 // a using block. This has been fixed in SVN, so the next
169 // mono release should work. 169 // mono release should work.
170 protected virtual void TryDelete(DbConnection connection, TPrimaryKey id, ref int deleted) 170 protected virtual void TryDelete(DbConnection connection, TPrimaryKey id, ref int deleted)
171 { 171 {
@@ -215,7 +215,7 @@ namespace OpenSim.Data.Base
215 215
216 // HACK: This is a temporary function used by Update(). 216 // HACK: This is a temporary function used by Update().
217 // Due to a bug in mono 1.2.6, delegate blocks cannot contain 217 // Due to a bug in mono 1.2.6, delegate blocks cannot contain
218 // a using() block. This has been fixed in SVN, so the next 218 // a using block. This has been fixed in SVN, so the next
219 // mono release should work. 219 // mono release should work.
220 protected void TryUpdate(DbConnection connection, TPrimaryKey primaryKey, TRowMapper value, ref int updated) 220 protected void TryUpdate(DbConnection connection, TPrimaryKey primaryKey, TRowMapper value, ref int updated)
221 { 221 {
@@ -246,7 +246,7 @@ namespace OpenSim.Data.Base
246 246
247 // HACK: This is a temporary function used by Add(). 247 // HACK: This is a temporary function used by Add().
248 // Due to a bug in mono 1.2.6, delegate blocks cannot contain 248 // Due to a bug in mono 1.2.6, delegate blocks cannot contain
249 // a using() block. This has been fixed in SVN, so the next 249 // a using block. This has been fixed in SVN, so the next
250 // mono release should work. 250 // mono release should work.
251 protected void TryAdd(DbConnection connection, TRowMapper value, ref int added) 251 protected void TryAdd(DbConnection connection, TRowMapper value, ref int added)
252 { 252 {