summaryrefslogtreecommitdiff
path: root/django/db/backends/__init__.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-06 14:26:37 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-06 14:26:37 +0000
commit6048389391f61aedf00b168d2d3ccf7a0d55d039 (patch)
tree9a5e94ac5b7a55f69ca1718523654f1a16ba44b2 /django/db/backends/__init__.py
parent5deb4fcbb9be89f0a1fb8056c379bb4339aa5f43 (diff)
Fixed #7532 -- Removed some dead code from the db backends. Thanks, Ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/__init__.py')
-rw-r--r--django/db/backends/__init__.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 36a2339638..c5a0eb71fa 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -161,16 +161,6 @@ class BaseDatabaseOperations(object):
"""
return cursor.lastrowid
- def limit_offset_sql(self, limit, offset=None):
- """
- Returns a LIMIT/OFFSET SQL clause, given a limit and optional offset.
- """
- # 'LIMIT 40 OFFSET 20'
- sql = "LIMIT %s" % limit
- if offset and offset != 0:
- sql += " OFFSET %s" % offset
- return sql
-
def lookup_cast(self, lookup_type):
"""
Returns the string to use in a query when performing lookups