Opened 12 years ago

Closed 12 years ago

#7532 closed (fixed)

limit_offset_sql DatabaseOperations method deprecated?

Reported by: Ramiro Morales Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords: db-be-api limit offset limit_offset_sql
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Seems that since qs-rf landing other means are now employed to handle LIMIT/OFFSET SQL query components construction and limit_offset_sql() isn't used anymore from anywhere in the Django source tree.

Attached is a patch (against r7732) that drops it.

See also #7319

Attachments (1)

no_limit_offset_sql_r7732.diff (2.7 KB) - added by Ramiro Morales 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by Ramiro Morales

comment:1 Changed 12 years ago by Ramiro Morales

Component: UncategorizedDatabase wrapper

comment:2 Changed 12 years ago by Bastian Kleineidam <calvin@…>

Yep, limit_offset_sql() is dead code.

comment:3 Changed 12 years ago by Ramiro Morales

Keywords: db-be-api added

comment:4 Changed 12 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [7852]) Fixed #7532 -- Removed some dead code from the db backends. Thanks, Ramiro.

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