aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-13 03:24:23 +0000
committerMelanie Thielker2008-11-13 03:24:23 +0000
commitc18ce34d066fc409f1982caed94217b83c152f58 (patch)
treefede237fd318e1f5499c27d333c211fbeaa1cdc6 /OpenSim/Data/MySQL
parent* Rename scene tests to scene object tests since that is what they are actual... (diff)
downloadopensim-SC_OLD-c18ce34d066fc409f1982caed94217b83c152f58.zip
opensim-SC_OLD-c18ce34d066fc409f1982caed94217b83c152f58.tar.gz
opensim-SC_OLD-c18ce34d066fc409f1982caed94217b83c152f58.tar.bz2
opensim-SC_OLD-c18ce34d066fc409f1982caed94217b83c152f58.tar.xz
Update avatar picker search to work with OpenSearch people search
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLUserData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs
index 82b5bbc..288ca86 100644
--- a/OpenSim/Data/MySQL/MySQLUserData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserData.cs
@@ -422,7 +422,7 @@ namespace OpenSim.Data.MySQL
422 422
423 string[] querysplit; 423 string[] querysplit;
424 querysplit = query.Split(' '); 424 querysplit = query.Split(' ');
425 if (querysplit.Length == 2) 425 if (querysplit.Length > 1 && querysplit[1].Trim() != String.Empty)
426 { 426 {
427 Dictionary<string, string> param = new Dictionary<string, string>(); 427 Dictionary<string, string> param = new Dictionary<string, string>();
428 param["?first"] = objAlphaNumericPattern.Replace(querysplit[0], String.Empty) + "%"; 428 param["?first"] = objAlphaNumericPattern.Replace(querysplit[0], String.Empty) + "%";
@@ -460,7 +460,7 @@ namespace OpenSim.Data.MySQL
460 dbm.Release(); 460 dbm.Release();
461 } 461 }
462 } 462 }
463 else if (querysplit.Length == 1) 463 else
464 { 464 {
465 MySQLSuperManager dbm = GetLockedConnection("GeneratePickerResults"); 465 MySQLSuperManager dbm = GetLockedConnection("GeneratePickerResults");
466 466