banshee r2981 - in trunk/banshee: . src/Core/Hyena/Hyena.Data.Sqlite
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r2981 - in trunk/banshee: . src/Core/Hyena/Hyena.Data.Sqlite
- Date: Thu, 17 Jan 2008 21:55:24 +0000 (GMT)
Author: gburt
Date: Thu Jan 17 21:55:24 2008
New Revision: 2981
URL: http://svn.gnome.org/viewvc/banshee?rev=2981&view=rev
Log:
2008-01-17 Gabriel Burt <gabriel burt gmail com>
* src/Core/Hyena/Hyena.Data.Sqlite/CacheableDatabaseModel.cs: Remove.
* src/Core/Hyena/Hyena.Data.Sqlite/DatabaseModelCache.cs: Time FetchSet.
Removed:
trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/CacheableDatabaseModel.cs
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseModelCache.cs
Modified: trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseModelCache.cs
==============================================================================
--- trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseModelCache.cs (original)
+++ trunk/banshee/src/Core/Hyena/Hyena.Data.Sqlite/DatabaseModelCache.cs Thu Jan 17 21:55:24 2008
@@ -114,7 +114,7 @@
protected override void FetchSet (int offset, int limit)
{
- //using (new Timer (String.Format ("Fetching set for {0}", db_model))) {
+ using (new Timer (String.Format ("Fetching set for {0}", db_model))) {
select_range_command.ApplyValues (uid, offset, limit);
using (IDataReader reader = connection.ExecuteReader (select_range_command)) {
int i = offset;
@@ -127,7 +127,7 @@
i++;
}
}
- //}
+ }
}
protected void UpdateCount ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]