diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs index 760a3ba..ce9a3ef 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | |||
@@ -496,13 +496,14 @@ namespace OpenSim.Framework.Data.SQLite | |||
496 | { | 496 | { |
497 | fillLandRow(landRow, parcel.landData, regionUUID); | 497 | fillLandRow(landRow, parcel.landData, regionUUID); |
498 | } | 498 | } |
499 | 499 | //m_conn.Open(); | |
500 | using ( | 500 | //using ( |
501 | SqliteCommand cmd = new SqliteCommand("delete from landaccesslist where LandUUID=:LandUUID", m_conn)) | 501 | //SqliteCommand cmd = new SqliteCommand("delete from landaccesslist where LandUUID=:LandUUID", m_conn)) |
502 | { | 502 | //{ |
503 | cmd.Parameters.Add(new SqliteParameter(":LandUUID", Util.ToRawUuidString(parcel.landData.globalID))); | 503 | //cmd.Parameters.Add(new SqliteParameter(":LandUUID", Util.ToRawUuidString(parcel.landData.globalID))); |
504 | cmd.ExecuteNonQuery(); | 504 | //cmd.ExecuteNonQuery(); |
505 | } | 505 | //} |
506 | //m_conn.Close(); | ||
506 | 507 | ||
507 | foreach (ParcelManager.ParcelAccessEntry entry in parcel.landData.parcelAccessList) | 508 | foreach (ParcelManager.ParcelAccessEntry entry in parcel.landData.parcelAccessList) |
508 | { | 509 | { |