Changeset View
Changeset View
Standalone View
Standalone View
src/applications/fact/storage/PhabricatorFactDimension.php
| Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | foreach ($need as $key) { | ||||
| '(%s)', | '(%s)', | ||||
| $key); | $key); | ||||
| } | } | ||||
| $unguarded = AphrontWriteGuard::beginScopedUnguardedWrites(); | $unguarded = AphrontWriteGuard::beginScopedUnguardedWrites(); | ||||
| foreach (PhabricatorLiskDAO::chunkSQL($sql) as $chunk) { | foreach (PhabricatorLiskDAO::chunkSQL($sql) as $chunk) { | ||||
| queryfx( | queryfx( | ||||
| $conn, | $conn, | ||||
| 'INSERT IGNORE INTO %T (%C) VALUES %Q', | 'INSERT IGNORE INTO %T (%C) VALUES %LQ', | ||||
| $this->getTableName(), | $this->getTableName(), | ||||
| $column, | $column, | ||||
| $chunk); | $chunk); | ||||
| } | } | ||||
| unset($unguarded); | unset($unguarded); | ||||
| $rows = queryfx_all( | $rows = queryfx_all( | ||||
| $conn, | $conn, | ||||
| Show All 24 Lines | |||||