From 0f9918f1d3df19e4feeb6a742de376aebe4d6f2f Mon Sep 17 00:00:00 2001
From: Charles Krinke
Date: Wed, 7 Jan 2009 15:03:41 +0000
Subject: Thank you kindly, StrawberryFride for a patch that: Solves the
 problem of unable to load prim items on region start in MSSQL. The error was
 in the MSSQLRegionData code that loads objects from the database, due to
 reliance on the ParentID field that is not used.

---
 OpenSim/Data/MSSQL/Resources/012_RegionStore.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 OpenSim/Data/MSSQL/Resources/012_RegionStore.sql

(limited to 'OpenSim/Data/MSSQL/Resources/012_RegionStore.sql')

diff --git a/OpenSim/Data/MSSQL/Resources/012_RegionStore.sql b/OpenSim/Data/MSSQL/Resources/012_RegionStore.sql
new file mode 100644
index 0000000..8edc823
--- /dev/null
+++ b/OpenSim/Data/MSSQL/Resources/012_RegionStore.sql
@@ -0,0 +1,5 @@
+BEGIN TRANSACTION
+
+ALTER TABLE prims ADD LinkNumber integer not null default 0
+
+COMMIT
-- 
cgit v1.1

