Skip to content

Commit 50b3833

Browse files
authored
$connection call inside getNextAutoincrement
1 parent 3d0980c commit 50b3833

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
@@ -61,8 +61,7 @@ public function getMaxDataSize()
6161
*/
6262
public function getNextAutoincrement($tableName)
6363
{
64-
$connection = $this->getConnection();
65-
$entityStatus = $connection->showTableStatus($tableName);
64+
$connection = $this->_getReadAdapter();
6665

6766
if (empty($entityStatus['Auto_increment'])) {
6867
$sql = sprintf(

0 commit comments

Comments
 (0)