aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MSSQL
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data.MSSQL')
-rw-r--r--OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs b/OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs
index 67ed0c0..c86cfb6 100644
--- a/OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs
+++ b/OpenSim/Framework/Data.MSSQL/MSSQLDataStore.cs
@@ -35,7 +35,6 @@ using OpenSim.Framework;
35using OpenSim.Framework.Console; 35using OpenSim.Framework.Console;
36using OpenSim.Framework.Data; 36using OpenSim.Framework.Data;
37using OpenSim.Region.Environment.Interfaces; 37using OpenSim.Region.Environment.Interfaces;
38using OpenSim.Region.Environment.LandManagement;
39using OpenSim.Region.Environment.Scenes; 38using OpenSim.Region.Environment.Scenes;
40using OpenSim.Framework.Data.MSSQL; 39using OpenSim.Framework.Data.MSSQL;
41 40
@@ -429,7 +428,7 @@ namespace OpenSim.Framework.Data.MSSQL
429 } 428 }
430 } 429 }
431 430
432 public void StoreLandObject(Land parcel, LLUUID regionUUID) 431 public void StoreLandObject(ILandObject parcel)
433 { 432 {
434 // Instance.StoreLandObject(parcel, regionUUID); 433 // Instance.StoreLandObject(parcel, regionUUID);
435 434
@@ -446,12 +445,12 @@ namespace OpenSim.Framework.Data.MSSQL
446 if (landRow == null) 445 if (landRow == null)
447 { 446 {
448 landRow = land.NewRow(); 447 landRow = land.NewRow();
449 fillLandRow(landRow, parcel.landData, regionUUID); 448 fillLandRow(landRow, parcel.landData, parcel.regionUUID);
450 land.Rows.Add(landRow); 449 land.Rows.Add(landRow);
451 } 450 }
452 else 451 else
453 { 452 {
454 fillLandRow(landRow, parcel.landData, regionUUID); 453 fillLandRow(landRow, parcel.landData, parcel.regionUUID);
455 } 454 }
456 455
457 using ( 456 using (