From 1813946937267edde79cb471c357f6cd85efd8ec Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 7 Jul 2008 19:18:44 +0000 Subject: * remove unused CommitAssets() hook for now --- OpenSim/Data/AssetDataBase.cs | 1 - OpenSim/Data/MSSQL/MSSQLAssetData.cs | 7 ------- OpenSim/Data/MySQL/MySQLAssetData.cs | 7 ------- OpenSim/Data/NHibernate/NHibernateAssetData.cs | 6 ------ OpenSim/Data/SQLite/SQLiteAssetData.cs | 13 ------------- 5 files changed, 34 deletions(-) (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/AssetDataBase.cs b/OpenSim/Data/AssetDataBase.cs index ca1de5a..6e9e085 100644 --- a/OpenSim/Data/AssetDataBase.cs +++ b/OpenSim/Data/AssetDataBase.cs @@ -36,7 +36,6 @@ namespace OpenSim.Data public abstract void CreateAsset(AssetBase asset); public abstract void UpdateAsset(AssetBase asset); public abstract bool ExistsAsset(LLUUID uuid); - public abstract void CommitAssets(); public abstract string Version { get; } public abstract string Name { get; } diff --git a/OpenSim/Data/MSSQL/MSSQLAssetData.cs b/OpenSim/Data/MSSQL/MSSQLAssetData.cs index 3f2e8a7..108ceb1 100644 --- a/OpenSim/Data/MSSQL/MSSQLAssetData.cs +++ b/OpenSim/Data/MSSQL/MSSQLAssetData.cs @@ -203,13 +203,6 @@ namespace OpenSim.Data.MSSQL return false; } - /// - /// All writes are immediately commited to the database, so this is a no-op - /// - override public void CommitAssets() - { - } - #endregion #region IPlugin Members diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index 3557243..6cb0b4c 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs @@ -304,13 +304,6 @@ namespace OpenSim.Data.MySQL return assetExists; } - /// - /// All writes are immediately commited to the database, so this is a no-op - /// - override public void CommitAssets() - { - } - #endregion /// diff --git a/OpenSim/Data/NHibernate/NHibernateAssetData.cs b/OpenSim/Data/NHibernate/NHibernateAssetData.cs index 174667e..eb4e14c 100644 --- a/OpenSim/Data/NHibernate/NHibernateAssetData.cs +++ b/OpenSim/Data/NHibernate/NHibernateAssetData.cs @@ -161,12 +161,6 @@ namespace OpenSim.Data.NHibernate } - override public void CommitAssets() // force a sync to the database - { - m_log.Info("[SQLITE]: Attempting commit"); - } - - public override string Name { get { return "NHibernate"; } } diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs index 8fa09fc..dde05bd 100644 --- a/OpenSim/Data/SQLite/SQLiteAssetData.cs +++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs @@ -223,19 +223,6 @@ namespace OpenSim.Data.SQLite } } - /// - /// commit - /// - override public void CommitAssets() // force a sync to the database - { - m_log.Info("[ASSET DB]: Attempting commit"); - // lock (ds) - // { - // da.Update(ds, "assets"); - // ds.AcceptChanges(); - // } - } - /*********************************************************************** * * Database Definition Functions -- cgit v1.1