Revision 9591
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/db.sh | ||
---|---|---|
102 | 102 |
set -- ${database:+--database="$database" }--local-infile=1 \ |
103 | 103 |
--${data_only:+skip-}column-names "$@" |
104 | 104 |
if test "$output_data"; then echo_stdin|mysql_cmd --batch "$@" |
105 |
else cmd_log_fd=1 mysql_cmd ${log_queries:+--verbose }"$@" |
|
105 |
else cmd_log_fd=1 mysql_cmd ${log_queries:+--verbose --verbose --verbose }\ |
|
106 |
"$@" # --verbose*3: echo runtimes |
|
106 | 107 |
fi |
107 | 108 |
} |
108 | 109 |
|
Also available in: Unified diff
lib/sh/db.sh: mysql(): when echoing queries, also echo runtimes (turned on with `--verbose --verbose --verbose`)