Change substring matching to prefix matching in region search. This affects

both map and login, as they use the same method.
avinationmerge
Melanie 2010-10-18 22:58:04 +01:00
parent 78a6e5489b
commit ce3594f7f2
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ namespace OpenSim.Services.GridService
{ {
m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name); m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name);
List<RegionData> rdatas = m_Database.Get("%" + name + "%", scopeID); List<RegionData> rdatas = m_Database.Get(name + "%", scopeID);
int count = 0; int count = 0;
List<GridRegion> rinfos = new List<GridRegion>(); List<GridRegion> rinfos = new List<GridRegion>();