We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93bb11c + 00bd24c commit bb4a7deCopy full SHA for bb4a7de
app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php
@@ -608,6 +608,12 @@ protected function makeTempCategoryTreeIndex()
608
['type' => \Magento\Framework\DB\Adapter\AdapterInterface::INDEX_TYPE_PRIMARY]
609
);
610
611
+ $temporaryTable->addIndex(
612
+ 'child_id',
613
+ ['child_id'],
614
+ ['type' => \Magento\Framework\DB\Adapter\AdapterInterface::INDEX_TYPE_INDEX]
615
+ );
616
+
617
// Drop the temporary table in case it already exists on this (persistent?) connection.
618
$this->connection->dropTemporaryTable($temporaryName);
619
$this->connection->createTemporaryTable($temporaryTable);
0 commit comments