diff options
author | Mike Mazur | 2009-02-03 05:20:16 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-03 05:20:16 +0000 |
commit | e12b0a249674bbe4b1980c74f13d8f09cc2e4432 (patch) | |
tree | ecbc9a25faf6dd40b05b9435ad24d6a36b4a3b62 /OpenSim/Data | |
parent | Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data ... (diff) | |
download | opensim-SC_OLD-e12b0a249674bbe4b1980c74f13d8f09cc2e4432.zip opensim-SC_OLD-e12b0a249674bbe4b1980c74f13d8f09cc2e4432.tar.gz opensim-SC_OLD-e12b0a249674bbe4b1980c74f13d8f09cc2e4432.tar.bz2 opensim-SC_OLD-e12b0a249674bbe4b1980c74f13d8f09cc2e4432.tar.xz |
- move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/IAssetData.cs (renamed from OpenSim/Framework/IAssetProvider.cs) | 3 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLAssetData.cs | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Framework/IAssetProvider.cs b/OpenSim/Data/IAssetData.cs index 77e0d0c..47e25f3 100644 --- a/OpenSim/Framework/IAssetProvider.cs +++ b/OpenSim/Data/IAssetData.cs | |||
@@ -26,8 +26,9 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework; | ||
29 | 30 | ||
30 | namespace OpenSim.Framework | 31 | namespace OpenSim.Data |
31 | { | 32 | { |
32 | public interface IAssetDataPlugin : IPlugin | 33 | public interface IAssetDataPlugin : IPlugin |
33 | { | 34 | { |
diff --git a/OpenSim/Data/MSSQL/MSSQLAssetData.cs b/OpenSim/Data/MSSQL/MSSQLAssetData.cs index 2fe89e2..3eaae12 100644 --- a/OpenSim/Data/MSSQL/MSSQLAssetData.cs +++ b/OpenSim/Data/MSSQL/MSSQLAssetData.cs | |||
@@ -42,7 +42,7 @@ namespace OpenSim.Data.MSSQL | |||
42 | private const string _migrationStore = "AssetStore"; | 42 | private const string _migrationStore = "AssetStore"; |
43 | 43 | ||
44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
45 | private long TicksToEpoch; | 45 | private long TicksToEpoch; |
46 | /// <summary> | 46 | /// <summary> |
47 | /// Database manager | 47 | /// Database manager |
48 | /// </summary> | 48 | /// </summary> |
@@ -212,7 +212,7 @@ namespace OpenSim.Data.MSSQL | |||
212 | } | 212 | } |
213 | } | 213 | } |
214 | 214 | ||
215 | // Commented out since currently unused - this probably should be called in FetchAsset() | 215 | // Commented out since currently unused - this probably should be called in FetchAsset() |
216 | // private void UpdateAccessTime(AssetBase asset) | 216 | // private void UpdateAccessTime(AssetBase asset) |
217 | // { | 217 | // { |
218 | // using (AutoClosingSqlCommand cmd = database.Query("UPDATE assets SET access_time = @access_time WHERE id=@id")) | 218 | // using (AutoClosingSqlCommand cmd = database.Query("UPDATE assets SET access_time = @access_time WHERE id=@id")) |