aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
diff options
context:
space:
mode:
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)