Edit report at http://bugs.php.net/bug.php?id=47539&edit=1

 ID:                 47539
 Updated by:         [email protected]
 Reported by:        ian at ianhobson dot co dot uk
 Summary:            MySQL module slow close
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            MySQL related
 Operating System:   win32 only -Win2K
 PHP Version:        5.2.9
 Block user comment: N

 New Comment:

Does this happen with 5.3.x? And have you tried the VC9 versions from
CLI? To see if there is any difference from the VC6 binaries you
currently are using.


Previous Comments:
------------------------------------------------------------------------
[2009-03-03 11:21:47] ian at ianhobson dot co dot uk

It looks as if this bug has been around since 5.2.2



See bugs 41968 and 41350.

------------------------------------------------------------------------
[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] [email protected]

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/bug.php?id=47539&edit=1

Reply via email to