aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-03 08:30:36 +0000
committerTeravus Ovares2008-03-03 08:30:36 +0000
commitfe49c96ee0db0974a91b9b175ac1b00aef035797 (patch)
tree27fb1de9eea228d2e89e1c5b1c83cca8577b3bd9 /OpenSim/Framework/Data.SQLite
parent* Doh, forgot one license header (diff)
downloadopensim-SC_OLD-fe49c96ee0db0974a91b9b175ac1b00aef035797.zip
opensim-SC_OLD-fe49c96ee0db0974a91b9b175ac1b00aef035797.tar.gz
opensim-SC_OLD-fe49c96ee0db0974a91b9b175ac1b00aef035797.tar.bz2
opensim-SC_OLD-fe49c96ee0db0974a91b9b175ac1b00aef035797.tar.xz
* Applying Ahzz's profile patch. Thanks Ahzz!
* Fixed a few bugs in the patch that are sim crashers. * There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
Diffstat (limited to 'OpenSim/Framework/Data.SQLite')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteUserData.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
index 2316de8..22f0053 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
@@ -590,7 +590,7 @@ namespace OpenSim.Framework.Data.SQLite
590 // interesting has to be done to actually get these values 590 // interesting has to be done to actually get these values
591 // back out. Not enough time to figure it out yet. 591 // back out. Not enough time to figure it out yet.
592 UserProfileData user = new UserProfileData(); 592 UserProfileData user = new UserProfileData();
593 user.UUID = new LLUUID((String) row["UUID"]); 593 LLUUID.TryParse((String)row["UUID"], out user.UUID);
594 user.username = (String) row["username"]; 594 user.username = (String) row["username"];
595 user.surname = (String) row["surname"]; 595 user.surname = (String) row["surname"];
596 user.passwordHash = (String) row["passwordHash"]; 596 user.passwordHash = (String) row["passwordHash"];
@@ -617,8 +617,8 @@ namespace OpenSim.Framework.Data.SQLite
617 user.profileWantDoMask = Convert.ToUInt32(row["profileWantDoMask"]); 617 user.profileWantDoMask = Convert.ToUInt32(row["profileWantDoMask"]);
618 user.profileAboutText = (String) row["profileAboutText"]; 618 user.profileAboutText = (String) row["profileAboutText"];
619 user.profileFirstText = (String) row["profileFirstText"]; 619 user.profileFirstText = (String) row["profileFirstText"];
620 user.profileImage = new LLUUID((String) row["profileImage"]); 620 LLUUID.TryParse((String)row["profileImage"], out user.profileImage);
621 user.profileFirstImage = new LLUUID((String) row["profileFirstImage"]); 621 LLUUID.TryParse((String)row["profileFirstImage"], out user.profileFirstImage);
622 user.webLoginKey = new LLUUID((String) row["webLoginKey"]); 622 user.webLoginKey = new LLUUID((String) row["webLoginKey"]);
623 623
624 return user; 624 return user;
@@ -832,4 +832,4 @@ namespace OpenSim.Framework.Data.SQLite
832 return true; 832 return true;
833 } 833 }
834 } 834 }
835} \ No newline at end of file 835}