5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-04 02:52:19 +08:00

SQOOP-2363: wrong option for escape character with mysqlimport

(John Pickard via Abraham Elmahrek)
This commit is contained in:
Abraham Elmahrek 2015-05-29 15:26:00 -07:00
parent 2e4de0469d
commit 974b886c4a

View File

@ -201,7 +201,7 @@ private void initMySQLImportProcess() throws IOException {
}
if (0 != escapedBy) {
args.add("--escaped-by=0x" + Integer.toString(escapedBy, 16));
args.add("--fields-escaped-by=0x" + Integer.toString(escapedBy, 16));
}
// These two arguments are positional and must be last.