aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLDataStore.cs')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLDataStore.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
index f4c839e..b1ab42fd 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
@@ -34,7 +34,6 @@ using libsecondlife;
34using MySql.Data.MySqlClient; 34using MySql.Data.MySqlClient;
35using OpenSim.Framework.Console; 35using OpenSim.Framework.Console;
36using OpenSim.Region.Environment.Interfaces; 36using OpenSim.Region.Environment.Interfaces;
37using OpenSim.Region.Environment.LandManagement;
38using OpenSim.Region.Environment.Scenes; 37using OpenSim.Region.Environment.Scenes;
39 38
40namespace OpenSim.Framework.Data.MySQL 39namespace OpenSim.Framework.Data.MySQL
@@ -416,7 +415,7 @@ namespace OpenSim.Framework.Data.MySQL
416 } 415 }
417 } 416 }
418 417
419 public void StoreLandObject(Land parcel, LLUUID regionUUID) 418 public void StoreLandObject(ILandObject parcel)
420 { 419 {
421 lock (m_dataSet) 420 lock (m_dataSet)
422 { 421 {
@@ -427,12 +426,12 @@ namespace OpenSim.Framework.Data.MySQL
427 if (landRow == null) 426 if (landRow == null)
428 { 427 {
429 landRow = land.NewRow(); 428 landRow = land.NewRow();
430 fillLandRow(landRow, parcel.landData, regionUUID); 429 fillLandRow(landRow, parcel.landData, parcel.regionUUID);
431 land.Rows.Add(landRow); 430 land.Rows.Add(landRow);
432 } 431 }
433 else 432 else
434 { 433 {
435 fillLandRow(landRow, parcel.landData, regionUUID); 434 fillLandRow(landRow, parcel.landData, parcel.regionUUID);
436 } 435 }
437 436
438 using ( 437 using (