PMA_DBI_num_rows

This commit is contained in:
Marc Delisle
2004-01-20 19:35:37 +00:00
parent 0c31d7c7a8
commit 28a5d0476e
26 changed files with 52 additions and 50 deletions

View File

@@ -71,7 +71,7 @@ if (defined('PMA_IDX_INCLUDED')) {
} else {
$local_query = 'SHOW KEYS FROM ' . PMA_backquote($table);
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0);
$idx_cnt = mysql_num_rows($result);
$idx_cnt = PMA_DBI_num_rows($result);
}
for ($i = 0; $i < $idx_cnt; $i++) {
@@ -114,7 +114,7 @@ if (defined('PMA_IDX_INCLUDED')) {
} else {
$local_query = 'SHOW FIELDS FROM ' . PMA_backquote($table);
$fields_rs = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0);
$fields_cnt = mysql_num_rows($fields_rs);
$fields_cnt = PMA_DBI_num_rows($fields_rs);
}
$fields_names = array();