Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14411999
D19846.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
989 B
Referenced Files
None
Subscribers
None
D19846.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D19846: Correct two straggling "%Q" + "implode(...)" callsites in Revision updates
Attached
Detach File
Event Timeline
Log In to Comment