[CONJS-150] SQL Error 1210 in batch update Created: 2020-11-06 Updated: 2021-02-16 Resolved: 2021-02-16 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | batch |
| Affects Version/s: | 2.5.1 |
| Fix Version/s: | 2.5.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jean-Francois Brazeau | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Docker, NodeJS |
||
| Description |
|
I have a simple table :
I perform a simple update using batch mode with only two parameters, the first containing an item with a variable length (given by dataLength variable):
The update works fine with almost every dataLength values, except several discret ones :
The problem also occurs with : 131053, 131055, 1048557, 1048559 & 16777194 bytes A ready to use testcase is avaliable here : https://gitlab.com/jean-francois.brazeau/mariadb-batch-failure/-/tree/simplifiedversion |