Project

General

Profile

« Previous | Next » 

Revision 9642

bugfix: lib/sh/db.sh: mysql_import(): need to use direct connection to DB instead of via ssh, because ssh does not tunnel nonstandard fds

View differences:

lib/sh/db.sh
135 135
	if test ! "$append"; then mysql_truncate; fi
136 136
	mysql_load_data_format="${mysql_load_data_format%
137 137
}"
138
	ssh2local # ssh does not tunnel nonstandard fds
138 139
	mysql_ANSI "$@" 10<&0 <<EOF
139 140
LOAD DATA LOCAL INFILE '/dev/fd/10'
140 141
INTO TABLE $table_esc

Also available in: Unified diff