#47539 [Opn->Fbk]: MySQL module slow close
| From: | johannes@php.net | Date: | Mon, 02 Mar 2009 09:26:54 +0000 |
| Subject: | #47539 [Opn->Fbk]: MySQL module slow close | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134311@lists.php.net to get a copy of this message | ||
ID: 47539
Updated by: johannes@php.net
Reported By: ian at ianhobson dot co dot uk
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: win32 only -Win2K
PHP Version: 5.2.9
New Comment:
Which libmysql.dll is being used? The one which is part of the PHP
distribution?
Previous Comments:
------------------------------------------------------------------------
[2009-03-01 21:55:16] ian at ianhobson dot co dot uk
Description:
------------
If php_mysql.dll or php_mysqli.dll are enabled, the CLI takes 5 seconds
to close.
Reproduce code:
---------------
@echo off
time <Y
D:\wamp\bin\php\php5.2.8\php -r "Echo 'Hi';"
time <Y
Where Y is a file containing just a newline.
Expected result:
----------------
The times to be within a fraction of a second.
How long should an "echo" take?
Actual result:
--------------
D:\Websites\ppg\testsop\tests>phpx
The current time is: 21:50:50.39
Enter the new time:
HiThe current time is: 21:50:55.44
Enter the new time:
D:\Websites\ppg\testsop\tests>
The times differ by over 5 seconds. Windows, AMD 3500+, with 3GB RAM
and fast hard disk.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47539&edit=1