Skip to content

Commit d826489

Browse files
leissbuafballiano
andauthored
Update app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
1 parent 311d238 commit d826489

File tree

1 file changed

+3
-1
lines changed
  • app/code/core/Mage/ImportExport/Model/Resource/Helper

1 file changed

+3
-1
lines changed

app/code/core/Mage/ImportExport/Model/Resource/Helper/Mysql4.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ public function getNextAutoincrement($tableName)
7474
public function setInformationSchemaStatsExpiry(): void
7575
{
7676
if (!self::$instantInformationSchemaStatsExpiry) {
77-
$this->_getReadAdapter()->query('SET information_schema_stats_expiry = 0;');
77+
try {
78+
$this->_getReadAdapter()->query('SET information_schema_stats_expiry = 0;');
79+
} catch (Exception $e) {}
7880
self::$instantInformationSchemaStatsExpiry = true;
7981
}
8082
}

0 commit comments

Comments
 (0)