diff options
author | Max Kellermann <max@duempel.org> | 2009-01-18 15:40:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-18 15:40:50 +0100 |
commit | 14ca99b22469808642034813156281a203cfee5e (patch) | |
tree | e6a38e78d4fe52eb915198c04a8d1fd75ea8577c /src/dbUtils.h | |
parent | 91fb2a29deaafcc0ae9c710aec3c5cf54ce60d91 (diff) | |
download | mpd-14ca99b22469808642034813156281a203cfee5e.tar.gz mpd-14ca99b22469808642034813156281a203cfee5e.tar.xz mpd-14ca99b22469808642034813156281a203cfee5e.zip |
stats: use one db_walk() to obtain stats
Don't use dbUtils.h functions. This reduces 4 full database walks to
just one.
Diffstat (limited to 'src/dbUtils.h')
-rw-r--r-- | src/dbUtils.h | 2 |
1 files changed, 0 insertions, 2 deletions
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, |