diff options
author | Jeff Ames | 2007-11-29 07:22:11 +0000 |
---|---|---|
committer | Jeff Ames | 2007-11-29 07:22:11 +0000 |
commit | 6d7ce67db1c62f5436cf8aa6819c545097a66f96 (patch) | |
tree | f7e0af28c85e2363faba4737f83449f64f11a5a3 /OpenSim/Framework/Data.SQLite | |
parent | * minor refactorings (diff) | |
download | opensim-SC_OLD-6d7ce67db1c62f5436cf8aa6819c545097a66f96.zip opensim-SC_OLD-6d7ce67db1c62f5436cf8aa6819c545097a66f96.tar.gz opensim-SC_OLD-6d7ce67db1c62f5436cf8aa6819c545097a66f96.tar.bz2 opensim-SC_OLD-6d7ce67db1c62f5436cf8aa6819c545097a66f96.tar.xz |
fixed duplicate login in standalone mode (mostly untested in grid mode)
Diffstat (limited to 'OpenSim/Framework/Data.SQLite')
-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; |