diff options
author | Melanie | 2012-08-15 02:06:22 +0100 |
---|---|---|
committer | Melanie | 2012-08-15 02:06:22 +0100 |
commit | dc82ad0f7abe5f09675dfc3768da2a0134503916 (patch) | |
tree | e0745126d25725ca5650a088de9d54fd4e6bf349 /OpenSim/Data/MySQL | |
parent | Actually add the module (diff) | |
download | opensim-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/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 13 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/Resources/RegionStore.migrations | 7 |
2 files changed, 20 insertions, 0 deletions
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 | ||
896 | COMMIT; | 896 | COMMIT; |
897 | 897 | ||
898 | :VERSION 45 | ||
899 | |||
900 | BEGIN; | ||
901 | |||
902 | CREATE TABLE `regionextra` (`RegionID` char(36) not null, `Name` varchar(32) not null, `value` text, primary key(`RegionID`, `Name`)); | ||
903 | |||
904 | COMMIT; | ||