mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
clean some spurius chars and a few other things. Thanks Vincent Sylvester
This commit is contained in:
@@ -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"]);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"]);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user