]> granicus.if.org Git - php/commit
Fix Bug #73462 - Persistent connections don't set $connect_errno
authorVince <github@darkain.com>
Tue, 8 Nov 2016 22:23:04 +0000 (14:23 -0800)
committerNikita Popov <nikic@php.net>
Tue, 3 Jan 2017 11:13:08 +0000 (12:13 +0100)
commitcfd6e1484283f9d693e457320e6a0d82422b9b33
tree0e6c5aed8a125663d331530d80065c495fe36bf2
parentff4e330eae7aa2550c483d480cb98054e251da55
Fix Bug #73462 - Persistent connections don't set $connect_errno

Persistent connections skipped resetting $connect_error and $connect_errno values
This adds the "clear error" line to persistent connections for consistency
NEWS
ext/mysqli/mysqli_nonapi.c
ext/mysqli/tests/bug73462.phpt [new file with mode: 0644]