mantis 8645: change sqlite to just flag row delete, for commit to work
parent
550f64cb2d
commit
8db2ddb07f
|
@ -1057,10 +1057,10 @@ namespace OpenSim.Data.SQLite
|
||||||
if (rowToCheck["LandUUID"].ToString() == parcel.LandData.GlobalID.ToString())
|
if (rowToCheck["LandUUID"].ToString() == parcel.LandData.GlobalID.ToString())
|
||||||
rowsToDelete.Add(rowToCheck);
|
rowsToDelete.Add(rowToCheck);
|
||||||
}
|
}
|
||||||
for (int iter = 0; iter < rowsToDelete.Count; iter++)
|
for (int iter = 0; iter < rowsToDelete.Count; ++iter)
|
||||||
landaccesslist.Rows.Remove(rowsToDelete[iter]);
|
rowsToDelete[iter].Delete();
|
||||||
|
|
||||||
|
|
||||||
rowsToDelete.Clear();
|
|
||||||
foreach (LandAccessEntry entry in parcel.LandData.ParcelAccessList)
|
foreach (LandAccessEntry entry in parcel.LandData.ParcelAccessList)
|
||||||
{
|
{
|
||||||
DataRow newAccessRow = landaccesslist.NewRow();
|
DataRow newAccessRow = landaccesslist.NewRow();
|
||||||
|
|
Loading…
Reference in New Issue