[CONPY-29] Support pyformat and format paramstyle Created: 2019-11-13 Updated: 2021-02-15 Resolved: 2019-11-14 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | DBAPI 2.0 |
| Affects Version/s: | 0.9.52, 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 |
|
Currently only paramstyle 'qmark' is supported. This makes it hard to migrate application which use the pyformat style (which is default in MySQLDB and MySQL Connector/C). Suggestion: Additionally support the following paramstyles: 1. format
2. pyformat
mixing paramstyles shouldn't be allowed and should result in a parsing error. |