Test: /ext/mysql/tests/bug55473.phpt - Version 5.6.5-dev        

Bug #55473 mysql_pconnect leaks file descriptors on reconnect
Submitted: 2011-08-21 10:52:44 Modified: 2011-08-22 10:57:44
From: littlesavage Assigned: andrey
Status: Closed Package: MySQL related
PHP Version: 5.3.7 OS:

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
006+ [003] reconnect 1
008+ Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s/bug55473.php on line 13
009+ [007] Opened files as expected
010+ [003] reconnect 2
011+
012+ Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s/bug55473.php on line 13
013+ [007] Opened files as expected
014+ [003] reconnect 3
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
010- [003] reconnect 1
014-
018+ done!
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
016- [003] reconnect 2
017-
018- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
019- [007] Opened files as expected
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
022- [003] reconnect 3
023-
024- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
025- [007] Opened files as expected
026- done!
1 (50%)
002+ Segmentation fault
002-
003- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
004- [003] reconnect 0
005-
006- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
007- [005] Setting openened files...
008-
009- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
010- [003] reconnect 1
011-
012- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
013- [007] Opened files as expected
014-
015- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
016- [003] reconnect 2
017-
018- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
019- [007] Opened files as expected
020-
021- Warning: mysql_ping(): MySQL server has gone away in %s on line %d
022- [003] reconnect 3
023-
024- Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d
025- [007] Opened files as expected
026- done!