diff options
author | Melanie Thielker | 2008-07-14 01:29:48 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-14 01:29:48 +0000 |
commit | 12173034d94e7deb245bb7e3d1bf8099432ec3b8 (patch) | |
tree | a2f231032650fae46b460ede019786b1562dc4aa /OpenSim/Data | |
parent | Patch #9147 (diff) | |
download | opensim-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.sql | 9 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Resources/005_RegionStore.sql | 5 |
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" | ||
5 | BEGIN; | ||
6 | |||
7 | DELETE FROM regionsettings; | ||
8 | |||
9 | COMMIT; | ||
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 @@ | |||
1 | BEGIN; | ||
2 | |||
3 | delete from regionsettings; | ||
4 | |||
5 | COMMIT; | ||