aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 15:37:18 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 15:37:18 +0200
commit60d122e850f928f03fffbf4b31c9f1b25fd4b318 (patch)
tree2017cbc0548bdb88c2c8c9348d8487bf5dba2713 /src/decoder_api.h
parent702739b879e1515fad571df0590be3e3f1e22cae (diff)
downloadmpd-60d122e850f928f03fffbf4b31c9f1b25fd4b318.tar.gz
mpd-60d122e850f928f03fffbf4b31c9f1b25fd4b318.tar.xz
mpd-60d122e850f928f03fffbf4b31c9f1b25fd4b318.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/decoder_api.h')
0 files changed, 0 insertions, 0 deletions