Django

Code

Ticket #7058 (closed: fixed)

Opened 8 months ago

Last modified 8 months ago

regressiontests.queries test case uses invalid sql for oracle

Reported by: ikelly Assigned to: nobody
Milestone: Component: Testing framework
Version: queryset-refactor Keywords: qs-rf
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

test_case_sql.diff (0.6 kB) - added by ikelly on 04/21/08 18:21:05.

Change History

04/21/08 18:21:05 changed by ikelly

  • attachment test_case_sql.diff added.

04/22/08 12:34:08 changed by mtredinnick

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

04/22/08 13:10:13 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #7058 (regressiontests.queries test case uses invalid sql for oracle)




Change Properties
Action