ID:               31426
 Updated by:       [EMAIL PROTECTED]
 Reported By:      guillaume dot jung at usocome dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQL related
 Operating System: Windows 2000
 PHP Version:      5.0.3
 New Comment:

Which mysql client and server version do you use? 


Previous Comments:
------------------------------------------------------------------------

[2005-01-06 11:08:36] guillaume dot jung at usocome dot com

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 this bug report at http://bugs.php.net/?id=31426&edit=1

Reply via email to