diff options
author | Charles Krinke | 2009-06-10 17:53:06 +0000 |
---|---|---|
committer | Charles Krinke | 2009-06-10 17:53:06 +0000 |
commit | 831264fc984dee0c97776db133472ccd2c58d1a3 (patch) | |
tree | c487e461ec5436fa924c657140438483a70f2ac2 /OpenSim/Data/SQLite/SQLiteUserData.cs | |
parent | Removing the default reading of AssetCaching on all cache modules. (diff) | |
download | opensim-SC_OLD-831264fc984dee0c97776db133472ccd2c58d1a3.zip opensim-SC_OLD-831264fc984dee0c97776db133472ccd2c58d1a3.tar.gz opensim-SC_OLD-831264fc984dee0c97776db133472ccd2c58d1a3.tar.bz2 opensim-SC_OLD-831264fc984dee0c97776db133472ccd2c58d1a3.tar.xz |
Thank you kindly, BlueWall, for a patch that solves:
SQLite error on creating user.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserData.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs index 74d2633..b9f3515 100644 --- a/OpenSim/Data/SQLite/SQLiteUserData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserData.cs | |||
@@ -1016,7 +1016,7 @@ namespace OpenSim.Data.SQLite | |||
1016 | 1016 | ||
1017 | row["homeRegionX"] = user.HomeRegionX; | 1017 | row["homeRegionX"] = user.HomeRegionX; |
1018 | row["homeRegionY"] = user.HomeRegionY; | 1018 | row["homeRegionY"] = user.HomeRegionY; |
1019 | row["homeRegionID"] = user.HomeRegionID; | 1019 | row["homeRegionID"] = user.HomeRegionID.ToString(); |
1020 | row["homeLocationX"] = user.HomeLocation.X; | 1020 | row["homeLocationX"] = user.HomeLocation.X; |
1021 | row["homeLocationY"] = user.HomeLocation.Y; | 1021 | row["homeLocationY"] = user.HomeLocation.Y; |
1022 | row["homeLocationZ"] = user.HomeLocation.Z; | 1022 | row["homeLocationZ"] = user.HomeLocation.Z; |
@@ -1026,16 +1026,16 @@ namespace OpenSim.Data.SQLite | |||
1026 | 1026 | ||
1027 | row["created"] = user.Created; | 1027 | row["created"] = user.Created; |
1028 | row["lastLogin"] = user.LastLogin; | 1028 | row["lastLogin"] = user.LastLogin; |
1029 | row["rootInventoryFolderID"] = user.RootInventoryFolderID; | 1029 | row["rootInventoryFolderID"] = user.RootInventoryFolderID.ToString(); |
1030 | row["userInventoryURI"] = user.UserInventoryURI; | 1030 | row["userInventoryURI"] = user.UserInventoryURI; |
1031 | row["userAssetURI"] = user.UserAssetURI; | 1031 | row["userAssetURI"] = user.UserAssetURI; |
1032 | row["profileCanDoMask"] = user.CanDoMask; | 1032 | row["profileCanDoMask"] = user.CanDoMask; |
1033 | row["profileWantDoMask"] = user.WantDoMask; | 1033 | row["profileWantDoMask"] = user.WantDoMask; |
1034 | row["profileAboutText"] = user.AboutText; | 1034 | row["profileAboutText"] = user.AboutText; |
1035 | row["profileFirstText"] = user.FirstLifeAboutText; | 1035 | row["profileFirstText"] = user.FirstLifeAboutText; |
1036 | row["profileImage"] = user.Image; | 1036 | row["profileImage"] = user.Image.ToString(); |
1037 | row["profileFirstImage"] = user.FirstLifeImage; | 1037 | row["profileFirstImage"] = user.FirstLifeImage.ToString(); |
1038 | row["webLoginKey"] = user.WebLoginKey; | 1038 | row["webLoginKey"] = user.WebLoginKey.ToString(); |
1039 | row["userFlags"] = user.UserFlags; | 1039 | row["userFlags"] = user.UserFlags; |
1040 | row["godLevel"] = user.GodLevel; | 1040 | row["godLevel"] = user.GodLevel; |
1041 | row["customType"] = user.CustomType == null ? "" : user.CustomType; | 1041 | row["customType"] = user.CustomType == null ? "" : user.CustomType; |
@@ -1149,12 +1149,12 @@ namespace OpenSim.Data.SQLite | |||
1149 | row["agentIP"] = ua.AgentIP; | 1149 | row["agentIP"] = ua.AgentIP; |
1150 | row["agentPort"] = ua.AgentPort; | 1150 | row["agentPort"] = ua.AgentPort; |
1151 | row["agentOnline"] = ua.AgentOnline; | 1151 | row["agentOnline"] = ua.AgentOnline; |
1152 | row["sessionID"] = ua.SessionID; | 1152 | row["sessionID"] = ua.SessionID.ToString(); |
1153 | row["secureSessionID"] = ua.SecureSessionID; | 1153 | row["secureSessionID"] = ua.SecureSessionID.ToString(); |
1154 | row["regionID"] = ua.InitialRegion; | 1154 | row["regionID"] = ua.InitialRegion.ToString(); |
1155 | row["loginTime"] = ua.LoginTime; | 1155 | row["loginTime"] = ua.LoginTime; |
1156 | row["logoutTime"] = ua.LogoutTime; | 1156 | row["logoutTime"] = ua.LogoutTime; |
1157 | row["currentRegion"] = ua.Region; | 1157 | row["currentRegion"] = ua.Region.ToString(); |
1158 | row["currentHandle"] = ua.Handle.ToString(); | 1158 | row["currentHandle"] = ua.Handle.ToString(); |
1159 | // vectors | 1159 | // vectors |
1160 | row["currentPosX"] = ua.Position.X; | 1160 | row["currentPosX"] = ua.Position.X; |