Skip to content

Commit 0529fce

Browse files
jonashremfballiano
authored andcommitted
$connection call inside getNextAutoincrement
1 parent 46a1a4b commit 0529fce

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ public function getMaxDataSize()
5454
*/
5555
public function getNextAutoincrement($tableName)
5656
{
57-
$connection = $this->getConnection();
58-
$entityStatus = $connection->showTableStatus($tableName);
57+
$connection = $this->_getReadAdapter();
5958

6059
if (empty($entityStatus['Auto_increment'])) {
6160
$sql = sprintf(

0 commit comments

Comments
 (0)