Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
3.0.2
-
None
Description
when executing batch, packet with parameter can be too long to fit in one mysql packet/ reaching max_allowed_packet.
Driver by default use a 4M maximum length if option maxAllowedPacket is not set.
When splitting, if last bunch of parameter size is > 256, then 4 bytes are skipped creating wrong data / server error.