aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLiteNG/Resources/004_AssetStore.sql
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-04-23 17:17:15 +0100
committerJustin Clark-Casey (justincc)2010-04-23 17:17:15 +0100
commita23bebdc0f106c19de09e54d88eebc6b086fdaab (patch)
tree5a0141201ae27b796608f0af77f4d9a1e1cd1d19 /OpenSim/Data/SQLiteNG/Resources/004_AssetStore.sql
parentminor: change a comment and replace some magic numbers with the AssetType enum (diff)
downloadopensim-SC_OLD-a23bebdc0f106c19de09e54d88eebc6b086fdaab.zip
opensim-SC_OLD-a23bebdc0f106c19de09e54d88eebc6b086fdaab.tar.gz
opensim-SC_OLD-a23bebdc0f106c19de09e54d88eebc6b086fdaab.tar.bz2
opensim-SC_OLD-a23bebdc0f106c19de09e54d88eebc6b086fdaab.tar.xz
Duplicate OpenSim.Data.SQLite into OpenSim.Data.SQLiteNG. SQLiteNG will shortly be changed to work under mono 2.6 and above
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLiteNG/Resources/004_AssetStore.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLiteNG/Resources/004_AssetStore.sql b/OpenSim/Data/SQLiteNG/Resources/004_AssetStore.sql
new file mode 100644
index 0000000..39421c4
--- /dev/null
+++ b/OpenSim/Data/SQLiteNG/Resources/004_AssetStore.sql
@@ -0,0 +1,7 @@
1BEGIN;
2
3update assets
4 set UUID = substr(UUID, 1, 8) || "-" || substr(UUID, 9, 4) || "-" || substr(UUID, 13, 4) || "-" || substr(UUID, 17, 4) || "-" || substr(UUID, 21, 12)
5 where UUID not like '%-%';
6
7COMMIT;