[CONPY-27] Add support for prepared cursor Created: 2019-11-11 Updated: 2021-02-15 Resolved: 2019-11-13 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Generic |
| Affects Version/s: | 0.9.1 |
| Fix Version/s: | 0.9.52 |
| Type: | Task | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Add support for prepared cursors:
When executing a SQL statement via cursor.execute() the first time, the sql statement will be parsed, prepared and executed. Subsequent calls to cursor.execute()`will irgnore the statement string, since it was already prepared but executing it again using the values specified in 2nd parameter of execute(). Example:
|