Skip to content

Commit

Permalink
Update app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php
Browse files Browse the repository at this point in the history
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
  • Loading branch information
leissbua and fballiano authored Jan 23, 2024
1 parent 311d238 commit d826489
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ public function getNextAutoincrement($tableName)
public function setInformationSchemaStatsExpiry(): void
{
if (!self::$instantInformationSchemaStatsExpiry) {
$this->_getReadAdapter()->query('SET information_schema_stats_expiry = 0;');
try {
$this->_getReadAdapter()->query('SET information_schema_stats_expiry = 0;');
} catch (Exception $e) {}
self::$instantInformationSchemaStatsExpiry = true;
}
}
Expand Down

0 comments on commit d826489

Please sign in to comment.