aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-09 04:13:04 +0000
committerTeravus Ovares2008-01-09 04:13:04 +0000
commite1aa83e965440b3e830d599e18ff078104e8a886 (patch)
treeb6f97c44228c41736a7145e8943d4b7c8d535983 /OpenSim/Framework/Data.MySQL/MySQLUserData.cs
parentdump_assets_to_file=true will now cause the asset to go into a UserAssets sub... (diff)
downloadopensim-SC_OLD-e1aa83e965440b3e830d599e18ff078104e8a886.zip
opensim-SC_OLD-e1aa83e965440b3e830d599e18ff078104e8a886.tar.gz
opensim-SC_OLD-e1aa83e965440b3e830d599e18ff078104e8a886.tar.bz2
opensim-SC_OLD-e1aa83e965440b3e830d599e18ff078104e8a886.tar.xz
* Added a hashtable based HTTP processor in preparation of the web_login_key
* Added the web_login_key to the users table * Added happy configurable http error message pages * This update is large enough to have 'awe' value.. so backup your users or weep. * Not tested on MSSQL, even though I added code to update the tables!
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLUserData.cs')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLUserData.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
index 7e2d4f0..e53ab18 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
@@ -114,6 +114,12 @@ namespace OpenSim.Framework.Data.MySQL
114 database.ExecuteResourceSql("CreateUsersTable.sql"); 114 database.ExecuteResourceSql("CreateUsersTable.sql");
115 return; 115 return;
116 } 116 }
117 else if (oldVersion.Contains("Rev. 1"))
118 {
119 database.ExecuteResourceSql("UpgradeUsersTableToVersion2.sql");
120 return;
121 }
122 //MainLog.Instance.Verbose("DB","DBVers:" + oldVersion);
117 } 123 }
118 124
119 /// <summary> 125 /// <summary>
@@ -512,7 +518,7 @@ namespace OpenSim.Framework.Data.MySQL
512 user.lastLogin, user.userInventoryURI, user.userAssetURI, 518 user.lastLogin, user.userInventoryURI, user.userAssetURI,
513 user.profileCanDoMask, user.profileWantDoMask, 519 user.profileCanDoMask, user.profileWantDoMask,
514 user.profileAboutText, user.profileFirstText, user.profileImage, 520 user.profileAboutText, user.profileFirstText, user.profileImage,
515 user.profileFirstImage); 521 user.profileFirstImage, user.webLoginKey);
516 } 522 }
517 } 523 }
518 catch (Exception e) 524 catch (Exception e)