Skip to content

Commit d53d0f9

Browse files
committed
fixed table difference insert during price reindex
1 parent 5a022f6 commit d53d0f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ protected function _syncData(array $processIds = [])
179179
// for backward compatibility split data from old idx table on dimension tables
180180
foreach ($this->dimensionCollectionFactory->create() as $dimensions) {
181181
$insertSelect = $this->getConnection()->select()->from(
182-
['ip_tmp' => $this->_defaultIndexerResource->getIdxTable()]
182+
['ip_tmp' => $this->_defaultIndexerResource->getIdxTable()],
183+
array_keys($this->getConnection()->describeTable('catalog_product_index_price'))
183184
);
184185

185186
foreach ($dimensions as $dimension) {

0 commit comments

Comments
 (0)