golistic / pxmysql

Go MySQL driver using X Protocol
MIT License
14 stars 0 forks source link

Incorrectly returning ClientNetPacketTooLarge when writing #28

Closed geertjanvdk closed 1 year ago

geertjanvdk commented 1 year ago

When trying to write to the MySQL server, and EPIPE is reported, we return always ClientNetPacketTooLarge (see xmysql/messages.go write function). We should not retry and report a better way.