aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-07 19:18:44 +0000
committerJustin Clarke Casey2008-07-07 19:18:44 +0000
commit1813946937267edde79cb471c357f6cd85efd8ec (patch)
treecd9854a7d72409a094ac23fed9677cf438568944 /OpenSim/Data
parent* Start scripts loaded from an archive (diff)
downloadopensim-SC_OLD-1813946937267edde79cb471c357f6cd85efd8ec.zip
opensim-SC_OLD-1813946937267edde79cb471c357f6cd85efd8ec.tar.gz
opensim-SC_OLD-1813946937267edde79cb471c357f6cd85efd8ec.tar.bz2
opensim-SC_OLD-1813946937267edde79cb471c357f6cd85efd8ec.tar.xz
* remove unused CommitAssets() hook for now
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/AssetDataBase.cs1
-rw-r--r--OpenSim/Data/MSSQL/MSSQLAssetData.cs7
-rw-r--r--OpenSim/Data/MySQL/MySQLAssetData.cs7
-rw-r--r--OpenSim/Data/NHibernate/NHibernateAssetData.cs6
-rw-r--r--OpenSim/Data/SQLite/SQLiteAssetData.cs13
5 files changed, 0 insertions, 34 deletions
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
36 public abstract void CreateAsset(AssetBase asset); 36 public abstract void CreateAsset(AssetBase asset);
37 public abstract void UpdateAsset(AssetBase asset); 37 public abstract void UpdateAsset(AssetBase asset);
38 public abstract bool ExistsAsset(LLUUID uuid); 38 public abstract bool ExistsAsset(LLUUID uuid);
39 public abstract void CommitAssets();
40 39
41 public abstract string Version { get; } 40 public abstract string Version { get; }
42 public abstract string Name { get; } 41 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
203 return false; 203 return false;
204 } 204 }
205 205
206 /// <summary>
207 /// All writes are immediately commited to the database, so this is a no-op
208 /// </summary>
209 override public void CommitAssets()
210 {
211 }
212
213 #endregion 206 #endregion
214 207
215 #region IPlugin Members 208 #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
304 return assetExists; 304 return assetExists;
305 } 305 }
306 306
307 /// <summary>
308 /// All writes are immediately commited to the database, so this is a no-op
309 /// </summary>
310 override public void CommitAssets()
311 {
312 }
313
314 #endregion 307 #endregion
315 308
316 /// <summary> 309 /// <summary>
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
161 161
162 } 162 }
163 163
164 override public void CommitAssets() // force a sync to the database
165 {
166 m_log.Info("[SQLITE]: Attempting commit");
167 }
168
169
170 public override string Name { 164 public override string Name {
171 get { return "NHibernate"; } 165 get { return "NHibernate"; }
172 } 166 }
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
223 } 223 }
224 } 224 }
225 225
226 /// <summary>
227 /// commit
228 /// </summary>
229 override public void CommitAssets() // force a sync to the database
230 {
231 m_log.Info("[ASSET DB]: Attempting commit");
232 // lock (ds)
233 // {
234 // da.Update(ds, "assets");
235 // ds.AcceptChanges();
236 // }
237 }
238
239 /*********************************************************************** 226 /***********************************************************************
240 * 227 *
241 * Database Definition Functions 228 * Database Definition Functions