mirror of
https://github.com/apache/sqoop.git
synced 2025-05-04 01:19:38 +08:00
SQOOP-450. Direct MySQL import can fail when using mysqldump version 5.1.14 or above.
(Arvind Prabhakar via Kathleen Ting) git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1295750 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
46a1dad093
commit
ae8d1c7674
@ -103,6 +103,10 @@ public void run() {
|
||||
break; // EOF.
|
||||
}
|
||||
|
||||
if (inLine.trim().length() == 0 || inLine.startsWith("--")) {
|
||||
continue; // comments and empty lines are ignored
|
||||
}
|
||||
|
||||
// this line is of the form "INSERT .. VALUES ( actual value text
|
||||
// );" strip the leading preamble up to the '(' and the trailing
|
||||
// ');'.
|
||||
@ -236,6 +240,10 @@ public void run() {
|
||||
break; // EOF.
|
||||
}
|
||||
|
||||
if (inLine.trim().length() == 0 || inLine.startsWith("--")) {
|
||||
continue; // comments and empty lines are ignored
|
||||
}
|
||||
|
||||
// this line is of the form "INSERT .. VALUES ( actual value text
|
||||
// );" strip the leading preamble up to the '(' and the trailing
|
||||
// ');'.
|
||||
|
Loading…
Reference in New Issue
Block a user