aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MSSQL
diff options
context:
space:
mode:
Diffstat (limited to '')
-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