1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-02-04 18:21:06 +02:00

no longer need to limit Prior commit to those that have status Success or Failure

This commit is contained in:
Michael Nutt 2014-12-30 13:29:38 -05:00
parent b94280c15c
commit 0106a5e21d

View File

@ -185,7 +185,6 @@ FROM commits
WHERE repo_id = ? WHERE repo_id = ?
AND commit_branch = ? AND commit_branch = ?
AND commit_id < ? AND commit_id < ?
AND commit_status IN ('Success', 'Failure')
ORDER BY commit_id DESC ORDER BY commit_id DESC
LIMIT 1 LIMIT 1
` `