Changeset View
Changeset View
Standalone View
Standalone View
src/applications/fact/daemon/PhabricatorFactDaemon.php
| Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | $table->openTransaction(); | ||||
| $rebuilt_ids); | $rebuilt_ids); | ||||
| if ($sql) { | if ($sql) { | ||||
| foreach (PhabricatorLiskDAO::chunkSQL($sql) as $chunk) { | foreach (PhabricatorLiskDAO::chunkSQL($sql) as $chunk) { | ||||
| queryfx( | queryfx( | ||||
| $conn, | $conn, | ||||
| 'INSERT INTO %T | 'INSERT INTO %T | ||||
| (keyID, objectID, dimensionID, value, epoch) | (keyID, objectID, dimensionID, value, epoch) | ||||
| VALUES %Q', | VALUES %LQ', | ||||
| $table_name, | $table_name, | ||||
| $chunk); | $chunk); | ||||
| } | } | ||||
| } | } | ||||
| $table->saveTransaction(); | $table->saveTransaction(); | ||||
| } | } | ||||
| } | } | ||||