aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorSean Dague2008-05-28 14:57:24 +0000
committerSean Dague2008-05-28 14:57:24 +0000
commita28a6e9aaa8d0563fa98e13a9ec586ccfa236fcb (patch)
treedf356608d58acb014d25237fbfd45fc0da40884a /OpenSim/Data/MySQL
parentfix http://opensimulator.org/mantis/view.php?id=1001 (diff)
downloadopensim-SC_OLD-a28a6e9aaa8d0563fa98e13a9ec586ccfa236fcb.zip
opensim-SC_OLD-a28a6e9aaa8d0563fa98e13a9ec586ccfa236fcb.tar.gz
opensim-SC_OLD-a28a6e9aaa8d0563fa98e13a9ec586ccfa236fcb.tar.bz2
opensim-SC_OLD-a28a6e9aaa8d0563fa98e13a9ec586ccfa236fcb.tar.xz
remove an erroneous line to fetch the terrain table in a way that
isn't actually used.
Diffstat (limited to 'OpenSim/Data/MySQL')
-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)