Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/customfield/field/PhabricatorCustomFieldList.php
| Show First 20 Lines • Show All 297 Lines • ▼ Show 20 Lines | $any_index->openTransaction(); | ||||
| if (!$sql_list) { | if (!$sql_list) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| foreach (PhabricatorLiskDAO::chunkSQL($sql_list) as $chunk) { | foreach (PhabricatorLiskDAO::chunkSQL($sql_list) as $chunk) { | ||||
| queryfx( | queryfx( | ||||
| $conn_w, | $conn_w, | ||||
| 'INSERT INTO %T (objectPHID, indexKey, indexValue) VALUES %Q', | 'INSERT INTO %T (objectPHID, indexKey, indexValue) VALUES %LQ', | ||||
| $table, | $table, | ||||
| $chunk); | $chunk); | ||||
| } | } | ||||
| } | } | ||||
| $any_index->saveTransaction(); | $any_index->saveTransaction(); | ||||
| } | } | ||||
| Show All 14 Lines | |||||