Skip to content

Commit

Permalink
#19098 Use batches and direct queries to fix sales address upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor-sviziev authored Mar 12, 2019
1 parent 8b8a46c commit df36443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Setup/UpgradeData.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private function fillQuoteAddressIdInSalesOrderAddressProcessBatch(
'quote_address_id' => $quoteAddresses[$orderAddress['quote_id']]['address_id'] ?? null,
];
$where = [
'entity_id' => $orderAddress['entity_id']
'entity_id = ?' => $orderAddress['entity_id']
];

$salesConnection->update($salesOrderAddressTable, $bind, $where);
Expand Down

0 comments on commit df36443

Please sign in to comment.