Project

General

Profile

« Previous | Next » 

Revision 8875

lib/util.sh: mysql_cmd (): use $schema as $database when provided

View differences:

lib/util.sh
206 206
	if test -n "$ssh_server"; then
207 207
		local ssh_dest="${ssh_dest-${ssh_user:+$ssh_user@}$ssh_server}"
208 208
	fi
209
	if test -n "$schema"; then local database="${database-$schema}"; fi
209 210
	
210 211
	local var=ssh_dest; local_inv
211 212
	echo_run ${no_ssh_dest:+env }${ssh_dest:+ssh "$ssh_dest" }"${FUNCNAME[1]}" \

Also available in: Unified diff