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

@@ -371,7 +371,7 @@ if ($cfgRelation['relwork'] && $tbl_type != "INNODB") {
// modify robbat2 code - staybyte - 11. June 2001
$query = 'SHOW VARIABLES LIKE \'have_%\'';
$result = PMA_mysql_query($query);
if ($result != FALSE && mysql_num_rows($result) > 0) {
if ($result != FALSE && PMA_DBI_num_rows($result) > 0) {
while ($tmp = PMA_mysql_fetch_array($result)) {
if (isset($tmp['Variable_name'])) {
switch ($tmp['Variable_name']) {