aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLRegionData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLRegionData.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs
index b7fc70b..920a001 100644
--- a/OpenSim/Data/MySQL/MySQLRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLRegionData.cs
@@ -941,6 +941,7 @@ namespace OpenSim.Data.MySQL
941 createCol(prims, "SalePrice", typeof(Int32)); 941 createCol(prims, "SalePrice", typeof(Int32));
942 createCol(prims, "SaleType", typeof (Int16)); 942 createCol(prims, "SaleType", typeof (Int16));
943 943
944 createCol(prims, "ClickAction", typeof (Byte));
944 945
945 // Add in contraints 946 // Add in contraints
946 prims.PrimaryKey = new DataColumn[] {prims.Columns["UUID"]}; 947 prims.PrimaryKey = new DataColumn[] {prims.Columns["UUID"]};
@@ -1225,6 +1226,8 @@ namespace OpenSim.Data.MySQL
1225 prim.SalePrice = Convert.ToInt32(row["SalePrice"]); 1226 prim.SalePrice = Convert.ToInt32(row["SalePrice"]);
1226 prim.ObjectSaleType = Convert.ToByte(row["SaleType"]); 1227 prim.ObjectSaleType = Convert.ToByte(row["SaleType"]);
1227 1228
1229 prim.ClickAction = Convert.ToByte(row["ClickAction"]);
1230
1228 return prim; 1231 return prim;
1229 } 1232 }
1230 1233
@@ -1532,6 +1535,8 @@ namespace OpenSim.Data.MySQL
1532 row["SalePrice"] = prim.SalePrice; 1535 row["SalePrice"] = prim.SalePrice;
1533 row["SaleType"] = Convert.ToInt16(prim.ObjectSaleType); 1536 row["SaleType"] = Convert.ToInt16(prim.ObjectSaleType);
1534 1537
1538 byte clickAction = prim.ClickAction;
1539 row["ClickAction"] = clickAction;
1535 } 1540 }
1536 1541
1537 /// <summary> 1542 /// <summary>