aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorlbsa712008-02-13 21:15:05 +0000
committerlbsa712008-02-13 21:15:05 +0000
commit2c48ceedd81225a4e740d4a86457eafc2b22c86e (patch)
treef00ee81507f049f0e906d19627161c896fa31453
parent* Added some more comprehensive log entries on region login. (diff)
downloadopensim-SC_OLD-2c48ceedd81225a4e740d4a86457eafc2b22c86e.zip
opensim-SC_OLD-2c48ceedd81225a4e740d4a86457eafc2b22c86e.tar.gz
opensim-SC_OLD-2c48ceedd81225a4e740d4a86457eafc2b22c86e.tar.bz2
opensim-SC_OLD-2c48ceedd81225a4e740d4a86457eafc2b22c86e.tar.xz
* Fixed bug in avatarpicker so now you can search on single word
[Provided by openlifegrid.com]
-rw-r--r--OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs
index d3a5835..ac45aaa 100644
--- a/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs
+++ b/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs
@@ -374,11 +374,10 @@ namespace OpenSim.Framework.Data.MSSQL
374 { 374 {
375 Dictionary<string, string> param = new Dictionary<string, string>(); 375 Dictionary<string, string> param = new Dictionary<string, string>();
376 param["first"] = querysplit[0]; 376 param["first"] = querysplit[0];
377 param["second"] = querysplit[1];
378 377
379 IDbCommand result = 378 IDbCommand result =
380 database.Query( 379 database.Query(
381 "SELECT UUID,username,surname FROM " + m_usersTableName + " WHERE username = @first OR lastname = @second", 380 "SELECT UUID,username,surname FROM " + m_usersTableName + " WHERE username = @first OR lastname = @first",
382 param); 381 param);
383 IDataReader reader = result.ExecuteReader(); 382 IDataReader reader = result.ExecuteReader();
384 383