diff options
author | Teravus Ovares | 2008-03-02 18:56:23 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-02 18:56:23 +0000 |
commit | e808bf04a598aa3f11dd9fe8dcb0ee9b7649fe64 (patch) | |
tree | 1cf165f5f4eb2ffb0ce0932102d0d10560515190 | |
parent | * This is a very icky implementation of physical linkset prim using fixed joi... (diff) | |
download | opensim-SC_OLD-e808bf04a598aa3f11dd9fe8dcb0ee9b7649fe64.zip opensim-SC_OLD-e808bf04a598aa3f11dd9fe8dcb0ee9b7649fe64.tar.gz opensim-SC_OLD-e808bf04a598aa3f11dd9fe8dcb0ee9b7649fe64.tar.bz2 opensim-SC_OLD-e808bf04a598aa3f11dd9fe8dcb0ee9b7649fe64.tar.xz |
* 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
-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 | { |