Skip to content

Commit 8d714ff

Browse files
authored
Add try catch to actual disable cache call
1 parent d826489 commit 8d714ff

File tree

1 file changed

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

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@ public function getMaxDataSize()
5656
public function getNextAutoincrement($tableName)
5757
{
5858
$adapter = $this->_getReadAdapter();
59-
try {
60-
$this->setInformationSchemaStatsExpiry();
61-
} catch (Exception $e) {
62-
//this will throw an exception for < mysql8
63-
}
59+
$this->setInformationSchemaStatsExpiry();
6460
$entityStatus = $adapter->showTableStatus($tableName);
6561
if (empty($entityStatus['Auto_increment'])) {
6662
Mage::throwException(Mage::helper('importexport')->__('Cannot get autoincrement value'));

0 commit comments

Comments
 (0)