Fix joining land parcels not being stored correctly in SQLite. Thank you to goetz for the initial patch in Mantis #5230.
parent
8d79a39d5b
commit
ba2bf78dcf
|
@ -697,6 +697,7 @@ namespace OpenSim.Data.SQLite
|
|||
DataRow landRow = land.Rows.Find(globalID.ToString());
|
||||
if (landRow != null)
|
||||
{
|
||||
landRow.Delete();
|
||||
land.Rows.Remove(landRow);
|
||||
}
|
||||
List<DataRow> rowsToDelete = new List<DataRow>();
|
||||
|
@ -707,6 +708,7 @@ namespace OpenSim.Data.SQLite
|
|||
}
|
||||
for (int iter = 0; iter < rowsToDelete.Count; iter++)
|
||||
{
|
||||
rowsToDelete[iter].Delete();
|
||||
landaccesslist.Rows.Remove(rowsToDelete[iter]);
|
||||
}
|
||||
}
|
||||
|
@ -755,6 +757,7 @@ namespace OpenSim.Data.SQLite
|
|||
}
|
||||
for (int iter = 0; iter < rowsToDelete.Count; iter++)
|
||||
{
|
||||
rowsToDelete[iter].Delete();
|
||||
landaccesslist.Rows.Remove(rowsToDelete[iter]);
|
||||
}
|
||||
rowsToDelete.Clear();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue