]> granicus.if.org Git - php/commit
Fixed bug #80458
authorDharman <tekiela246@gmail.com>
Wed, 2 Dec 2020 21:24:20 +0000 (21:24 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 4 Dec 2020 15:59:47 +0000 (16:59 +0100)
commita83cc03c138b8cf27a840bd7cd913eb7050e55ba
tree981e1ab2afa561c1ced7454ae551f80b865e51f5
parent8588ae72156eeead928a8fe93bb8a5ab293f1e89
Fixed bug #80458

If there is no result set (e.g. for upsert queries), still allow
fetching to occur without error, i.e. treat it the same way as
an empty result set.

This normalizes behavior between native and emulated prepared
statements and addresses a regression in PHP 7.4.13.
NEWS
ext/pdo_mysql/mysql_statement.c
ext/pdo_mysql/tests/bug80458.phpt [new file with mode: 0644]