mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 07:20:57 +01:00
Fix an issue with marking aborted buildables failed when more than one build is aborted
Summary: See <https://discourse.phabricator-community.org/t/upgrade-issue-2018-week-7-mid-february/1139>. Test Plan: Used `bin/storage upgrade -f --apply ...` to re-apply the migration. Differential Revision: https://secure.phabricator.com/D19116
This commit is contained in:
parent
cb2f710606
commit
eb3fd2b7f5
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ foreach (new LiskMigrationIterator($table) as $buildable) {
|
|||
|
||||
$aborted = queryfx_one(
|
||||
$conn,
|
||||
'SELECT * FROM %T WHERE buildablePHID = %s AND buildStatus = %s',
|
||||
'SELECT * FROM %T WHERE buildablePHID = %s AND buildStatus = %s
|
||||
LIMIT 1',
|
||||
id(new HarbormasterBuild())->getTableName(),
|
||||
$buildable->getPHID(),
|
||||
'aborted');
|
||||
|
|
Loading…
Reference in a new issue