diff options
author | Max Kellermann <max@duempel.org> | 2008-10-09 15:37:18 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-11 19:21:49 -0700 |
commit | f5edfa1a93af9a8692d45d076a2f45cc25d33d94 (patch) | |
tree | 34c6591945924ec2cdea5991bdf7dd9b1aec9ee9 /src/buffer2array.c | |
parent | 259f0fd80c9cf9eb06656dabcc6386a729d60127 (diff) | |
download | mpd-f5edfa1a93af9a8692d45d076a2f45cc25d33d94.tar.gz mpd-f5edfa1a93af9a8692d45d076a2f45cc25d33d94.tar.xz mpd-f5edfa1a93af9a8692d45d076a2f45cc25d33d94.zip |
directory: don't query database during load
Don't use db_get_directory() and traverse the full path with every
directory being loaded. Just see if the current parent contains the
entry. Everything else would be invalid anyway..
Diffstat (limited to 'src/buffer2array.c')
0 files changed, 0 insertions, 0 deletions