mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 17:55:06 +00:00
removed LIMIT, which is meant for testing purposes. Uncomment it to use
This commit is contained in:
parent
d58a91e6df
commit
684470da75
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
LIMIT=150
|
|
||||||
|
# allows to start small - but affects also tags and correspondents, so they might be missing when linking them!
|
||||||
|
# LIMIT=LIMIT 150
|
||||||
|
|
||||||
echo "##################### START #####################"
|
echo "##################### START #####################"
|
||||||
|
|
||||||
@ -100,7 +102,7 @@ for mode in "${modes[@]}"; do
|
|||||||
OLDIFS=$IFS
|
OLDIFS=$IFS
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
|
|
||||||
tmp_resultset=(`sqlite3 -header $db_path "select ${columns[$mode]} from $mode order by 1 LIMIT $LIMIT;"`)
|
tmp_resultset=(`sqlite3 -header $db_path "select ${columns[$mode]} from $mode order by 1 $LIMIT;"`)
|
||||||
|
|
||||||
tmp_headers=($(echo "${tmp_resultset[0]}" | tr '|' '\n'))
|
tmp_headers=($(echo "${tmp_resultset[0]}" | tr '|' '\n'))
|
||||||
len_resultset=${#tmp_resultset[@]}
|
len_resultset=${#tmp_resultset[@]}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user