[CONJS-231] BULK command when reaching maximum packet is wrongly split Created: 2022-11-16 Updated: 2023-02-02 Resolved: 2022-11-16 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | batch |
| Affects Version/s: | 3.0.2 |
| Fix Version/s: | 3.1.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
when executing batch, packet with parameter can be too long to fit in one mysql packet/ reaching max_allowed_packet. When splitting, if last bunch of parameter size is > 256, then 4 bytes are skipped creating wrong data / server error. |