Closed dvilaverde closed 4 months ago
Some more context in case it helps. I notice that setting net_buffer_length
on the server causes the above test case to pass, for example:
set global net_buffer_length=32768;
then resetting it lot the original value will revert to the previous failing behavior.
set global net_buffer_length=16384;
Thanks for the bugreport. I'll try to reproduce this.
I've created a PR that seems to fix this in my fork: https://github.com/go-mysql-org/go-mysql/pull/863
When compression is enabled on the client my application fails with
connection was bad
, the nested exception is:But when disabling compression the application works correctly.
Repro Steps
Start MariaDB in Docker:
Create the DB and table found in the attached file
db_schema.txt
Run this test: