aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLUserProfilesData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLUserProfilesData.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
index 86f2efe..b35595d 100644
--- a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs
@@ -402,7 +402,7 @@ namespace OpenSim.Data.MySQL
402 bool.TryParse((string)reader["enabled"], out pick.Enabled); 402 bool.TryParse((string)reader["enabled"], out pick.Enabled);
403 pick.Name = (string)reader["name"]; 403 pick.Name = (string)reader["name"];
404 pick.Desc = description; 404 pick.Desc = description;
405 pick.User = (string)reader["user"]; 405 pick.ParcelName = (string)reader["user"];
406 pick.OriginalName = (string)reader["originalname"]; 406 pick.OriginalName = (string)reader["originalname"];
407 pick.SimName = (string)reader["simname"]; 407 pick.SimName = (string)reader["simname"];
408 pick.SortOrder = (int)reader["sortorder"]; 408 pick.SortOrder = (int)reader["sortorder"];
@@ -443,6 +443,8 @@ namespace OpenSim.Data.MySQL
443 query += "parceluuid=?ParcelId,"; 443 query += "parceluuid=?ParcelId,";
444 query += "name=?Name,"; 444 query += "name=?Name,";
445 query += "description=?Desc,"; 445 query += "description=?Desc,";
446 query += "user=?User,";
447 query += "simname=?SimName,";
446 query += "snapshotuuid=?SnapshotId,"; 448 query += "snapshotuuid=?SnapshotId,";
447 query += "pickuuid=?PickId,"; 449 query += "pickuuid=?PickId,";
448 query += "posglobal=?GlobalPos,"; 450 query += "posglobal=?GlobalPos,";
@@ -462,7 +464,7 @@ namespace OpenSim.Data.MySQL
462 cmd.Parameters.AddWithValue("?Name", pick.Name.ToString()); 464 cmd.Parameters.AddWithValue("?Name", pick.Name.ToString());
463 cmd.Parameters.AddWithValue("?Desc", pick.Desc.ToString()); 465 cmd.Parameters.AddWithValue("?Desc", pick.Desc.ToString());
464 cmd.Parameters.AddWithValue("?SnapshotId", pick.SnapshotId.ToString()); 466 cmd.Parameters.AddWithValue("?SnapshotId", pick.SnapshotId.ToString());
465 cmd.Parameters.AddWithValue("?User", pick.User.ToString()); 467 cmd.Parameters.AddWithValue("?User", pick.ParcelName.ToString());
466 cmd.Parameters.AddWithValue("?Original", pick.OriginalName.ToString()); 468 cmd.Parameters.AddWithValue("?Original", pick.OriginalName.ToString());
467 cmd.Parameters.AddWithValue("?SimName",pick.SimName.ToString()); 469 cmd.Parameters.AddWithValue("?SimName",pick.SimName.ToString());
468 cmd.Parameters.AddWithValue("?GlobalPos", pick.GlobalPos); 470 cmd.Parameters.AddWithValue("?GlobalPos", pick.GlobalPos);