aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLXInventoryData.cs2
-rw-r--r--OpenSim/Data/MSSQL/Resources/EstateStore.migrations8
-rw-r--r--OpenSim/Data/MSSQL/Resources/RegionStore.migrations10
-rwxr-xr-xOpenSim/Data/Null/NullEstateData.cs2
4 files changed, 15 insertions, 7 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs
index 9164ffe..bfef682 100644
--- a/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLXInventoryData.cs
@@ -278,7 +278,7 @@ namespace OpenSim.Data.MSSQL
278// m_log.DebugFormat("[MYSQL ITEM HANDLER]: Incrementing version on folder {0}", folderID); 278// m_log.DebugFormat("[MYSQL ITEM HANDLER]: Incrementing version on folder {0}", folderID);
279// Util.PrintCallStack(); 279// Util.PrintCallStack();
280 280
281 string sql = "update inventoryfolders set version=version+1 where folderID = ?folderID"; 281 string sql = "update inventoryfolders set version=version+1 where folderID = @folderID";
282 282
283 using (SqlConnection conn = new SqlConnection(m_ConnectionString)) 283 using (SqlConnection conn = new SqlConnection(m_ConnectionString))
284 { 284 {
diff --git a/OpenSim/Data/MSSQL/Resources/EstateStore.migrations b/OpenSim/Data/MSSQL/Resources/EstateStore.migrations
index 64b2d2b..b5b1b18 100644
--- a/OpenSim/Data/MSSQL/Resources/EstateStore.migrations
+++ b/OpenSim/Data/MSSQL/Resources/EstateStore.migrations
@@ -331,4 +331,12 @@ ALTER TABLE dbo.estate_map ADD CONSTRAINT
331 331
332COMMIT 332COMMIT
333 333
334:VERSION 10
334 335
336BEGIN transaction
337
338ALTER TABLE estate_settings ADD AllowLandmark tinyint NOT NULL default 1;
339ALTER TABLE estate_settings ADD AllowParcelChanges tinyint NOT NULL default 1;
340ALTER TABLE estate_settings ADD AllowSetHome tinyint NOT NULL default 1;
341
342COMMIT; \ No newline at end of file
diff --git a/OpenSim/Data/MSSQL/Resources/RegionStore.migrations b/OpenSim/Data/MSSQL/Resources/RegionStore.migrations
index bb89884..46b1988 100644
--- a/OpenSim/Data/MSSQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/MSSQL/Resources/RegionStore.migrations
@@ -1161,11 +1161,11 @@ COMMIT
1161 1161
1162BEGIN TRANSACTION 1162BEGIN TRANSACTION
1163 1163
1164ALTER TABLE prims ADD `PhysicsShapeType` tinyint(4) NOT NULL default '0'; 1164ALTER TABLE prims ADD PhysicsShapeType tinyint NOT NULL default 0;
1165ALTER TABLE prims ADD `Density` double NOT NULL default '1000'; 1165ALTER TABLE prims ADD Density float NOT NULL default 1000;
1166ALTER TABLE prims ADD `GravityModifier` double NOT NULL default '1'; 1166ALTER TABLE prims ADD GravityModifier float NOT NULL default 1;
1167ALTER TABLE prims ADD `Friction` double NOT NULL default '0.6'; 1167ALTER TABLE prims ADD Friction float NOT NULL default 0.6;
1168ALTER TABLE prims ADD `Restitution` double NOT NULL default '0.5'; 1168ALTER TABLE prims ADD Restitution float NOT NULL default 0.5;
1169 1169
1170COMMIT 1170COMMIT
1171 1171
diff --git a/OpenSim/Data/Null/NullEstateData.cs b/OpenSim/Data/Null/NullEstateData.cs
index 1df397d..57592f1 100755
--- a/OpenSim/Data/Null/NullEstateData.cs
+++ b/OpenSim/Data/Null/NullEstateData.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Data.Null
42 42
43// private string m_connectionString; 43// private string m_connectionString;
44 44
45 private Dictionary<uint, EstateSettings> m_knownEstates = new Dictionary<uint, EstateSettings>(); 45// private Dictionary<uint, EstateSettings> m_knownEstates = new Dictionary<uint, EstateSettings>();
46 private EstateSettings m_estate = null; 46 private EstateSettings m_estate = null;
47 47
48 private EstateSettings GetEstate() 48 private EstateSettings GetEstate()