Changes between Initial Version and Version 1 of Ticket #32231, comment 2
- Timestamp:
- Nov 28, 2020, 9:35:50 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32231, comment 2
initial v1 6 6 > `cursor.execute("SELECT foo FROM bar WHERE baz = '30%%' AND id = %s", [self.id])` 7 7 8 So it seems that it was meant to work the way described above when no tparameters are provided but it was never tested to do so and might have regressed at some point?8 So it seems that it was meant to work the way described above when no parameters are provided but it was never tested to do so and might have regressed at some point? 9 9 10 10 We should determine for how long the implementation has diverged from the documentation to take an informed decision here as some users might have simply worked around this limitation by always doubling percentage signs even no parameters are provided over the years. If we were to simply switch back to the documented way of doing things we could silently break queries of the form