Ticket #10205: subqueries.py.diff
File subqueries.py.diff, 569 bytes (added by , 16 years ago) |
---|
-
django/db/models/sql/subqueries.py
117 117 tables, but their rowcounts are not returned). 118 118 """ 119 119 cursor = super(UpdateQuery, self).execute_sql(result_type) 120 rows = cursor.rowcount120 rows = getattr(cursor, 'rowcount', 0) 121 121 del cursor 122 122 for query in self.get_related_updates(): 123 123 query.execute_sql(result_type)