aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Data/MySQL/MySQLDataStore.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLDataStore.cs b/OpenSim/Data/MySQL/MySQLDataStore.cs
index 1cd76a8..7ee625d 100644
--- a/OpenSim/Data/MySQL/MySQLDataStore.cs
+++ b/OpenSim/Data/MySQL/MySQLDataStore.cs
@@ -447,8 +447,6 @@ namespace OpenSim.Data.MySQL
447 447
448 lock (m_dataSet) 448 lock (m_dataSet)
449 { 449 {
450 DataTable terrain = m_dataSet.Tables["terrain"];
451
452 MySqlCommand cmd = new MySqlCommand("insert into terrain(RegionUUID, Revision, Heightfield)" + 450 MySqlCommand cmd = new MySqlCommand("insert into terrain(RegionUUID, Revision, Heightfield)" +
453 " values(?RegionUUID, ?Revision, ?Heightfield)", m_connection); 451 " values(?RegionUUID, ?Revision, ?Heightfield)", m_connection);
454 using (cmd) 452 using (cmd)