[CONPY-194] executemany does not work with returning clause Created: 2022-02-19 Updated: 2022-07-07 Resolved: 2022-02-20 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | DBAPI 2.0 |
| Affects Version/s: | 1.0.10 |
| Fix Version/s: | 1.0.11, 1.1.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Luciano Barcaro | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Python Version: | 3.9.9 |
| Description |
|
executemany accepts returning clause in query, but it does not return any resultset. execute with many values, works as expected.
|
| Comments |
| Comment by Luciano Barcaro [ 2022-02-21 ] | ||
|
Hi Georg, I'll looking your code and I saw a slightly different implementation between 1.0 and 1.1 series. 1.0 the inner if is
And 1.1 is
is this a typo error or the logic is inverted? | ||
| Comment by Georg Richter [ 2022-02-22 ] | ||
|
Hi Luciano, 1.1 is different, major parts were rewritten and lot code was moved from C to Python - so this is correct. |