#47539 [Opn]: MySQL module slow close
| From: | ian at ianhobson dot co dot uk | Date: | Tue, 03 Mar 2009 11:21:47 +0000 |
| Subject: | #47539 [Opn]: MySQL module slow close | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134367@lists.php.net to get a copy of this message | ||
ID: 47539
User updated by: ian at ianhobson dot co dot uk
Reported By: ian at ianhobson dot co dot uk
Status: Open
Bug Type: MySQL related
Operating System: win32 only -Win2K
PHP Version: 5.2.9
New Comment:
It looks as if this bug has been around since 5.2.2
See bugs 41968 and 41350.
Previous Comments:
------------------------------------------------------------------------
[2009-03-02 10:46:33] ian at ianhobson dot co dot uk
I am fairly sure it is. I recall renaming the MySQL version
(libmySQL.dll.save is still in the MySQL directory), and copy/pasting
the php version in.
All three copies of that file on my machine...
a) Do not have any version information in the properties box.
b) Are sized exactly 2076672 bytes.
c) Are dated when I installed php and mySQl (except one which is dated
the date I unpacked php5.2.9)
The pathnames are
D:\wamp\bin\php\php5.2.8 php 5.2.8
D:\wamp\bin\mysql\mysql5.1.30\bin MySQl 5.1.30
D:\test php 5.2.9
libmySQL.dll.save is sized at 2,260,992 bytes
------------------------------------------------------------------------
[2009-03-02 09:26:54] johannes@php.net
Which libmysql.dll is being used? The one which is part of the PHP
distribution?
------------------------------------------------------------------------
[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