mirror of
https://github.com/apache/sqoop.git
synced 2025-05-04 01:50:32 +08:00
SQOOP-425 Sqoop invokes ResultSet.isLast() which causes Sybase JDBC driver to hang
git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1294396 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6710cbc3d8
commit
24aa26915c
@ -272,8 +272,7 @@ public boolean nextKeyValue() throws IOException {
|
||||
*/
|
||||
protected boolean isDone() {
|
||||
try {
|
||||
return this.results != null
|
||||
&& (results.isLast() || results.isAfterLast());
|
||||
return this.results != null && results.isAfterLast();
|
||||
} catch (SQLException sqlE) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user