Revision 9817
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/db.sh | ||
---|---|---|
29 | 29 |
skip_table() # usage: create_table || table=... skip_table || return 0 |
30 | 30 |
{ what="table $table" already_exists_msg; } |
31 | 31 |
|
32 |
: "${test=$(isset limit; exit2bool)}" # test mode when using limited # rows |
|
33 |
|
|
32 | 34 |
# usage: (set_large_table; to_file db_cmd...) || return |
33 | 35 |
alias set_large_table='declare del="${del-$(test "$limit"; exit2bool)}" |
34 | 36 |
echo_vars del' |
Also available in: Unified diff
lib/sh/db.sh: set test mode when using limited # rows