diff options
author | Diva Canto | 2010-04-16 15:10:57 -0700 |
---|---|---|
committer | Diva Canto | 2010-04-16 15:10:57 -0700 |
commit | b3e9dd4fc26d772ba61a0751347caf1daf2dd39f (patch) | |
tree | 342a097fd7f04fd1ad71e504fef953bc416b447c /OpenSim/Data/SQLite | |
parent | minor: correctly print out missing item id when it can't be found rather than... (diff) | |
download | opensim-SC_OLD-b3e9dd4fc26d772ba61a0751347caf1daf2dd39f.zip opensim-SC_OLD-b3e9dd4fc26d772ba61a0751347caf1daf2dd39f.tar.gz opensim-SC_OLD-b3e9dd4fc26d772ba61a0751347caf1daf2dd39f.tar.bz2 opensim-SC_OLD-b3e9dd4fc26d772ba61a0751347caf1daf2dd39f.tar.xz |
Bug fix in SQLite/SQLiteUserAccountData.cs: Missing'(' in one of the SQL statements.
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserAccountData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserAccountData.cs b/OpenSim/Data/SQLite/SQLiteUserAccountData.cs index 50e8c23..67cf716 100644 --- a/OpenSim/Data/SQLite/SQLiteUserAccountData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserAccountData.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Data.SQLite | |||
66 | 66 | ||
67 | if (words.Length == 1) | 67 | if (words.Length == 1) |
68 | { | 68 | { |
69 | 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}%')", | 69 | 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}%')", |
70 | m_Realm, scopeID.ToString(), words[0]); | 70 | m_Realm, scopeID.ToString(), words[0]); |
71 | } | 71 | } |
72 | else | 72 | else |