Last active
August 29, 2015 14:02
-
-
Save fballiano/adb979fccc4fd21ab520 to your computer and use it in GitHub Desktop.
Duplicate primary on catalog_product_index_price_tmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+++ b/app/code/core/Mage/Index/Model/Resource/Abstract.php | |
@@ -176,6 +176,7 @@ abstract class Mage_Index_Model_Resource_Abstract extends Mage_Core_Model_Resour | |
if ($from === $to) { | |
$query = $select->insertFromSelect($destTable, $columns); | |
+ $query = str_replace("INSERT INTO", "INSERT IGNORE INTO", $query); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment