Opened 8 years ago

Closed 8 years ago

#7058 closed (fixed)

regressiontests.queries test case uses invalid sql for oracle

Reported by: Ian Kelly Owned by: nobody
Component: Testing framework Version: queryset-refactor
Severity: Keywords: qs-rf
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Oracle doesn't like boolean expressions in select lists, so the extra sql in this test case has to be fudged with a CASE expression to make it work.

Attachments (1)

test_case_sql.diff (656 bytes) - added by Ian Kelly 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Ian Kelly

Attachment: test_case_sql.diff added

comment:1 Changed 8 years ago by Malcolm Tredinnick

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [7440]) queryset-refactor: Made on of the tests use more portable SQL to help Oracle.
Patch from Ian Kelly. Fixed #7058.

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