mirror of
https://github.com/django/django.git
synced 2025-04-22 00:04:43 +00:00
[1.7.x] Fixed test failures due to refs #20420.
cfcca7ccce3dc527d16757ff6dc978e50c4a2e61 renamed connection.queries to queries_log and this wasn't backported to stable/1.7.x.
This commit is contained in:
parent
910b37e356
commit
84714dfed7
@ -694,7 +694,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
|
||||
# logging is enabled to keep query counts consistent with other backends.
|
||||
def _savepoint_commit(self, sid):
|
||||
if self.queries_logged:
|
||||
self.queries_log.append({
|
||||
self.queries.append({
|
||||
'sql': '-- RELEASE SAVEPOINT %s (faked)' % self.ops.quote_name(sid),
|
||||
'time': '0.000',
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user