#31426 [Opn->Fbk]: IIS and mysql_fetch_field

From: Date: Thu, 06 Jan 2005 10:30:47 +0000
Subject: #31426 [Opn->Fbk]: IIS and mysql_fetch_field
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71518@lists.php.net to get a copy of this message
ID: 31426 Updated by: georg@php.net 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

« previous php.bugs (#71518) next »