aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/MSSQLDataStore.cs
diff options
context:
space:
mode:
authorDr Scofield2008-06-27 23:03:39 +0000
committerDr Scofield2008-06-27 23:03:39 +0000
commit748f72326d9a295958bc9ba63bbb1a5d39030ef7 (patch)
tree58f2c9a5f6b8ffab5ad3621070aa17cb1c1e3e6b /OpenSim/Data/MSSQL/MSSQLDataStore.cs
parentmore warnings to go. (diff)
downloadopensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.zip
opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.gz
opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.bz2
opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.xz
last round of warning squashing. calling it a day now.
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLDataStore.cs')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLDataStore.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLDataStore.cs b/OpenSim/Data/MSSQL/MSSQLDataStore.cs
index 42eab8e..17a52a8 100644
--- a/OpenSim/Data/MSSQL/MSSQLDataStore.cs
+++ b/OpenSim/Data/MSSQL/MSSQLDataStore.cs
@@ -370,7 +370,7 @@ namespace OpenSim.Data.MSSQL
370 int revision = Util.UnixTimeSinceEpoch(); 370 int revision = Util.UnixTimeSinceEpoch();
371 m_log.Info("[REGION DB]: Storing terrain revision r" + revision.ToString()); 371 m_log.Info("[REGION DB]: Storing terrain revision r" + revision.ToString());
372 372
373 DataTable terrain = m_dataSet.Tables["terrain"]; 373 // DataTable terrain = m_dataSet.Tables["terrain"];
374 lock (m_dataSet) 374 lock (m_dataSet)
375 { 375 {
376 SqlCommand cmd = new SqlCommand("insert into terrain(RegionUUID, Revision, Heightfield)" + 376 SqlCommand cmd = new SqlCommand("insert into terrain(RegionUUID, Revision, Heightfield)" +
@@ -400,7 +400,7 @@ namespace OpenSim.Data.MSSQL
400 where RegionUUID=@RegionUUID order by Revision desc" 400 where RegionUUID=@RegionUUID order by Revision desc"
401 , m_connection); 401 , m_connection);
402 402
403 SqlParameter param = new SqlParameter(); 403 // SqlParameter param = new SqlParameter();
404 cmd.Parameters.Add(new SqlParameter("@RegionUUID", regionID.UUID)); 404 cmd.Parameters.Add(new SqlParameter("@RegionUUID", regionID.UUID));
405 405
406 if (m_connection.State != ConnectionState.Open) 406 if (m_connection.State != ConnectionState.Open)