mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Merge branch 'master' into careminster-presence-refactor
This commit is contained in:
@@ -407,9 +407,8 @@ scan_old_style:
|
||||
}
|
||||
|
||||
if (migrations.Count < 1)
|
||||
{
|
||||
m_log.InfoFormat("[MIGRATIONS]: {0} up to date, no migrations to apply", _type);
|
||||
}
|
||||
m_log.DebugFormat("[MIGRATIONS]: {0} data tables already up to date at revision {1}", _type, after);
|
||||
|
||||
return migrations;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,6 +210,9 @@ namespace OpenSim.Data.MySQL
|
||||
if (data.Data.ContainsKey("locY"))
|
||||
data.Data.Remove("locY");
|
||||
|
||||
if (data.RegionName.Length > 32)
|
||||
data.RegionName = data.RegionName.Substring(0, 32);
|
||||
|
||||
string[] fields = new List<string>(data.Data.Keys).ToArray();
|
||||
|
||||
using (MySqlCommand cmd = new MySqlCommand())
|
||||
|
||||
Reference in New Issue
Block a user