diff options
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteUserData.cs')
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs index 1385ffc..f68e751 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | |||
@@ -407,7 +407,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
407 | createCol(ua, "loginTime", typeof (Int32)); | 407 | createCol(ua, "loginTime", typeof (Int32)); |
408 | createCol(ua, "logoutTime", typeof (Int32)); | 408 | createCol(ua, "logoutTime", typeof (Int32)); |
409 | createCol(ua, "currentRegion", typeof (String)); | 409 | createCol(ua, "currentRegion", typeof (String)); |
410 | createCol(ua, "currentHandle", typeof (Int32)); | 410 | createCol(ua, "currentHandle", typeof (String)); |
411 | // vectors | 411 | // vectors |
412 | createCol(ua, "currentPosX", typeof (Double)); | 412 | createCol(ua, "currentPosX", typeof (Double)); |
413 | createCol(ua, "currentPosY", typeof (Double)); | 413 | createCol(ua, "currentPosY", typeof (Double)); |
@@ -518,7 +518,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
518 | ua.loginTime = Convert.ToInt32(row["loginTime"]); | 518 | ua.loginTime = Convert.ToInt32(row["loginTime"]); |
519 | ua.logoutTime = Convert.ToInt32(row["logoutTime"]); | 519 | ua.logoutTime = Convert.ToInt32(row["logoutTime"]); |
520 | ua.currentRegion = new LLUUID((String) row["currentRegion"]); | 520 | ua.currentRegion = new LLUUID((String) row["currentRegion"]); |
521 | ua.currentHandle = Convert.ToUInt32(row["currentHandle"]); | 521 | ua.currentHandle = Convert.ToUInt64(row["currentHandle"]); |
522 | ua.currentPos = new LLVector3( | 522 | ua.currentPos = new LLVector3( |
523 | Convert.ToSingle(row["currentPosX"]), | 523 | Convert.ToSingle(row["currentPosX"]), |
524 | Convert.ToSingle(row["currentPosY"]), | 524 | Convert.ToSingle(row["currentPosY"]), |
@@ -539,7 +539,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
539 | row["loginTime"] = ua.loginTime; | 539 | row["loginTime"] = ua.loginTime; |
540 | row["logoutTime"] = ua.logoutTime; | 540 | row["logoutTime"] = ua.logoutTime; |
541 | row["currentRegion"] = ua.currentRegion; | 541 | row["currentRegion"] = ua.currentRegion; |
542 | row["currentHandle"] = ua.currentHandle; | 542 | row["currentHandle"] = ua.currentHandle.ToString(); |
543 | // vectors | 543 | // vectors |
544 | row["currentPosX"] = ua.currentPos.X; | 544 | row["currentPosX"] = ua.currentPos.X; |
545 | row["currentPosY"] = ua.currentPos.Y; | 545 | row["currentPosY"] = ua.currentPos.Y; |