]> granicus.if.org Git - php/commit
Fix bug #79375
authorDharman <tekiela246@gmail.com>
Sun, 20 Sep 2020 15:32:47 +0000 (16:32 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 28 Oct 2020 10:01:47 +0000 (11:01 +0100)
commitb03776adb5bbb9b54731a44377632fcc94a59d2f
treed895ac1b00a75a04b41804679f1ac192feaf56d6
parent9353f11bd230252e2525197d80747dbab090bff5
Fix bug #79375

Make sure deadlock errors are properly propagated and reports in
a number of places in mysqli and PDO MySQL.

This also fixes a memory and a segfault that can occur under these
conditions.
NEWS
ext/mysqli/mysqli_api.c
ext/mysqli/tests/bug79375.phpt [new file with mode: 0644]
ext/mysqlnd/mysqlnd_ps.c
ext/mysqlnd/mysqlnd_result.c
ext/pdo_mysql/mysql_statement.c
ext/pdo_mysql/tests/bug79375.phpt [new file with mode: 0644]
ext/pdo_mysql/tests/bug_74376.phpt