Opened 9 years ago

Closed 9 years ago

#3822 closed (fixed) does not quote index names

Reported by: Robin Breathe <robin@…> Owned by: adrian
Component: Core (Management commands) Version: master
Severity: Keywords: sqlindexes
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


If you're model's column names require quoting, the chances are high that the auto-generated index names will also require quoting (this bit me with a column named "user@realm").

Without this patch, sqlindexes (and the other functions which implicitly call may generate invalid output.

Attachments (1)

quote_index.diff (766 bytes) - added by Robin Breathe <robin@…> 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Robin Breathe <robin@…>


comment:1 Changed 9 years ago by Simon G. <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [4835]) Fixed #3822 -- Changed get_indexes_for_model() in to quote index names. Thanks, Robin Breathe

Note: See TracTickets for help on using tickets.
Back to Top