aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLGridData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLGridData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLGridData.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGridData.cs b/OpenSim/Data/MySQL/MySQLGridData.cs
index da01ad3..437747b 100644
--- a/OpenSim/Data/MySQL/MySQLGridData.cs
+++ b/OpenSim/Data/MySQL/MySQLGridData.cs
@@ -245,7 +245,7 @@ namespace OpenSim.Data.MySQL
245 245
246 try 246 try
247 { 247 {
248 Dictionary<string, string> param = new Dictionary<string, string>(); 248 Dictionary<string, object> param = new Dictionary<string, object>();
249 param["?xmin"] = xmin.ToString(); 249 param["?xmin"] = xmin.ToString();
250 param["?ymin"] = ymin.ToString(); 250 param["?ymin"] = ymin.ToString();
251 param["?xmax"] = xmax.ToString(); 251 param["?xmax"] = xmax.ToString();
@@ -294,7 +294,7 @@ namespace OpenSim.Data.MySQL
294 294
295 try 295 try
296 { 296 {
297 Dictionary<string, string> param = new Dictionary<string, string>(); 297 Dictionary<string, object> param = new Dictionary<string, object>();
298 param["?name"] = namePrefix + "%"; 298 param["?name"] = namePrefix + "%";
299 299
300 IDbCommand result = 300 IDbCommand result =
@@ -339,7 +339,7 @@ namespace OpenSim.Data.MySQL
339 339
340 try 340 try
341 { 341 {
342 Dictionary<string, string> param = new Dictionary<string, string>(); 342 Dictionary<string, object> param = new Dictionary<string, object>();
343 param["?handle"] = handle.ToString(); 343 param["?handle"] = handle.ToString();
344 344
345 IDbCommand result = dbm.Manager.Query("SELECT * FROM regions WHERE regionHandle = ?handle", param); 345 IDbCommand result = dbm.Manager.Query("SELECT * FROM regions WHERE regionHandle = ?handle", param);
@@ -374,7 +374,7 @@ namespace OpenSim.Data.MySQL
374 374
375 try 375 try
376 { 376 {
377 Dictionary<string, string> param = new Dictionary<string, string>(); 377 Dictionary<string, object> param = new Dictionary<string, object>();
378 param["?uuid"] = uuid.ToString(); 378 param["?uuid"] = uuid.ToString();
379 379
380 IDbCommand result = dbm.Manager.Query("SELECT * FROM regions WHERE uuid = ?uuid", param); 380 IDbCommand result = dbm.Manager.Query("SELECT * FROM regions WHERE uuid = ?uuid", param);
@@ -409,7 +409,7 @@ namespace OpenSim.Data.MySQL
409 409
410 try 410 try
411 { 411 {
412 Dictionary<string, string> param = new Dictionary<string, string>(); 412 Dictionary<string, object> param = new Dictionary<string, object>();
413 // Add % because this is a like query. 413 // Add % because this is a like query.
414 param["?regionName"] = regionName + "%"; 414 param["?regionName"] = regionName + "%";
415 // Order by statement will return shorter matches first. Only returns one record or no record. 415 // Order by statement will return shorter matches first. Only returns one record or no record.
@@ -546,7 +546,7 @@ namespace OpenSim.Data.MySQL
546 546
547 try 547 try
548 { 548 {
549 Dictionary<string, string> param = new Dictionary<string, string>(); 549 Dictionary<string, object> param = new Dictionary<string, object>();
550 param["?x"] = x.ToString(); 550 param["?x"] = x.ToString();
551 param["?y"] = y.ToString(); 551 param["?y"] = y.ToString();
552 IDbCommand result = 552 IDbCommand result =