[CONJS-151] bulk batch error (parameter truncation) Created: 2020-11-10  Updated: 2020-11-10  Resolved: 2020-11-10

Status: Closed
Project: MariaDB Connector/node.js
Component/s: batch
Affects Version/s: None
Fix Version/s: 2.5.2

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/137

Bulk batch might result in error "Incorrect arguments to mysqld_stmt_bulk_execute"

Issue is cause by growing internal buffer (16384, 131072, 1048576,16777219) for parameter length, not taking in account length encoded length.


Generated at Thu Feb 08 03:23:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.