Project

General

Profile

« Previous | Next » 

Revision 8874

lib/util.sh: mysql_cmd (): accept $database connection var

View differences:

lib/util.sh
210 210
	local var=ssh_dest; local_inv
211 211
	echo_run ${no_ssh_dest:+env }${ssh_dest:+ssh "$ssh_dest" }"${FUNCNAME[1]}" \
212 212
${server:+ --host="$server" }${user+--user="$user" }\
213
--password${password+="$password"} "$@"
213
--password${password+="$password"}${database+--database="$database" } "$@"
214 214
}
215 215

  
216 216
mysql ()

Also available in: Unified diff