Skip to content

Commit

Permalink
Merge branch 'hotfix/AKCOMAG2001-235' into 'develop'
Browse files Browse the repository at this point in the history
hotfix/AKCOMAG2001-235 into develop

See merge request agence-dnd/marketplace/magento-2/external/magento2-connector-community!20
  • Loading branch information
Rémi V committed Jul 22, 2022
2 parents feac2ab + 7b67c57 commit f946dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Job/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -2774,7 +2774,7 @@ public function setRelated(): void
}

// we create temp table to avoid FIND_IN_SET MySQL query which is a performance killer
$tempRelatedTable = 'tmp_akeneo_' . strtolower(__FUNCTION__) . '_' . ($this->family ?: uniqid());
$tempRelatedTable = 'tmp_akeneo_' . strtolower(__FUNCTION__) . '_' . uniqid();
$tempRelatedTable = substr($tempRelatedTable, 0, AdapterMysql::LENGTH_TABLE_NAME);
$connection->createTemporaryTable(
$connection->newTable($tempRelatedTable)
Expand Down

0 comments on commit f946dd9

Please sign in to comment.