mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:11:47 +02:00
[ticket/10653] Call get_row_count of base class in mysql get_estimated_row_count
There is no point in fetching the table status again. PHPBB3-10653
This commit is contained in:
phpBB/includes/db
@@ -344,7 +344,7 @@ class dbal_mysql extends dbal
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->get_row_count($table_name);
|
return parent::get_row_count($table_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -341,7 +341,7 @@ class dbal_mysqli extends dbal
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->get_row_count($table_name);
|
return parent::get_row_count($table_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user