aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL
diff options
context:
space:
mode:
authorBlueWall2014-03-27 12:21:38 -0400
committerBlueWall2014-03-27 12:21:38 -0400
commita15282f023548ce6e1c6a728d913999ee120e9c1 (patch)
treeb33a39a66549521fe5782d87378b3b4209822e81 /OpenSim/Data/MSSQL
parentFix issue with user picks creation. The snapshot id is UUID.Zero in new parcels. (diff)
parentLog errors in MakeRequest() as INFO, not ERROR. Some communications problems ... (diff)
downloadopensim-SC_OLD-a15282f023548ce6e1c6a728d913999ee120e9c1.zip
opensim-SC_OLD-a15282f023548ce6e1c6a728d913999ee120e9c1.tar.gz
opensim-SC_OLD-a15282f023548ce6e1c6a728d913999ee120e9c1.tar.bz2
opensim-SC_OLD-a15282f023548ce6e1c6a728d913999ee120e9c1.tar.xz
Merge branch 'master' into m_test
Diffstat (limited to 'OpenSim/Data/MSSQL')
-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
3 files changed, 14 insertions, 6 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