diff options
author | Melanie | 2010-12-07 01:07:57 +0100 |
---|---|---|
committer | Melanie | 2010-12-07 01:07:57 +0100 |
commit | b325721d6f8e5915b2c77a76c9ed14e15a4e1645 (patch) | |
tree | d67b6bc610c0651e1e58225fdf7ae8fe11995d62 /OpenSim/Data/MySQL | |
parent | Cowardly refuse to keep running when no application plugins are loaded. (diff) | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-b325721d6f8e5915b2c77a76c9ed14e15a4e1645.zip opensim-SC-b325721d6f8e5915b2c77a76c9ed14e15a4e1645.tar.gz opensim-SC-b325721d6f8e5915b2c77a76c9ed14e15a4e1645.tar.bz2 opensim-SC-b325721d6f8e5915b2c77a76c9ed14e15a4e1645.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLRegionData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/Resources/GridStore.migrations | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs index efefad9..d04e3dc 100644 --- a/OpenSim/Data/MySQL/MySQLRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLRegionData.cs | |||
@@ -212,8 +212,8 @@ namespace OpenSim.Data.MySQL | |||
212 | if (data.Data.ContainsKey("locY")) | 212 | if (data.Data.ContainsKey("locY")) |
213 | data.Data.Remove("locY"); | 213 | data.Data.Remove("locY"); |
214 | 214 | ||
215 | if (data.RegionName.Length > 32) | 215 | if (data.RegionName.Length > 128) |
216 | data.RegionName = data.RegionName.Substring(0, 32); | 216 | data.RegionName = data.RegionName.Substring(0, 128); |
217 | 217 | ||
218 | string[] fields = new List<string>(data.Data.Keys).ToArray(); | 218 | string[] fields = new List<string>(data.Data.Keys).ToArray(); |
219 | 219 | ||
diff --git a/OpenSim/Data/MySQL/Resources/GridStore.migrations b/OpenSim/Data/MySQL/Resources/GridStore.migrations index 523a8ac..eda6dbb 100644 --- a/OpenSim/Data/MySQL/Resources/GridStore.migrations +++ b/OpenSim/Data/MySQL/Resources/GridStore.migrations | |||
@@ -87,3 +87,10 @@ ALTER TABLE `regions` ADD COLUMN `Token` varchar(255) NOT NULL; | |||
87 | COMMIT; | 87 | COMMIT; |
88 | 88 | ||
89 | 89 | ||
90 | :VERSION 8 # ------------ | ||
91 | |||
92 | BEGIN; | ||
93 | |||
94 | alter table regions modify column regionName varchar(128) default NULL; | ||
95 | |||
96 | COMMIT; | ||