Revision 9192
Added by Aaron Marcuse-Kubitza over 11 years ago
db.sh | ||
---|---|---|
64 | 64 |
|
65 | 65 |
set -- ${database:+--database="$database" }--column-names "$@" |
66 | 66 |
if test "$output_data"; then echo_stdin|mysql_cmd --batch "$@" |
67 |
else limit_stdout_cmd mysql_cmd --verbose "$@"
|
|
67 |
else stdout2stderr=1 limit_stderr=1 mysql_cmd --verbose "$@"
|
|
68 | 68 |
fi |
69 | 69 |
} |
70 | 70 |
|
Also available in: Unified diff
lib/sh/util.sh: merged limit_stderr_cmd/limit_stdout_cmd into command(), using flag vars to control what limiting actions it needs to perform. in command invocations, this involves setting the appropriate flag vars instead of using a limit_std*_cmd alias.