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.
1 parent 067852b commit 5f6dfc2Copy full SHA for 5f6dfc2
app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php
@@ -412,7 +412,10 @@ function ($type) use ($productsTypes) {
412
$mainTable = $this->tableMaintainer->getMainTableByDimensions($dimensions);
413
$this->_insertFromTable($temporaryTable, $mainTable);
414
$this->deleteOutdatedData($entityIds, $temporaryTable, $mainTable);
415
- $this->_connection->dropTable($temporaryTable);
+ // phpcs:ignore Magento2.SQL.RawQuery.FoundRawSql
416
+ $this->getConnection()->query(
417
+ 'TRUNCATE TABLE ' . $this->getConnection()->quoteIdentifier($temporaryTable)
418
+ );
419
}
420
} else {
421
// handle 3d-party indexers for backward compatibility
0 commit comments