Changeset 7283
- Timestamp:
- 03/18/08 01:15:29 (6 months ago)
- Files:
-
- django/branches/queryset-refactor/django/db/backends/__init__.py (modified) (1 diff)
- django/branches/queryset-refactor/django/db/backends/mysql/base.py (modified) (1 diff)
- django/branches/queryset-refactor/django/db/backends/mysql_old/base.py (modified) (1 diff)
- django/branches/queryset-refactor/django/db/models/sql/query.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/queryset-refactor/django/db/backends/__init__.py
r7147 r7283 51 51 uses_case_insensitive_names = False 52 52 uses_custom_queryset = False 53 empty_fetchmany_value = [] 53 54 54 55 class BaseDatabaseOperations(object): django/branches/queryset-refactor/django/db/backends/mysql/base.py
r7147 r7283 62 62 autoindexes_primary_keys = False 63 63 inline_fk_references = False 64 empty_fetchmany_value = () 64 65 65 66 class DatabaseOperations(BaseDatabaseOperations): django/branches/queryset-refactor/django/db/backends/mysql_old/base.py
r7147 r7283 67 67 autoindexes_primary_keys = False 68 68 inline_fk_references = False 69 empty_fetchmany_value = () 69 70 70 71 class DatabaseOperations(BaseDatabaseOperations): django/branches/queryset-refactor/django/db/models/sql/query.py
r7282 r7283 1331 1331 return cursor.fetchone() 1332 1332 # The MULTI case. 1333 return iter((lambda: cursor.fetchmany(GET_ITERATOR_CHUNK_SIZE)), []) 1333 return iter((lambda: cursor.fetchmany(GET_ITERATOR_CHUNK_SIZE)), 1334 self.connection.features.empty_fetchmany_value) 1334 1335 1335 1336 def get_order_dir(field, default='ASC'):
