5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-04 03:11:00 +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:
Bilung Lee 2012-02-27 23:42:45 +00:00
parent 6710cbc3d8
commit 24aa26915c

View File

@ -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;
}