Revision 9623
Added by Aaron Marcuse-Kubitza over 11 years ago
db.sh | ||
---|---|---|
24 | 24 |
fi # load new aliases |
25 | 25 |
if self_being_included; then |
26 | 26 |
|
27 |
skip_table() # usage: create_table || table=... skip_table || return 0 |
|
28 |
{ what="table $table" already_exists_msg; } |
|
29 |
|
|
27 | 30 |
limit() # usage: query... $([prefix=$'| |\n'] limit) |
28 | 31 |
{ |
29 | 32 |
echo_func; kw_params prefix; local prefix="${prefix- |
Also available in: Unified diff
lib/sh/db.sh: added skip_table(), which prints an already_exists_msg for tables