Merged DEV to HEAD

31957: ALF-11361: "--(optional)" parameter was added to "DROP INDEX source_node_id;" statment on Oracle dialect.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2011-11-15 10:43:33 +00:00
parent 4c350ca0a0
commit f98125470c

View File

@@ -344,7 +344,7 @@ public class PatchServiceImpl implements PatchService
{
// If the patch was executed, then this one was effectively executed
AppliedPatch appliedAlternative = appliedPatchDAO.getAppliedPatch(alternative.getId());
if (appliedAlternative != null && appliedAlternative.getSucceeded())
if (appliedAlternative != null && appliedAlternative.getWasExecuted() && appliedAlternative.getSucceeded())
{
return alternative.getId();
}