Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.5.0
-
Component/s: batch
-
Labels:None
Description
see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/135
When option `maxAllowedPacket` is set, and using batch, an error might be thrown : RangeError [ERR_INVALID_OPT_VALUE]: The value "XXX" is invalid for option "size"
During packet rewrite split, when reaching maxAllowedPacket side, split is incorrectly done.