aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteUserData.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
index bba5791..48dac87 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
@@ -300,7 +300,8 @@ namespace OpenSim.Framework.Data.SQLite
300 createCol(users, "passwordHash", typeof(System.String)); 300 createCol(users, "passwordHash", typeof(System.String));
301 createCol(users, "passwordSalt", typeof(System.String)); 301 createCol(users, "passwordSalt", typeof(System.String));
302 302
303 createCol(users, "homeRegion", typeof(System.Int64)); 303 createCol(users, "homeRegionX", typeof(System.Int32));
304 createCol(users, "homeRegionY", typeof(System.Int32));
304 createCol(users, "homeLocationX", typeof(System.Double)); 305 createCol(users, "homeLocationX", typeof(System.Double));
305 createCol(users, "homeLocationY", typeof(System.Double)); 306 createCol(users, "homeLocationY", typeof(System.Double));
306 createCol(users, "homeLocationZ", typeof(System.Double)); 307 createCol(users, "homeLocationZ", typeof(System.Double));
@@ -368,7 +369,8 @@ namespace OpenSim.Framework.Data.SQLite
368 user.passwordHash = (String)row["passwordHash"]; 369 user.passwordHash = (String)row["passwordHash"];
369 user.passwordSalt = (String)row["passwordSalt"]; 370 user.passwordSalt = (String)row["passwordSalt"];
370 371
371 // user.homeRegion = Convert.ToUInt64(row["homeRegion"]); 372 user.homeRegionX = Convert.ToUInt32(row["homeRegionX"]);
373 user.homeRegionY = Convert.ToUInt32(row["homeRegionY"]);
372 user.homeLocation = new LLVector3( 374 user.homeLocation = new LLVector3(
373 Convert.ToSingle(row["homeLocationX"]), 375 Convert.ToSingle(row["homeLocationX"]),
374 Convert.ToSingle(row["homeLocationY"]), 376 Convert.ToSingle(row["homeLocationY"]),
@@ -402,7 +404,8 @@ namespace OpenSim.Framework.Data.SQLite
402 row["passwordSalt"] = user.passwordSalt; 404 row["passwordSalt"] = user.passwordSalt;
403 405
404 406
405 row["homeRegion"] = user.homeRegion; 407 row["homeRegionX"] = user.homeRegionX;
408 row["homeRegionY"] = user.homeRegionY;
406 row["homeLocationX"] = user.homeLocation.X; 409 row["homeLocationX"] = user.homeLocation.X;
407 row["homeLocationY"] = user.homeLocation.Y; 410 row["homeLocationY"] = user.homeLocation.Y;
408 row["homeLocationZ"] = user.homeLocation.Z; 411 row["homeLocationZ"] = user.homeLocation.Z;