diff options
Diffstat (limited to 'OpenSim/Data/Base/BaseTableMapper.cs')
-rw-r--r-- | OpenSim/Data/Base/BaseTableMapper.cs | 10 |
1 files changed, 5 insertions, 5 deletions
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 | { |