Project

General

Profile

« Previous | Next » 

Revision 9151

lib/sh/db.sh: mysql(): use --column-names to ensure the output is formatted appropriately. note that --column-names is the default, but better to specify it to be sure.

View differences:

db.sh
61 61
	echo_func
62 62
	set_database
63 63
	
64
	set -- ${database:+--database="$database" }"$@"
64
	set -- ${database:+--database="$database" }--column-names "$@"
65 65
	if test "$output_data"; then echo_stdin|mysql_cmd --batch "$@"
66 66
	else limit_stdout_cmd mysql_cmd --verbose "$@"
67 67
	fi

Also available in: Unified diff