Opened 17 years ago

Closed 17 years ago

#7058 closed (fixed)

regressiontests.queries test case uses invalid sql for oracle

Reported by: Erin 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: no UI/UX: no

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 Erin Kelly 17 years ago.

Download all attachments as: .zip

Change History (3)

by Erin Kelly, 17 years ago

Attachment: test_case_sql.diff added

comment:1 by Malcolm Tredinnick, 17 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Malcolm Tredinnick, 17 years ago

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