Code

Opened 6 years ago

Closed 6 years ago

#7058 closed (fixed)

regressiontests.queries test case uses invalid sql for oracle

Reported by: ikelly 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 ikelly 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by ikelly

comment:1 Changed 6 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by mtredinnick

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

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.