Revision 9106
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/db.sh | ||
---|---|---|
87 | 87 |
head="${head% |
88 | 88 |
}" |
89 | 89 |
local tail="${query#$head}" |
90 |
mysql_load_data_format="${mysql_load_data_format% |
|
91 |
}" |
|
90 | 92 |
mysql_ANSI "$@" <<EOF |
91 | 93 |
$head |
92 | 94 |
INTO OUTFILE '$file' |
93 |
$mysql_load_data_format$tail |
|
95 |
$mysql_load_data_format |
|
96 |
$tail |
|
94 | 97 |
EOF |
95 | 98 |
} |
96 | 99 |
|
Also available in: Unified diff
lib/sh/db.sh: mysql_export_outfile(): ensure newline between format info ($mysql_load_data_format) and rest of SELECT query