clean some spurius chars and a few other things. Thanks Vincent Sylvester

This commit is contained in:
UbitUmarov
2022-11-12 02:49:01 +00:00
parent 472c243362
commit d9380c9b83
57 changed files with 111 additions and 112 deletions

View File

@@ -301,7 +301,7 @@ namespace OpenSim.Data.MySQL
while (r.Read())
{
EstateBan eb = new EstateBan();
eb.BannedUserID = DBGuid.FromDB(r["bannedUUID"]); ;
eb.BannedUserID = DBGuid.FromDB(r["bannedUUID"]);
eb.BannedHostAddress = "0.0.0.0";
eb.BannedHostIPMask = "0.0.0.0";
eb.BanningUserID = DBGuid.FromDB(r["banningUUID"]);

View File

@@ -697,7 +697,7 @@ namespace OpenSim.Data.MySQL
try
{
List<InventoryFolderBase> folders = new List<InventoryFolderBase>();
Dictionary<UUID, List<InventoryFolderBase>> hashtable = new Dictionary<UUID, List<InventoryFolderBase>>(); ;
Dictionary<UUID, List<InventoryFolderBase>> hashtable = new Dictionary<UUID, List<InventoryFolderBase>>();
List<InventoryFolderBase> parentFolder = new List<InventoryFolderBase>();
bool buildResultsFromHashTable = false;

View File

@@ -210,7 +210,7 @@ namespace OpenSim.Data.PGSQL
{
while (reader.Read())
{
UUID id = DBGuid.FromDB(reader["id"]);;
UUID id = DBGuid.FromDB(reader["id"]);
exists.Add(id);
}
}

View File

@@ -337,8 +337,8 @@ BEGIN;
ALTER TABLE `prims` ADD COLUMN `PassTouches` BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE `prims` ADD COLUMN `PassCollisions`BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE `prims` ADD COLUMN `Vehicle` TEXT default NULL;
ALTER TABLE `regionsettings` ADD COLUMN `block_search` BOOLEAN NOT NULL DEFAULT FALSE;;
ALTER TABLE `regionsettings` ADD COLUMN `casino` BOOLEAN NOT NULL DEFAULT FALSE;;
ALTER TABLE `regionsettings` ADD COLUMN `block_search` BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE `regionsettings` ADD COLUMN `casino` BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE `land` ADD COLUMN `SeeAVs` BOOLEAN NOT NULL DEFAULT TRUE;
ALTER TABLE `land` ADD COLUMN `AnyAVSounds` BOOLEAN NOT NULL DEFAULT TRUE;
ALTER TABLE `land` ADD COLUMN `GroupAVSounds` BOOLEAN NOT NULL DEFAULT TRUE;

View File

@@ -241,7 +241,7 @@ namespace OpenSim.Data.SQLite
using (SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand())
{
cmd.CommandText = "update estate_settings set " + String.Join(", ", terms.ToArray()) + " where EstateID = :EstateID"; ;
cmd.CommandText = "update estate_settings set " + String.Join(", ", terms.ToArray()) + " where EstateID = :EstateID";
cmd.Parameters.AddWithValue(":EstateID", es.EstateID);
foreach (string name in FieldList)
@@ -286,7 +286,7 @@ namespace OpenSim.Data.SQLite
{
EstateBan eb = new EstateBan();
eb.BannedUserID = DBGuid.FromDB(r["bannedUUID"]); ;
eb.BannedUserID = DBGuid.FromDB(r["bannedUUID"]);
eb.BannedHostAddress = "0.0.0.0";
eb.BannedHostIPMask = "0.0.0.0";
eb.BanningUserID = DBGuid.FromDB(r["banningUUID"]);

View File

@@ -2173,7 +2173,7 @@ namespace OpenSim.Data.SQLite
if (prim.KeyframeMotion != null)
row["KeyframeMotion"] = prim.KeyframeMotion.Serialize();
else
row["KeyframeMotion"] = Array.Empty<byte>(); ;
row["KeyframeMotion"] = Array.Empty<byte>();
row["PassTouches"] = prim.PassTouches;
row["PassCollisions"] = prim.PassCollisions;
@@ -2867,10 +2867,6 @@ namespace OpenSim.Data.SQLite
{
return DbType.Byte;
}
else if (type == typeof(Double))
{
return DbType.Double;
}
else if (type == typeof(Byte[]))
{
return DbType.Binary;