aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLRegionData.cs
diff options
context:
space:
mode:
authorMelanie2010-08-10 19:34:57 +0100
committerMelanie2010-08-10 19:34:57 +0100
commit75f92faeb4df65eaca9397a8b8370645bbb1018a (patch)
tree98a36c63a23bc7af569b06ff71a6630cf2e4ce9b /OpenSim/Data/MySQL/MySQLRegionData.cs
parentAvoid truncation of error message during region creation. (diff)
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-75f92faeb4df65eaca9397a8b8370645bbb1018a.zip
opensim-SC_OLD-75f92faeb4df65eaca9397a8b8370645bbb1018a.tar.gz
opensim-SC_OLD-75f92faeb4df65eaca9397a8b8370645bbb1018a.tar.bz2
opensim-SC_OLD-75f92faeb4df65eaca9397a8b8370645bbb1018a.tar.xz
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
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())