-B also limit number of files scanned for tags

This commit is contained in:
Vincent Riquer 2013-10-06 23:23:34 +02:00
parent 66fd6da5ff
commit abb87fd3a1

View File

@ -40,7 +40,10 @@ updateTags() {
CAST(source_files.last_change AS TEXT) CAST(source_files.last_change AS TEXT)
OR ('"$tagreaderclause"') OR ('"$tagreaderclause"')
) )
AND mime_type_actions.action = 1; AND mime_type_actions.action = 1' >&3
(( maxbatch )) && echo "LIMIT $maxbatch" >&3
echo '
;
SELECT "AtOM:NoMoreFiles";' >&3 SELECT "AtOM:NoMoreFiles";' >&3
read -u4 line read -u4 line