Differential D15766 Diff 37999 src/applications/repository/storage/PhabricatorRepositoryWorkingCopyVersion.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepositoryWorkingCopyVersion.php
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | public static function didWrite( | ||||
$version = new self(); | $version = new self(); | ||||
$conn_w = $version->establishConnection('w'); | $conn_w = $version->establishConnection('w'); | ||||
$table = $version->getTableName(); | $table = $version->getTableName(); | ||||
queryfx( | queryfx( | ||||
$conn_w, | $conn_w, | ||||
'UPDATE %T SET | 'UPDATE %T SET | ||||
repositoryVersion = %d, | repositoryVersion = %d, | ||||
isWriting = 0, | isWriting = 0 | ||||
writeProperties = null | |||||
WHERE | WHERE | ||||
repositoryPHID = %s AND | repositoryPHID = %s AND | ||||
devicePHID = %s AND | devicePHID = %s AND | ||||
repositoryVersion = %d AND | repositoryVersion = %d AND | ||||
isWriting = 1', | isWriting = 1', | ||||
$table, | $table, | ||||
$new_version, | $new_version, | ||||
$repository_phid, | $repository_phid, | ||||
Show All 33 Lines |