remove some mono compiler warnings
parent
8022400bd4
commit
7bba31e8d9
|
@ -43,7 +43,7 @@ namespace OpenSim.Data.MSSQL
|
||||||
public class MSSQLAvatarData : MSSQLGenericTableHandler<AvatarBaseData>,
|
public class MSSQLAvatarData : MSSQLGenericTableHandler<AvatarBaseData>,
|
||||||
IAvatarData
|
IAvatarData
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
public MSSQLAvatarData(string connectionString, string realm) :
|
public MSSQLAvatarData(string connectionString, string realm) :
|
||||||
base(connectionString, realm, "Avatar")
|
base(connectionString, realm, "Avatar")
|
||||||
|
|
|
@ -40,8 +40,8 @@ namespace OpenSim.Data.MSSQL
|
||||||
{
|
{
|
||||||
public class MSSQLGenericTableHandler<T> where T : class, new()
|
public class MSSQLGenericTableHandler<T> where T : class, new()
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log =
|
// private static readonly ILog m_log =
|
||||||
LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
protected string m_ConnectionString;
|
protected string m_ConnectionString;
|
||||||
protected MSSQLManager m_database; //used for parameter type translation
|
protected MSSQLManager m_database; //used for parameter type translation
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace OpenSim.Data.MSSQL
|
||||||
public class MSSQLGridUserData : MSSQLGenericTableHandler<GridUserData>,
|
public class MSSQLGridUserData : MSSQLGenericTableHandler<GridUserData>,
|
||||||
IGridUserData
|
IGridUserData
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
public MSSQLGridUserData(string connectionString, string realm) :
|
public MSSQLGridUserData(string connectionString, string realm) :
|
||||||
base(connectionString, realm, "GridUserStore")
|
base(connectionString, realm, "GridUserStore")
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace OpenSim.Data.MSSQL
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class MSSQLManager
|
public class MSSQLManager
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Connection string for ADO.net
|
/// Connection string for ADO.net
|
||||||
|
@ -180,8 +180,6 @@ namespace OpenSim.Data.MSSQL
|
||||||
return parameter;
|
return parameter;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static readonly Dictionary<string, string> emptyDictionary = new Dictionary<string, string>();
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Checks if we need to do some migrations to the database
|
/// Checks if we need to do some migrations to the database
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace OpenSim.Data.MSSQL
|
||||||
public class MSSQLPresenceData : MSSQLGenericTableHandler<PresenceData>,
|
public class MSSQLPresenceData : MSSQLGenericTableHandler<PresenceData>,
|
||||||
IPresenceData
|
IPresenceData
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
public MSSQLPresenceData(string connectionString, string realm) :
|
public MSSQLPresenceData(string connectionString, string realm) :
|
||||||
base(connectionString, realm, "Presence")
|
base(connectionString, realm, "Presence")
|
||||||
|
|
|
@ -40,8 +40,8 @@ namespace OpenSim.Data.MSSQL
|
||||||
{
|
{
|
||||||
public class MSSQLXInventoryData : IXInventoryData
|
public class MSSQLXInventoryData : IXInventoryData
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(
|
// private static readonly ILog m_log = LogManager.GetLogger(
|
||||||
MethodBase.GetCurrentMethod().DeclaringType);
|
// MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
private MSSQLGenericTableHandler<XInventoryFolder> m_Folders;
|
private MSSQLGenericTableHandler<XInventoryFolder> m_Folders;
|
||||||
private MSSQLItemHandler m_Items;
|
private MSSQLItemHandler m_Items;
|
||||||
|
|
Loading…
Reference in New Issue