mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 19:55:35 +08:00
Fix joining land parcels not being stored correctly in SQLite. Thank you to goetz for the initial patch in Mantis #5230.
This commit is contained in:
@@ -657,6 +657,7 @@ namespace OpenSim.Data.SQLiteLegacy
|
||||
DataRow landRow = land.Rows.Find(globalID.ToString());
|
||||
if (landRow != null)
|
||||
{
|
||||
landRow.Delete();
|
||||
land.Rows.Remove(landRow);
|
||||
}
|
||||
List<DataRow> rowsToDelete = new List<DataRow>();
|
||||
@@ -667,6 +668,7 @@ namespace OpenSim.Data.SQLiteLegacy
|
||||
}
|
||||
for (int iter = 0; iter < rowsToDelete.Count; iter++)
|
||||
{
|
||||
rowsToDelete[iter].Delete();
|
||||
landaccesslist.Rows.Remove(rowsToDelete[iter]);
|
||||
}
|
||||
|
||||
@@ -717,6 +719,7 @@ namespace OpenSim.Data.SQLiteLegacy
|
||||
}
|
||||
for (int iter = 0; iter < rowsToDelete.Count; iter++)
|
||||
{
|
||||
rowsToDelete[iter].Delete();
|
||||
landaccesslist.Rows.Remove(rowsToDelete[iter]);
|
||||
}
|
||||
rowsToDelete.Clear();
|
||||
|
||||
Reference in New Issue
Block a user