aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLRegionData.cs
diff options
context:
space:
mode:
authorMelanie2010-08-10 19:49:35 +0100
committerMelanie2010-08-10 19:49:35 +0100
commitc2e5d1d20319be54e7cdc8ae1e5a82c640ea6928 (patch)
treef78ebe5ce10d6b5efa0700e381e751296277b7e6 /OpenSim/Data/MySQL/MySQLRegionData.cs
parentRemove 4000+ DOS line endings. Grrr! (diff)
parentChanging prim color generates event CHANGED_COLOR. (diff)
downloadopensim-SC-c2e5d1d20319be54e7cdc8ae1e5a82c640ea6928.zip
opensim-SC-c2e5d1d20319be54e7cdc8ae1e5a82c640ea6928.tar.gz
opensim-SC-c2e5d1d20319be54e7cdc8ae1e5a82c640ea6928.tar.bz2
opensim-SC-c2e5d1d20319be54e7cdc8ae1e5a82c640ea6928.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLRegionData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLRegionData.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs
index 878b8e8..baa948e 100644
--- a/OpenSim/Data/MySQL/MySQLRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLRegionData.cs
@@ -210,6 +210,9 @@ namespace OpenSim.Data.MySQL
210 if (data.Data.ContainsKey("locY")) 210 if (data.Data.ContainsKey("locY"))
211 data.Data.Remove("locY"); 211 data.Data.Remove("locY");
212 212
213 if (data.RegionName.Length > 32)
214 data.RegionName = data.RegionName.Substring(0, 32);
215
213 string[] fields = new List<string>(data.Data.Keys).ToArray(); 216 string[] fields = new List<string>(data.Data.Keys).ToArray();
214 217
215 using (MySqlCommand cmd = new MySqlCommand()) 218 using (MySqlCommand cmd = new MySqlCommand())