mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
Fix SQLite database plugin for UserAccountData queries with a single word.
This commit is contained in:
@@ -66,7 +66,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
if (words.Length == 1)
|
||||
{
|
||||
cmd.CommandText = String.Format("select * from {0} where ScopeID='{1}' or ScopeID='00000000-0000-0000-0000-000000000000') and (FirstName like '{2}%' or LastName like '{2}%')",
|
||||
cmd.CommandText = String.Format("select * from {0} where (ScopeID='{1}' or ScopeID='00000000-0000-0000-0000-000000000000') and (FirstName like '{2}%' or LastName like '{2}%')",
|
||||
m_Realm, scopeID.ToString(), words[0]);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user