remove deprecated parameter of PMA_Table::countRecords()

This commit is contained in:
Marc Delisle
2009-10-23 10:02:09 +00:00
parent 5211a88350
commit 1419fcf3c2
9 changed files with 15 additions and 33 deletions

View File

@@ -192,7 +192,7 @@ foreach ($tables as $keyname => $each_table) {
case 'MEMORY' :
if ($db_is_information_schema) {
$each_table['Rows'] = PMA_Table::countRecords($db,
$each_table['Name'], $return = true);
$each_table['Name']);
}
if ($is_show_stats) {
@@ -212,7 +212,7 @@ foreach ($tables as $keyname => $each_table) {
if ($each_table['TABLE_ROWS'] < $GLOBALS['cfg']['MaxExactCount']) {
$each_table['COUNTED'] = true;
$each_table['TABLE_ROWS'] = PMA_Table::countRecords($db,
$each_table['TABLE_NAME'], $return = true, $force_exact = true,
$each_table['TABLE_NAME'], $force_exact = true,
$is_view = false);
} else {
$each_table['COUNTED'] = false;
@@ -241,7 +241,7 @@ foreach ($tables as $keyname => $each_table) {
if ($each_table['TABLE_TYPE'] == 'VIEW') {
// countRecords() takes care of $cfg['MaxExactCountViews']
$each_table['TABLE_ROWS'] = PMA_Table::countRecords($db,
$each_table['TABLE_NAME'], $return = true, $force_exact = true,
$each_table['TABLE_NAME'], $force_exact = true,
$is_view = true);
$table_is_view = true;
}