aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data.MSSQL/MSSQLManager.cs')
-rw-r--r--OpenSim/Framework/Data.MSSQL/MSSQLManager.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs b/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs
index bf57492..3a70909 100644
--- a/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs
+++ b/OpenSim/Framework/Data.MSSQL/MSSQLManager.cs
@@ -186,7 +186,7 @@ namespace OpenSim.Framework.Data.MSSQL
186 protected static string defineTable(DataTable dt) 186 protected static string defineTable(DataTable dt)
187 { 187 {
188 string sql = "create table " + dt.TableName + "("; 188 string sql = "create table " + dt.TableName + "(";
189 string subsql = ""; 189 string subsql = String.Empty;
190 foreach (DataColumn col in dt.Columns) 190 foreach (DataColumn col in dt.Columns)
191 { 191 {
192 if (subsql.Length > 0) 192 if (subsql.Length > 0)
@@ -337,7 +337,7 @@ namespace OpenSim.Framework.Data.MSSQL
337 337
338 // World Map Addition 338 // World Map Addition
339 string tempRegionMap = reader["regionMapTexture"].ToString(); 339 string tempRegionMap = reader["regionMapTexture"].ToString();
340 if (tempRegionMap != "") 340 if (tempRegionMap != String.Empty)
341 { 341 {
342 regionprofile.regionMapTextureID = new LLUUID(tempRegionMap); 342 regionprofile.regionMapTextureID = new LLUUID(tempRegionMap);
343 } 343 }
@@ -644,12 +644,12 @@ namespace OpenSim.Framework.Data.MSSQL
644 parameters["homeLookAtZ"] = homeLookAtZ.ToString(); 644 parameters["homeLookAtZ"] = homeLookAtZ.ToString();
645 parameters["created"] = created.ToString(); 645 parameters["created"] = created.ToString();
646 parameters["lastLogin"] = lastlogin.ToString(); 646 parameters["lastLogin"] = lastlogin.ToString();
647 parameters["userInventoryURI"] = ""; 647 parameters["userInventoryURI"] = String.Empty;
648 parameters["userAssetURI"] = ""; 648 parameters["userAssetURI"] = String.Empty;
649 parameters["profileCanDoMask"] = "0"; 649 parameters["profileCanDoMask"] = "0";
650 parameters["profileWantDoMask"] = "0"; 650 parameters["profileWantDoMask"] = "0";
651 parameters["profileAboutText"] = ""; 651 parameters["profileAboutText"] = String.Empty;
652 parameters["profileFirstText"] = ""; 652 parameters["profileFirstText"] = String.Empty;
653 parameters["profileImage"] = LLUUID.Zero.ToString(); 653 parameters["profileImage"] = LLUUID.Zero.ToString();
654 parameters["profileFirstImage"] = LLUUID.Zero.ToString(); 654 parameters["profileFirstImage"] = LLUUID.Zero.ToString();
655 parameters["webLoginKey"] = LLUUID.Random().ToString(); 655 parameters["webLoginKey"] = LLUUID.Random().ToString();