Updated Branches:
  refs/heads/sqoop2 7440af2c5 -> 7f1dc4045

SQOOP-1023: STMT_DELETE_FORMS_FOR_CONNECTOR query in DerbySchemaSquery looks 
for incorrect column

(Hari Shreedharan via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/7f1dc404
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/7f1dc404
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/7f1dc404

Branch: refs/heads/sqoop2
Commit: 7f1dc4045a1c6e0795dc6866872dcdf3cceb9b51
Parents: 7440af2
Author: Jarek Jarcec Cecho <[email protected]>
Authored: Tue Apr 30 16:56:55 2013 -0700
Committer: Jarek Jarcec Cecho <[email protected]>
Committed: Tue Apr 30 16:56:55 2013 -0700

----------------------------------------------------------------------
 .../sqoop/repository/derby/DerbySchemaQuery.java   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/7f1dc404/repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
----------------------------------------------------------------------
diff --git 
a/repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
 
b/repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
index 4968c0d..2e5abb8 100644
--- 
a/repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
+++ 
b/repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
@@ -450,7 +450,7 @@ public final class DerbySchemaQuery {
   // Delete all forms for a given connector
   public static final String STMT_DELETE_FORMS_FOR_CONNECTOR =
     "DELETE FROM " + TABLE_SQ_FORM
-    + " WHERE " + COLUMN_SQN_CONNECTOR + " = ?";
+    + " WHERE " + COLUMN_SQF_CONNECTOR + " = ?";
 
   // Delete all inputs for a given connector
   public static final String STMT_DELETE_INPUTS_FOR_CONNECTOR =

Reply via email to