aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/MSSQLDataStore.cs
diff options
context:
space:
mode:
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)