banshee r3680 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Collection.Database
- From: scottp svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3680 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Collection.Database
- Date: Sat, 5 Apr 2008 20:27:32 +0100 (BST)
Author: scottp
Date: Sat Apr 5 20:27:32 2008
New Revision: 3680
URL: http://svn.gnome.org/viewvc/banshee?rev=3680&view=rev
Log:
* src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs:
Reverted last change - it apparently borks migration :(
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs Sat Apr 5 20:27:32 2008
@@ -185,8 +185,7 @@
private void UpdateUnfilteredAggregates ()
{
HyenaSqliteCommand count_command = new HyenaSqliteCommand (String.Format (
- "SELECT COUNT(*) FROM {0}{1} {2}{3}",
- provider.From, JoinFragment, String.IsNullOrEmpty (Condition) ? String.Empty : "WHERE ", Condition
+ "SELECT COUNT(*) {0}", UnfilteredQuery
));
count = connection.Query<long> (count_command);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]