mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-14 17:46:13 +01:00
(stable) 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
a6100a4ce7
commit
362ccedf8a
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