[MDEV-29218] PS + array binding does not work with triggers Created: 2022-07-30 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.4.26, 10.6.9, 10.8.4, 10.11 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Luciano Barcaro | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
Hi Georg, whassup? I found another bug related to executemany. (Does not affect execute with explicit values) If my table has any trigger, only one row is inserted. But, the trigger is called n times (n rows passed) with the same data.
This snippet returns this:
|
| Comments |
| Comment by Georg Richter [ 2022-07-31 ] | ||||||
|
Moved from CONPY-219. Test case (in C) attached: While text protocol works ok, binary protocol fails. Output:
| ||||||
| Comment by Sergei Golubchik [ 2022-08-01 ] | ||||||
|
What server versions are affected? | ||||||
| Comment by Georg Richter [ 2022-08-01 ] | ||||||
|
I reproduced it with 10.4 and 10.8 - other versions not tested yet. | ||||||
| Comment by Luciano Barcaro [ 2022-08-24 ] | ||||||
|
Any news about this bug? |