aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorMelanie2012-08-15 02:06:22 +0100
committerMelanie2012-08-15 02:06:22 +0100
commitdc82ad0f7abe5f09675dfc3768da2a0134503916 (patch)
treee0745126d25725ca5650a088de9d54fd4e6bf349 /OpenSim/Data
parentActually add the module (diff)
downloadopensim-SC_OLD-dc82ad0f7abe5f09675dfc3768da2a0134503916.zip
opensim-SC_OLD-dc82ad0f7abe5f09675dfc3768da2a0134503916.tar.gz
opensim-SC_OLD-dc82ad0f7abe5f09675dfc3768da2a0134503916.tar.bz2
opensim-SC_OLD-dc82ad0f7abe5f09675dfc3768da2a0134503916.tar.xz
Add a skeleton for a name value storage associated with regions
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLSimulationData.cs13
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs13
-rw-r--r--OpenSim/Data/MySQL/Resources/RegionStore.migrations7
-rw-r--r--OpenSim/Data/Null/NullSimulationData.cs13
-rw-r--r--OpenSim/Data/SQLite/SQLiteSimulationData.cs12
5 files changed, 58 insertions, 0 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLSimulationData.cs b/OpenSim/Data/MSSQL/MSSQLSimulationData.cs
index 3f29f5b..17f42e1 100644
--- a/OpenSim/Data/MSSQL/MSSQLSimulationData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLSimulationData.cs
@@ -2202,5 +2202,18 @@ VALUES
2202 } 2202 }
2203 } 2203 }
2204 } 2204 }
2205
2206 public void SaveExtra(UUID regionID, string name, string value)
2207 {
2208 }
2209
2210 public void RemoveExtra(UUID regionID, string name)
2211 {
2212 }
2213
2214 public Dictionary<string, string> GetExtra(UUID regionID)
2215 {
2216 return null;
2217 }
2205 } 2218 }
2206} 2219}
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs
index 1a2e113..be985ab 100644
--- a/OpenSim/Data/MySQL/MySQLSimulationData.cs
+++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs
@@ -1966,5 +1966,18 @@ namespace OpenSim.Data.MySQL
1966 } 1966 }
1967 } 1967 }
1968 } 1968 }
1969
1970 public void SaveExtra(UUID regionID, string name, string val)
1971 {
1972 }
1973
1974 public void RemoveExtra(UUID regionID, string name)
1975 {
1976 }
1977
1978 public Dictionary<string, string> GetExtra(UUID regionID)
1979 {
1980 return null;
1981 }
1969 } 1982 }
1970} 1983}
diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations
index 4a925fb..5b59779 100644
--- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations
@@ -895,3 +895,10 @@ CREATE TABLE `regionenvironment` (
895 895
896COMMIT; 896COMMIT;
897 897
898:VERSION 45
899
900BEGIN;
901
902CREATE TABLE `regionextra` (`RegionID` char(36) not null, `Name` varchar(32) not null, `value` text, primary key(`RegionID`, `Name`));
903
904COMMIT;
diff --git a/OpenSim/Data/Null/NullSimulationData.cs b/OpenSim/Data/Null/NullSimulationData.cs
index 8f2314f..4979cf6 100644
--- a/OpenSim/Data/Null/NullSimulationData.cs
+++ b/OpenSim/Data/Null/NullSimulationData.cs
@@ -151,5 +151,18 @@ namespace OpenSim.Data.Null
151 public void Shutdown() 151 public void Shutdown()
152 { 152 {
153 } 153 }
154
155 public void SaveExtra(UUID regionID, string name, string value)
156 {
157 }
158
159 public void RemoveExtra(UUID regionID, string name)
160 {
161 }
162
163 public Dictionary<string, string> GetExtra(UUID regionID)
164 {
165 return null;
166 }
154 } 167 }
155} 168}
diff --git a/OpenSim/Data/SQLite/SQLiteSimulationData.cs b/OpenSim/Data/SQLite/SQLiteSimulationData.cs
index f40e866..56df3cb 100644
--- a/OpenSim/Data/SQLite/SQLiteSimulationData.cs
+++ b/OpenSim/Data/SQLite/SQLiteSimulationData.cs
@@ -2890,5 +2890,17 @@ namespace OpenSim.Data.SQLite
2890 } 2890 }
2891 } 2891 }
2892 2892
2893 public void SaveExtra(UUID regionID, string name, string value)
2894 {
2895 }
2896
2897 public void RemoveExtra(UUID regionID, string name)
2898 {
2899 }
2900
2901 public Dictionary<string, string> GetExtra(UUID regionID)
2902 {
2903 return null;
2904 }
2893 } 2905 }
2894} 2906}