diff options
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLManager.cs')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLManager.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLManager.cs b/OpenSim/Framework/Data.MySQL/MySQLManager.cs index 7645df3..15ccf5f 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLManager.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLManager.cs | |||
@@ -323,7 +323,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
323 | 323 | ||
324 | // World Map Addition | 324 | // World Map Addition |
325 | string tempRegionMap = reader["regionMapTexture"].ToString(); | 325 | string tempRegionMap = reader["regionMapTexture"].ToString(); |
326 | if (tempRegionMap != "") | 326 | if (tempRegionMap != String.Empty) |
327 | { | 327 | { |
328 | retval.regionMapTextureID = new LLUUID(tempRegionMap); | 328 | retval.regionMapTextureID = new LLUUID(tempRegionMap); |
329 | } | 329 | } |
@@ -572,12 +572,12 @@ namespace OpenSim.Framework.Data.MySQL | |||
572 | parameters["?homeLookAtZ"] = homeLookAtZ.ToString(); | 572 | parameters["?homeLookAtZ"] = homeLookAtZ.ToString(); |
573 | parameters["?created"] = created.ToString(); | 573 | parameters["?created"] = created.ToString(); |
574 | parameters["?lastLogin"] = lastlogin.ToString(); | 574 | parameters["?lastLogin"] = lastlogin.ToString(); |
575 | parameters["?userInventoryURI"] = ""; | 575 | parameters["?userInventoryURI"] = String.Empty; |
576 | parameters["?userAssetURI"] = ""; | 576 | parameters["?userAssetURI"] = String.Empty; |
577 | parameters["?profileCanDoMask"] = "0"; | 577 | parameters["?profileCanDoMask"] = "0"; |
578 | parameters["?profileWantDoMask"] = "0"; | 578 | parameters["?profileWantDoMask"] = "0"; |
579 | parameters["?profileAboutText"] = ""; | 579 | parameters["?profileAboutText"] = String.Empty; |
580 | parameters["?profileFirstText"] = ""; | 580 | parameters["?profileFirstText"] = String.Empty; |
581 | parameters["?profileImage"] = LLUUID.Zero.ToString(); | 581 | parameters["?profileImage"] = LLUUID.Zero.ToString(); |
582 | parameters["?profileFirstImage"] = LLUUID.Zero.ToString(); | 582 | parameters["?profileFirstImage"] = LLUUID.Zero.ToString(); |
583 | parameters["?webLoginKey"] = LLUUID.Random().ToString(); | 583 | parameters["?webLoginKey"] = LLUUID.Random().ToString(); |
@@ -612,7 +612,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
612 | { | 612 | { |
613 | bool GRID_ONLY_UPDATE_NECESSARY_DATA = false; | 613 | bool GRID_ONLY_UPDATE_NECESSARY_DATA = false; |
614 | 614 | ||
615 | string sql = ""; | 615 | string sql = String.Empty; |
616 | if (GRID_ONLY_UPDATE_NECESSARY_DATA) | 616 | if (GRID_ONLY_UPDATE_NECESSARY_DATA) |
617 | { | 617 | { |
618 | sql += "INSERT INTO "; | 618 | sql += "INSERT INTO "; |