From ecd9c42f9e54b53ea6917b2a28ae9e5a2c89c2fe Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 16 Sep 2020 16:18:29 +0200 Subject: Fix bug #80107: Handling of large compressed packets There's two layers of packet splitting going on. First, packets need to be split into having a payload of exactly 2^24-1 bytes or being the last packet. If the split packet has size between 2^24-5 and 2^24-1 bytes, the compressed packets also needs to be split, though the choice of split doesn't matter here. I'm splitting off the first 8192 bytes, as that's what I observe libmysqlclient to be doing. --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 9d3d53aca1..fe2bae3803 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ PHP NEWS - MySQLnd: . Fixed bug #80115 (mysqlnd.debug doesn't recognize absolute paths with slashes). (cmb) + . Fixed bug #80107 (mysqli_query() fails for ~16 MB long query when + compression is enabled). (Nikita) - OPcache: . Fixed bug #80083 (Optimizer pass 6 removes variables used for ibm_db2 data -- cgit v1.2.1