* Temporarily commented out the parcel banlist clearing query that was being called in an ad-hoc fashion and causing an access violation error. This means that in SQLite when subdividing parcels you'll have to go to the parcel and clear out the banlist with the client instead of having it done for you immediately when you split the parcel.

* A database guy really needs to look at the land stuff. :D
0.6.0-stable
Teravus Ovares 2008-03-02 18:56:23 +00:00
parent 0a5c48b1c8
commit e808bf04a5
1 changed files with 8 additions and 7 deletions

View File

@ -496,13 +496,14 @@ namespace OpenSim.Framework.Data.SQLite
{ {
fillLandRow(landRow, parcel.landData, regionUUID); fillLandRow(landRow, parcel.landData, regionUUID);
} }
//m_conn.Open();
using ( //using (
SqliteCommand cmd = new SqliteCommand("delete from landaccesslist where LandUUID=:LandUUID", m_conn)) //SqliteCommand cmd = new SqliteCommand("delete from landaccesslist where LandUUID=:LandUUID", m_conn))
{ //{
cmd.Parameters.Add(new SqliteParameter(":LandUUID", Util.ToRawUuidString(parcel.landData.globalID))); //cmd.Parameters.Add(new SqliteParameter(":LandUUID", Util.ToRawUuidString(parcel.landData.globalID)));
cmd.ExecuteNonQuery(); //cmd.ExecuteNonQuery();
} //}
//m_conn.Close();
foreach (ParcelManager.ParcelAccessEntry entry in parcel.landData.parcelAccessList) foreach (ParcelManager.ParcelAccessEntry entry in parcel.landData.parcelAccessList)
{ {