[CONPY-151] Multiple statements in a single execute call Created: 2021-04-12 Updated: 2021-04-12 Resolved: 2021-04-12 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | DBAPI 2.0 |
| Affects Version/s: | 1.0.6 |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Luciano Barcaro | Assignee: | Georg Richter |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
How can I execute a sql script with mariadb connector? (create a trigger for example , with delimiter and ; inside trigger body) https://mariadb-corporation.github.io/mariadb-connector-python/connection.html https://mariadb-corporation.github.io/mariadb-connector-python/cursor.html describes nextset() method (So, I assume multiple statements is possible). A simple crsr.execute('delimiter $$') also returns error. |
| Comments |
| Comment by Georg Richter [ 2021-04-12 ] | |||||||||||||
therefore it can't be supported in MariaDB Connector/Python
|