Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-06-24 15:19:26 +0400
committerMarc Delisle <marc@infomarc.info>2012-06-24 15:19:26 +0400
commit948f5c31cf64462f8686b707c499a6548305506e (patch)
treeb4d327c0a17b563923fde348e3d9ba090d7374f4 /libraries/Menu.class.php
parentf43760aaeeaadd2b1879bce7d38df6196b91c2ec (diff)
Sometimes the row count was not correct
Diffstat (limited to 'libraries/Menu.class.php')
-rw-r--r--libraries/Menu.class.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/libraries/Menu.class.php b/libraries/Menu.class.php
index ef56ec2f74..dcc7f2b73c 100644
--- a/libraries/Menu.class.php
+++ b/libraries/Menu.class.php
@@ -238,12 +238,7 @@ class PMA_Menu
{
$db_is_information_schema = PMA_is_system_schema($this->_db);
$tbl_is_view = PMA_Table::isView($this->_db, $this->_table);
-
- $table_status = PMA_Table::sGetStatusInfo($this->_db, $this->_table);
- $table_info_num_rows = 0;
- if (isset($table_status['Rows'])) {
- $table_info_num_rows = $table_status['Rows'];
- }
+ $table_info_num_rows = PMA_Table::countRecords($this->_db, $this->_table);
$tabs = array();