mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.
Add rezzing time to objects. Add Object return and traffic fields to land database. Add plumbing for auto return. Implement auto return. Contains a migration. May contain nuts.
This commit is contained in:
@@ -994,6 +994,8 @@ namespace OpenSim.Data.MySQL
|
||||
createCol(land, "UserLookAtY", typeof (Double));
|
||||
createCol(land, "UserLookAtZ", typeof (Double));
|
||||
createCol(land, "AuthBuyerID", typeof (String));
|
||||
createCol(land, "OtherCleanTime", typeof(Int32));
|
||||
createCol(land, "Dwell", typeof(Int32));
|
||||
|
||||
land.PrimaryKey = new DataColumn[] {land.Columns["UUID"]};
|
||||
|
||||
@@ -1357,6 +1359,8 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
UUID.TryParse((string)row["AuthBuyerID"], out authedbuyer);
|
||||
UUID.TryParse((string)row["SnapshotUUID"], out snapshotID);
|
||||
newData.OtherCleanTime = Convert.ToInt32(row["OtherCleanTime"]);
|
||||
newData.Dwell = Convert.ToInt32(row["Dwell"]);
|
||||
|
||||
newData.AuthBuyerID = authedbuyer;
|
||||
newData.SnapshotID = snapshotID;
|
||||
@@ -1661,6 +1665,8 @@ namespace OpenSim.Data.MySQL
|
||||
row["UserLookAtY"] = land.UserLookAt.Y;
|
||||
row["UserLookAtZ"] = land.UserLookAt.Z;
|
||||
row["AuthBuyerID"] = land.AuthBuyerID;
|
||||
row["OtherCleanTime"] = land.OtherCleanTime;
|
||||
row["Dwell"] = land.Dwell;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
7
OpenSim/Data/MySQL/Resources/020_RegionStore.sql
Normal file
7
OpenSim/Data/MySQL/Resources/020_RegionStore.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
begin;
|
||||
|
||||
ALTER TABLE land ADD COLUMN OtherCleanTime integer NOT NULL default 0;
|
||||
ALTER TABLE land ADD COLUMN Dwell integer NOT NULL default 0;
|
||||
|
||||
commit;
|
||||
|
||||
Reference in New Issue
Block a user