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

SQOOP-55. BaseSqoopTestCase.createTableWithColTypes() calls close() twice.

From: Aaron Kimball <aaron@cloudera.com>

git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149949 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Bayer 2011-07-22 20:04:08 +00:00
parent 7b6163851d
commit bf92ba41dd

View File

@ -308,7 +308,6 @@ protected void createTableWithColTypes(String [] colTypes, String [] vals) {
insertValsStr,
ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
statement.executeUpdate();
statement.close();
} catch (SQLException sqlException) {
fail("Could not create table: "
+ StringUtils.stringifyException(sqlException));