diff options
author | Seif Lotfy <seif@lotfy.com> | 2012-12-29 16:08:25 +0100 |
---|---|---|
committer | Seif Lotfy <seif@lotfy.com> | 2012-12-29 16:08:25 +0100 |
commit | 5c2907463fab764a0a305474ef37709799dd2b4e (patch) | |
tree | 5f880bd6de39a725046e0ee04915b925a94d2663 | |
parent | 99d946e214179591067fcd49469b5d2b17879eae (diff) |
Remove uneeded column selection from group_and_sort
-rw-r--r-- | src/db-reader.vala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db-reader.vala b/src/db-reader.vala index c78e155d..0a085c2b 100644 --- a/src/db-reader.vala +++ b/src/db-reader.vala @@ -603,13 +603,12 @@ public class DbReader : Object } return """ - SELECT id, %s, %s(timestamp) AS timestamp + SELECT id, %s(timestamp) AS timestamp %s FROM event_view %s AND %s IS NOT NULL GROUP BY %s ORDER BY %s """.printf ( - field, aggregation_type, aggregation_sql, where_sql, |