From:             guillaume dot jung at usocome dot com
Operating system: Windows 2000
PHP version:      5.0.3
PHP Bug Type:     MySQL related
Bug description:  IIS and mysql_fetch_field

Description:
------------
With the last version of PHP5 mysql_fetch_field block and all scripts are
timed out.

Reproduce code:
---------------
function PMA_DBI_get_fields_meta($result) {
    $fields       = array();
    $num_fields   = mysql_num_fields($result);
    for ($i = 1; $i < $num_fields; $i++) {
        $fields[] = PMA_convert_display_charset(mysql_fetch_field($result,
$i));
    }
    return $fields;
}

Expected result:
----------------
This code come from phpmyadmin and when I execute sql.php file it blocks.

Actual result:
--------------
Script timed out.

-- 
Edit bug report at http://bugs.php.net/?id=31426&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31426&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31426&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31426&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31426&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31426&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31426&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31426&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31426&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31426&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31426&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31426&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31426&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31426&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31426&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31426&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31426&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31426&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31426&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31426&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31426&r=mysqlcfg

Reply via email to