~ubuntuone-pqm-team/django/stable

« back to all changes in this revision

Viewing changes to django/db/backends/oracle/compiler.py

  • Committer: Natalia
  • Date: 2016-05-03 13:51:18 UTC
  • Revision ID: natalia.bidart@ubuntu.com-20160503135118-5yv5ywnfpqv6onnc
- Imported Django 1.9.6 from released tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
        If 'with_limits' is False, any limit/offset information is not
13
13
        included in the query.
14
14
        """
15
 
        if with_limits and self.query.low_mark == self.query.high_mark:
16
 
            return '', ()
17
 
 
18
15
        # The `do_offset` flag indicates whether we need to construct
19
16
        # the SQL needed to use limit/offset with Oracle.
20
17
        do_offset = with_limits and (self.query.high_mark is not None