Skip to content

Commit

Permalink
Merge branch 'release/opensim-rel-0.9.2.2.8603'
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickson committed Aug 3, 2023
2 parents e534ce5 + 089c82f commit 1e756c0
Show file tree
Hide file tree
Showing 52 changed files with 760 additions and 661 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Denote all files that are truly binary and should not be modified.
*.lsl binary
*.dat binary
*.bmp binary
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/msbuild48.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/msbuildnet6.yml

This file was deleted.

1 change: 0 additions & 1 deletion OpenSim/Addons/OfflineIM/OpenSim.Addons.OfflineIM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<ItemGroup>
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Mono.Addins" Version="1.4.1" />
<PackageReference Include="MySql.Data" Version="8.0.31" />
</ItemGroup>
<ItemGroup>
<Reference Include="Nini">
Expand Down
1 change: 0 additions & 1 deletion OpenSim/Data/MySQL/MySQLAgentPreferencesData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
using System.Data;
using OpenMetaverse;
using OpenSim.Framework;
using MySql.Data.MySqlClient;

namespace OpenSim.Data.MySQL
{
Expand Down
3 changes: 1 addition & 2 deletions OpenSim/Data/MySQL/MySQLAssetData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@
using System.Reflection;
using System.Collections.Generic;
using log4net;
using MySql.Data.MySqlClient;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Data;
using MySqlConnector;

namespace OpenSim.Data.MySQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenSim/Data/MySQL/MySQLAuthenticationData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
using System.Data;
using OpenMetaverse;
using OpenSim.Framework;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace OpenSim.Data.MySQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenSim/Data/MySQL/MySQLAvatarData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
using System.Reflection;
using System.Threading;
using log4net;
using MySqlConnector;
using OpenMetaverse;
using OpenSim.Framework;
using MySql.Data.MySqlClient;

namespace OpenSim.Data.MySQL
{
Expand Down
10 changes: 4 additions & 6 deletions OpenSim/Data/MySQL/MySQLEstateData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@
using System.Data;
using System.Reflection;
using log4net;
using MySql.Data.MySqlClient;
using MySqlConnector;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Region.Framework.Interfaces;
using OpenSim.Data;

namespace OpenSim.Data.MySQL
{
Expand Down Expand Up @@ -498,7 +496,7 @@ public List<int> GetEstatesByOwner(UUID ownerID)
using (MySqlCommand cmd = dbcon.CreateCommand())
{
cmd.CommandText = "select estateID from estate_settings where EstateOwner = ?EstateOwner";
cmd.Parameters.AddWithValue("?EstateOwner", ownerID);
cmd.Parameters.AddWithValue("?EstateOwner", ownerID.ToString());

using (IDataReader reader = cmd.ExecuteReader())
{
Expand Down Expand Up @@ -530,7 +528,7 @@ public bool LinkRegion(UUID regionID, int estateID)
{
cmd.Transaction = transaction;
cmd.CommandText = "delete from estate_map where RegionID = ?RegionID";
cmd.Parameters.AddWithValue("?RegionID", regionID);
cmd.Parameters.AddWithValue("?RegionID", regionID.ToString());

cmd.ExecuteNonQuery();
}
Expand All @@ -539,7 +537,7 @@ public bool LinkRegion(UUID regionID, int estateID)
{
cmd.Transaction = transaction;
cmd.CommandText = "insert into estate_map values (?RegionID, ?EstateID)";
cmd.Parameters.AddWithValue("?RegionID", regionID);
cmd.Parameters.AddWithValue("?RegionID", regionID.ToString());
cmd.Parameters.AddWithValue("?EstateID", estateID);

int ret = cmd.ExecuteNonQuery();
Expand Down
5 changes: 2 additions & 3 deletions OpenSim/Data/MySQL/MySQLFSAssetData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@
using System.Collections.Generic;
using System.Data;
using OpenSim.Framework;
using OpenSim.Framework.Console;
using log4net;
using MySql.Data.MySqlClient;
using OpenMetaverse;
using MySqlConnector;

namespace OpenSim.Data.MySQL
{
Expand Down Expand Up @@ -256,7 +255,7 @@ public bool Store(AssetMetadata meta, string hash)
catch(Exception e)
{
m_log.Error("[FSAssets] Failed to store asset with ID " + meta.ID);
m_log.Error(e.ToString());
m_log.Error(e.ToString());
return false;
}
}
Expand Down
7 changes: 1 addition & 6 deletions OpenSim/Data/MySQL/MySQLFramework.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

using MySqlConnector;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using OpenMetaverse;
using OpenSim.Framework;
using MySql.Data.MySqlClient;

namespace OpenSim.Data.MySQL
{
Expand Down
6 changes: 1 addition & 5 deletions OpenSim/Data/MySQL/MySQLFriendsData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@
*/

using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using MySqlConnector;
using OpenMetaverse;
using OpenSim.Framework;
using MySql.Data.MySqlClient;

namespace OpenSim.Data.MySQL
{
Expand Down
5 changes: 2 additions & 3 deletions OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
using System.Data;
using System.Reflection;
using System.Text;
using MySql.Data.MySqlClient;
using MySqlConnector;
using OpenMetaverse;

namespace OpenSim.Data.MySQL
Expand Down Expand Up @@ -107,8 +107,7 @@ private void CheckColumnNames(IDataReader reader)
DataTable schemaTable = reader.GetSchemaTable();
foreach (DataRow row in schemaTable.Rows)
{
if (row["ColumnName"] != null &&
(!m_Fields.ContainsKey(row["ColumnName"].ToString())))
if (row["ColumnName"] != null && (!m_Fields.ContainsKey(row["ColumnName"].ToString())))
columnNames.Add(row["ColumnName"].ToString());
}

Expand Down
8 changes: 0 additions & 8 deletions OpenSim/Data/MySQL/MySQLGridUserData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@
*/

using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
using System.Threading;
using log4net;
using OpenMetaverse;
using OpenSim.Framework;
using MySql.Data.MySqlClient;

namespace OpenSim.Data.MySQL
{
Expand Down
7 changes: 1 addition & 6 deletions OpenSim/Data/MySQL/MySQLGroupsData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,10 @@
*/

using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;

using OpenSim.Framework;
using OpenSim.Data.MySQL;

using OpenMetaverse;
using MySql.Data.MySqlClient;
using MySqlConnector;

namespace OpenSim.Data.MySQL
{
Expand Down
8 changes: 1 addition & 7 deletions OpenSim/Data/MySQL/MySQLHGTravelData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,8 @@
*/

using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
using System.Threading;
using log4net;
using MySqlConnector;
using OpenMetaverse;
using OpenSim.Framework;
using MySql.Data.MySqlClient;

namespace OpenSim.Data.MySQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenSim/Data/MySQL/MySQLInventoryData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
using System.Collections.Generic;
using System.Reflection;
using log4net;
using MySql.Data.MySqlClient;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Data;
using MySqlConnector;

namespace OpenSim.Data.MySQL
{
Expand Down
Loading

0 comments on commit 1e756c0

Please sign in to comment.