Differential D19801 Diff 47306 src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php
Show First 20 Lines • Show All 457 Lines • ▼ Show 20 Lines | queryfx( | ||||
$repository->getID(), | $repository->getID(), | ||||
$commit->getCommitIdentifier()); | $commit->getCommitIdentifier()); | ||||
foreach (array_chunk($sql, 512) as $sql_chunk) { | foreach (array_chunk($sql, 512) as $sql_chunk) { | ||||
queryfx( | queryfx( | ||||
$conn_w, | $conn_w, | ||||
'INSERT INTO %T | 'INSERT INTO %T | ||||
(repositoryID, parentID, svnCommit, pathID, existed, fileType) | (repositoryID, parentID, svnCommit, pathID, existed, fileType) | ||||
VALUES %Q', | VALUES %LQ', | ||||
PhabricatorRepository::TABLE_FILESYSTEM, | PhabricatorRepository::TABLE_FILESYSTEM, | ||||
implode(', ', $sql_chunk)); | $sql_chunk); | ||||
} | } | ||||
} | } | ||||
private function lookupSvnCommits( | private function lookupSvnCommits( | ||||
PhabricatorRepository $repository, | PhabricatorRepository $repository, | ||||
array $commits) { | array $commits) { | ||||
▲ Show 20 Lines • Show All 332 Lines • Show Last 20 Lines |