diff options
author | Melanie Thielker | 2008-10-18 05:51:36 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-18 05:51:36 +0000 |
commit | efe3f3eb2a0a31b1da474974c7d8193c2b28e13f (patch) | |
tree | df1d30ad2f9230ea4e8fbfd1e6368d539600c785 /OpenSim/Data/SQLite | |
parent | * Fix an over compensation for bounciness on flat Primitive (diff) | |
download | opensim-SC-efe3f3eb2a0a31b1da474974c7d8193c2b28e13f.zip opensim-SC-efe3f3eb2a0a31b1da474974c7d8193c2b28e13f.tar.gz opensim-SC-efe3f3eb2a0a31b1da474974c7d8193c2b28e13f.tar.bz2 opensim-SC-efe3f3eb2a0a31b1da474974c7d8193c2b28e13f.tar.xz |
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.
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/013_RegionStore.sql | 6 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/013_RegionStore.sql b/OpenSim/Data/SQLite/Resources/013_RegionStore.sql new file mode 100644 index 0000000..11529cd --- /dev/null +++ b/OpenSim/Data/SQLite/Resources/013_RegionStore.sql | |||
@@ -0,0 +1,6 @@ | |||
1 | BEGIN; | ||
2 | |||
3 | ALTER TABLE land ADD COLUMN OtherCleanTime INTEGER NOT NULL default 0; | ||
4 | ALTER TABLE land ADD COLUMN Dwell INTEGER NOT NULL default 0; | ||
5 | |||
6 | COMMIT; | ||
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index c87d2e3..812367d 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -992,6 +992,8 @@ namespace OpenSim.Data.SQLite | |||
992 | createCol(land, "UserLookAtY", typeof (Double)); | 992 | createCol(land, "UserLookAtY", typeof (Double)); |
993 | createCol(land, "UserLookAtZ", typeof (Double)); | 993 | createCol(land, "UserLookAtZ", typeof (Double)); |
994 | createCol(land, "AuthbuyerID", typeof(String)); | 994 | createCol(land, "AuthbuyerID", typeof(String)); |
995 | createCol(land, "OtherCleanTime", typeof(Int32)); | ||
996 | createCol(land, "Dwell", typeof(Int32)); | ||
995 | 997 | ||
996 | land.PrimaryKey = new DataColumn[] {land.Columns["UUID"]}; | 998 | land.PrimaryKey = new DataColumn[] {land.Columns["UUID"]}; |
997 | 999 | ||
@@ -1315,6 +1317,9 @@ namespace OpenSim.Data.SQLite | |||
1315 | 1317 | ||
1316 | UUID.TryParse((string)row["AuthbuyerID"], out authBuyerID); | 1318 | UUID.TryParse((string)row["AuthbuyerID"], out authBuyerID); |
1317 | 1319 | ||
1320 | newData.OtherCleanTime = Convert.ToInt32(row["OtherCleanTime"]); | ||
1321 | newData.Dwell = Convert.ToInt32(row["Dwell"]); | ||
1322 | |||
1318 | return newData; | 1323 | return newData; |
1319 | } | 1324 | } |
1320 | 1325 | ||
@@ -1611,6 +1616,8 @@ namespace OpenSim.Data.SQLite | |||
1611 | row["UserLookAtY"] = land.UserLookAt.Y; | 1616 | row["UserLookAtY"] = land.UserLookAt.Y; |
1612 | row["UserLookAtZ"] = land.UserLookAt.Z; | 1617 | row["UserLookAtZ"] = land.UserLookAt.Z; |
1613 | row["AuthbuyerID"] = Util.ToRawUuidString(land.AuthBuyerID); | 1618 | row["AuthbuyerID"] = Util.ToRawUuidString(land.AuthBuyerID); |
1619 | row["OtherCleanTime"] = land.OtherCleanTime; | ||
1620 | row["Dwell"] = land.Dwell; | ||
1614 | } | 1621 | } |
1615 | 1622 | ||
1616 | /// <summary> | 1623 | /// <summary> |