Removed forgotten calls to mysql_wrappers.lib.
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
|||||||
2004-02-13 Alexander M. Turek <resist@derrabus.de>
|
2004-02-13 Alexander M. Turek <resist@derrabus.de>
|
||||||
* libraries/common.lib.php: Fixed bug #890186 (PMA chokes on undefined
|
* libraries/common.lib.php: Fixed bug #890186 (PMA chokes on undefined
|
||||||
parser functions if one of the very first queries fails.
|
parser functions if one of the very first queries fails.
|
||||||
|
* server_databases.php: Removed forgotten calls to mysql_wrappers.lib.
|
||||||
|
|
||||||
2004-02-11 Marc Delisle <lem9@users.sourceforge.net>
|
2004-02-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* server_privileges.php: bug 818654, password not copied
|
* server_privileges.php: bug 818654, password not copied
|
||||||
|
@@ -119,12 +119,14 @@ foreach($dblist AS $current_db) {
|
|||||||
'tot_sz' => 0
|
'tot_sz' => 0
|
||||||
);
|
);
|
||||||
if (!empty($dbstats)) {
|
if (!empty($dbstats)) {
|
||||||
$res = PMA_mysql_query('SHOW TABLE STATUS FROM ' . PMA_backquote($current_db) . ';', $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), 'SHOW TABLE STATUS FROM ' . PMA_backquote($current_db) . ';');
|
$res = PMA_DBI_query('SHOW TABLE STATUS FROM ' . PMA_backquote($current_db) . ';');
|
||||||
while ($row = PMA_mysql_fetch_array($res, MYSQL_ASSOC)) {
|
while ($row = PMA_DBI_fetch_assoc($res)) {
|
||||||
$tmp_array['tbl_cnt']++;
|
$tmp_array['tbl_cnt']++;
|
||||||
$tmp_array['data_sz'] += $row['Data_length'];
|
$tmp_array['data_sz'] += $row['Data_length'];
|
||||||
$tmp_array['idx_sz'] += $row['Index_length'];
|
$tmp_array['idx_sz'] += $row['Index_length'];
|
||||||
}
|
}
|
||||||
|
PMA_DBI_free_result($res);
|
||||||
|
unset($res);
|
||||||
}
|
}
|
||||||
$tmp_array['tot_sz'] = $tmp_array['data_sz'] + $tmp_array['idx_sz'];
|
$tmp_array['tot_sz'] = $tmp_array['data_sz'] + $tmp_array['idx_sz'];
|
||||||
$statistics[] = $tmp_array;
|
$statistics[] = $tmp_array;
|
||||||
|
Reference in New Issue
Block a user