Page MenuHomePhabricator

D19846.diff
No OneTemporary

D19846.diff

diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php
--- a/src/applications/differential/editor/DifferentialTransactionEditor.php
+++ b/src/applications/differential/editor/DifferentialTransactionEditor.php
@@ -1367,9 +1367,9 @@
foreach (array_chunk($sql, 256) as $chunk) {
queryfx(
$conn_w,
- 'INSERT INTO %T (repositoryID, pathID, epoch, revisionID) VALUES %Q',
+ 'INSERT INTO %T (repositoryID, pathID, epoch, revisionID) VALUES %LQ',
$table->getTableName(),
- implode(', ', $chunk));
+ $chunk);
}
}
@@ -1444,9 +1444,9 @@
if ($sql) {
queryfx(
$conn_w,
- 'INSERT INTO %T (revisionID, type, hash) VALUES %Q',
+ 'INSERT INTO %T (revisionID, type, hash) VALUES %LQ',
ArcanistDifferentialRevisionHash::TABLE_NAME,
- implode(', ', $sql));
+ $sql);
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 12:26 PM (10 h, 19 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6926250
Default Alt Text
D19846.diff (989 B)

Event Timeline