BF [2874066] - Static analysis reveals 2 SQL errors

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2874066&group_id=176962
This commit is contained in:
trifonnt 2009-10-07 16:10:55 +00:00
parent b57e5dece3
commit 02ce6210e6
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ public class PrepareMigrationScripts extends SvrProcess {
msg = msg + "Script Body " + fileName.get(i) + " failed!";
pstmt = DB
.prepareStatement(
"delete from ad_migrationscript = ad_migrationscript_id = ?",
"delete from ad_migrationscript WHERE ad_migrationscript_id = ?",
this.get_TrxName());
pstmt.setInt(1, seqID);
result = pstmt.executeUpdate();