Modify ↓
Ticket #43 (closed defect: fixed)
Column renames in mysql don't handle default value types correctly
| Reported by: | muffinresearchlabs@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | databaseapi | Version: | 0.6-pre |
| Keywords: | mysql | Cc: |
Description
An example of this issue is that renaming a column doesn't quote strings at all causing the following syntax error:
_mysql_exceptions.ProgrammingError?: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rst' at line 1")
This seems to be partly because of how the query is composed it doesn't allow the db api to carry out it's own handling of values.
I've written a patch to make use of the db parameterization for the default value.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

patch for mysql parameterization