From 14ca99b22469808642034813156281a203cfee5e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 18 Jan 2009 15:40:50 +0100 Subject: stats: use one db_walk() to obtain stats Don't use dbUtils.h functions. This reduces 4 full database walks to just one. --- src/dbUtils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/dbUtils.h') diff --git a/src/dbUtils.h b/src/dbUtils.h index 1ccd75793..5c8e71604 100644 --- a/src/dbUtils.h +++ b/src/dbUtils.h @@ -40,8 +40,6 @@ int findSongsIn(struct client *client, const char *name, int searchStatsForSongsIn(struct client *client, const char *name, int numItems, LocateTagItem * items); -int countSongsIn(const char *name); - unsigned long sumSongTimesIn(const char *name); int listAllUniqueTags(struct client *client, int type, int numConditiionals, -- cgit v1.2.3