Modify ↓
Ticket #382 (closed defect: fixed)
sqlite table recreation: not enough quoting
| Reported by: | alex@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7 |
| Component: | commands | Version: | 0.7-pre |
| Keywords: | Cc: |
Description
If you model has a field with a reversed name, copying data from the temporary table into the new table fails, because the field names are not quoted.
Attachments
Change History
comment:1 Changed 3 years ago by anonymous
ok, somehow, _again_, I managed to mess up my hg checkout. ignore this.
comment:2 Changed 3 years ago by Alexander Clausen <alex@…>
actually, the bug is still valid (the patch is not). in _copy_data, the field names in q_fields (and in field_renames!) are not quoted.
Changed 3 years ago by Alexander Clausen <alex@…>
- Attachment south-sqlite-quote-field-names-2.patch added
comment:3 Changed 3 years ago by andrew
- Status changed from new to closed
- Resolution set to fixed
- Milestone set to 0.7
Thanks for that; committed in [fb7089894e4d].
Note: See
TracTickets for help on using
tickets.
