Page MenuHomePhabricator

D19846.id.diff
No OneTemporary

D19846.id.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
Tue, Mar 18, 4:25 AM (3 d, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7709376
Default Alt Text
D19846.id.diff (989 B)

Event Timeline