aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 15:37:18 +0200
committerEric Wong <normalperson@yhbt.net>2008-10-11 19:21:49 -0700
commitf5edfa1a93af9a8692d45d076a2f45cc25d33d94 (patch)
tree34c6591945924ec2cdea5991bdf7dd9b1aec9ee9 /src/update.c
parent259f0fd80c9cf9eb06656dabcc6386a729d60127 (diff)
downloadmpd-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/update.c')
0 files changed, 0 insertions, 0 deletions