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

@@ -135,8 +135,7 @@ while ($row = mysql_fetch_array($rowset)) {
*/
$local_query = 'SHOW FIELDS FROM ' . PMA_backquote($table);
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url);
$fields_cnt = mysql_num_rows($result);
$fields_cnt = PMA_DBI_num_rows($result);
// Check if we can use Relations (Mike Beck)
if (!empty($cfgRelation['relation'])) {
// Find which tables are related with the current one and write it in