aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorSean Dague2007-11-14 15:15:01 +0000
committerSean Dague2007-11-14 15:15:01 +0000
commit2aec70666ab5260a4f6a56c21bba03bc95054276 (patch)
tree015dc3bbdf87a8a7bde703d0a7e9defb9a6c2318 /OpenSim
parentmore attempted voodoo around .NET (diff)
downloadopensim-SC-2aec70666ab5260a4f6a56c21bba03bc95054276.zip
opensim-SC-2aec70666ab5260a4f6a56c21bba03bc95054276.tar.gz
opensim-SC-2aec70666ab5260a4f6a56c21bba03bc95054276.tar.bz2
opensim-SC-2aec70666ab5260a4f6a56c21bba03bc95054276.tar.xz
no, this probably won't work either, but I'm going to at least make sure it works
mono still
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
index 0a43499..a94f5c2 100644
--- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
@@ -271,12 +271,12 @@ namespace OpenSim.DataStore.MonoSqlite
271 String sql = "select RegionUUID, Revision, Heightfield from terrain" + 271 String sql = "select RegionUUID, Revision, Heightfield from terrain" +
272 " where RegionUUID=:RegionUUID order by Revision desc limit 1"; 272 " where RegionUUID=:RegionUUID order by Revision desc limit 1";
273 273
274 using (SqliteCommand cmd = (SqliteCommand)conn.CreateCommand()) 274 using (IDbCommand cmd = conn.CreateCommand())
275 { 275 {
276 cmd.CommandText = sql; 276 cmd.CommandText = sql;
277 cmd.Parameters.Add(new SqliteParameter(":RegionUUID", regionID.ToString())); 277 cmd.Parameters.Add(new SqliteParameter(":RegionUUID", regionID.ToString()));
278 278
279 using (SqliteDataReader row = cmd.ExecuteReader()) 279 using (IDataReader row = cmd.ExecuteReader())
280 { 280 {
281 int rev = 0; 281 int rev = 0;
282 if (row.Read()) 282 if (row.Read())