Project

General

Profile

« Previous | Next » 

Revision 8878

bugfix: lib/util.sh: mysql_cmd (): add --tables after specifying --databases so that future unnamed arguments are correctly interpreted as tables

View differences:

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

  
217 217
mysql ()

Also available in: Unified diff