1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Files
archived-php-src/ext/mysqlnd
Nikita Popov 24a19cc232 Suppress stream errors in mysqlnd
mysqlnd currently sets error_reporting=0 to suppress errors while
writing to streams. Unfortunately these errors are still visible
to userland error handlers, which is a source of confusion.
See for example https://bugs.php.net/bug.php?id=80412.

Instead add a stream flag that suppresses the emission of
read/write errors in the first place, and set it in mysqlnd.

I think it might be useful to have this option for userland as
well in the future, but for now this is just an internal
mechanism.

Closes GH-6458.
2020-11-30 15:06:28 +01:00
..
2020-05-15 09:13:22 +02:00
2019-12-27 17:31:27 +01:00
2020-04-14 10:37:37 +02:00
2020-09-01 12:25:38 +02:00
2020-09-14 12:03:07 +02:00
2019-12-27 17:31:27 +01:00
2019-12-27 17:31:27 +01:00
2020-06-07 10:36:50 +02:00