aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorMelanie Thielker2008-07-14 01:29:48 +0000
committerMelanie Thielker2008-07-14 01:29:48 +0000
commit12173034d94e7deb245bb7e3d1bf8099432ec3b8 (patch)
treea2f231032650fae46b460ede019786b1562dc4aa /OpenSim/Data
parentPatch #9147 (diff)
downloadopensim-SC-12173034d94e7deb245bb7e3d1bf8099432ec3b8.zip
opensim-SC-12173034d94e7deb245bb7e3d1bf8099432ec3b8.tar.gz
opensim-SC-12173034d94e7deb245bb7e3d1bf8099432ec3b8.tar.bz2
opensim-SC-12173034d94e7deb245bb7e3d1bf8099432ec3b8.tar.xz
Patch #9148
Patch 5 in the region settings series. Adds a migration to ensure corrupted data is purged and re-read from defaults. Some changes. Still no full functionality
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MySQL/Resources/010_RegionStore.sql9
-rw-r--r--OpenSim/Data/SQLite/Resources/005_RegionStore.sql5
2 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/Resources/010_RegionStore.sql b/OpenSim/Data/MySQL/Resources/010_RegionStore.sql
new file mode 100644
index 0000000..031a746
--- /dev/null
+++ b/OpenSim/Data/MySQL/Resources/010_RegionStore.sql
@@ -0,0 +1,9 @@
1# 1 "010_RegionStore.sql"
2# 1 "<built-in>"
3# 1 "<command line>"
4# 1 "010_RegionStore.sql"
5BEGIN;
6
7DELETE FROM regionsettings;
8
9COMMIT;
diff --git a/OpenSim/Data/SQLite/Resources/005_RegionStore.sql b/OpenSim/Data/SQLite/Resources/005_RegionStore.sql
new file mode 100644
index 0000000..1f6d1bd
--- /dev/null
+++ b/OpenSim/Data/SQLite/Resources/005_RegionStore.sql
@@ -0,0 +1,5 @@
1BEGIN;
2
3delete from regionsettings;
4
5COMMIT;